Carrots, green beans, and zucchini are among the vegetables that can be offered to many dogs and cats as occasional treats. Serve them plain, in small pieces suited to your pet, and check with your veterinarian first if your pet has a medical condition or eats a special diet.
Not every vegetable is safe. Onions, garlic, chives, and leeks can damage red blood cells in dogs and cats, even when cooked or powdered. If your pet eats one, contact your veterinarian promptly rather than waiting for symptoms.
This guide covers dogs and cats only. Other pets, including rabbits and birds, have different dietary needs and may react differently to foods.
Which vegetables can dogs and cats eat?
The following are examples of vegetables that may be offered as occasional treats. They should be plain, without salt, butter, oil, sauces, or seasonings. Choose pieces your pet can manage comfortably and supervise them while eating.
| Vegetable | For dogs | For cats |
|---|---|---|
| Carrot | Raw or cooked; cut into manageable pieces | Plain carrot, preferably softened and cut into small pieces |
| Green beans | Plain raw or cooked beans; if canned, choose no added salt | Plain, cooked without salt and cut into small pieces |
| Zucchini | Plain, raw or cooked, in small pieces | Plain zucchini in small pieces |
These are optional snacks, not necessary additions to a complete diet. Introduce a new food in a small amount, and stop offering it if it causes digestive upset. A food that is generally suitable may still be inappropriate for an individual pet.
A dog or cat doesn’t have to like vegetables. If your pet turns up their nose, there’s no need to persuade them.
What about pumpkin?
Plain pumpkin, not pumpkin pie filling, can be an occasional food for some pets. But don’t assume it will treat diarrhea or constipation, and don’t use a one-size-fits-all dose. Ask your veterinarian before using pumpkin to manage digestive symptoms, particularly if your pet is unwell or the problem persists.

How to prepare vegetables for your pet
A few simple habits make sharing easier and reduce avoidable risks:
- Keep them plain. Skip onion or garlic, seasoning blends, salt, butter, oil, and sauces.
- Wash fresh produce. Prepare it as you would food for yourself.
- Consider size and texture. Cut food into pieces appropriate for your pet; soften firm vegetables if needed. No cutting method eliminates every choking risk.
- Introduce one food at a time. This makes it easier to notice if a particular food causes upset.
- Check packaged foods. Broths, baby foods, and cooked vegetable mixtures can contain onion or garlic powder.
Raw carrots are not a substitute for dental care. Ask your veterinary team about a dental routine appropriate for your pet.
Never offer a dog corn on the cob.
Plain corn kernels removed from the cob can be an occasional treat for many dogs, but the cob can cause choking or an intestinal obstruction. Contact your veterinarian promptly if your dog swallows one.
How much is too much?
A common guideline is for all treats, snacks, and people foods combined to provide no more than 10% of a pet’s total daily calories. The rest should generally come from a complete-and-balanced diet appropriate for the animal’s life stage. The 10% is a ceiling for the whole treat budget, not an additional allowance just for vegetables.
Your veterinarian may recommend a smaller allowance or different foods for your pet. This is especially important for a pet on a weight-management or therapeutic diet, or one with a medical condition.
Cats are obligate carnivores and need a diet formulated for their particular nutritional requirements. Vegetables do not replace complete cat food. Learn more in our guide to essential nutrients for cats.

Foods and plants to keep away from dogs and cats
Onions, garlic, chives and leeks
These members of the allium family can cause gastrointestinal irritation and damage red blood cells, potentially leading to anemia. Cats are particularly susceptible, but dogs are also at risk. Raw, cooked, dried, and powdered forms are concerns.
Keep seasoned leftovers, soup mixes, broths, and other foods containing alliums out of reach. If you know or suspect your pet ate one, call your veterinarian promptly even if your pet seems fine.
Wild mushrooms
Some wild mushrooms are highly toxic, and they can be difficult to identify. If your pet eats a wild mushroom, contact your veterinarian or an animal poison service immediately; don’t wait for signs of illness.
Other plant and food hazards
Avoid letting pets chew tomato or potato plants or eat unripe tomatoes. Also keep rhubarb leaves away from pets. If exposure occurs, ask your veterinarian for advice rather than trying to assign a severity level yourself.
Vegetable dishes can contain other hazardous ingredients too. For example, grapes and raisins can cause kidney damage in dogs, and xylitol can be dangerous to pets. When in doubt, don’t share a prepared dish until you’ve checked every ingredient.
What to do if your pet eats something potentially toxic
- Prevent further access to the food or plant, if you can do so safely.
- Contact your veterinarian or an animal poison service promptly. Don’t wait for symptoms to appear.
- Be ready to describe your pet’s species and approximate weight, what was eaten, how much, and when. Keep the packaging or a sample if available for identification.
- Do not induce vomiting unless a veterinary professional specifically instructs you to do so.
If your pet has difficulty breathing, collapses, has seizures, or appears severely ill, seek emergency veterinary care immediately.
In the United States, the ASPCA Animal Poison Control Center can be reached at (888) 426-4435; a consultation fee may apply. If you’re elsewhere, contact your local veterinarian or an animal poison service available in your country.
Frequently asked questions
Can dogs eat raw carrots?
Many dogs can have plain raw carrots as an occasional treat. Cut them into pieces appropriate for your dog’s size and supervise eating. If a carrot is too hard or difficult for your dog to manage, ask your veterinarian about a softer preparation.
Do cats need vegetables?
No separate vegetable treat is required when a cat eats an appropriate complete-and-balanced diet. Some cats enjoy a little plain zucchini or cooked green bean, but others won’t be interested.
Are cooked onions safe?
No. Cooking does not make onions safe for dogs or cats. Onion powder is also a concern, so check ingredients before sharing cooked food.
Can vegetables replace part of my pet’s regular meals?
Vegetables used as treats should not replace a substantial part of a complete-and-balanced diet. If you want to change your pet’s meals or prepare food at home, ask your veterinarian for a plan suited to your pet.








