Like other fruits, the avocado pit can get stuck in your dog’s intestine. The pit could also expose them to persin, a toxic substance that causes vomiting, diarrhea, and inflammation. Avocado leaves and skin also have small amounts of persin, but other parts of the avocado—like the delicious green bits inside—are less toxic to dogs.