Dog birthday cake recipe: safe ingredients and portion sizes
Published by Planète Pets · managing editor: Clément Lacaille · how our guides are written
A safe dog cake is made with a flour (whole wheat, rice or oat), eggs, dog-safe vegetables or fruit (carrot, cored apple, plain pumpkin, banana) and a frosting of strained plain yogurt or mashed sweet potato, with no sugar, no salt, no chocolate, no raisins and no sweetener. The slice should keep the day’s treats under 10% of your dog’s calories, as the WSAVA, the global association of companion animal vets, recommends. Below you will find a complete dog cake recipe with US and metric measures, the ingredients to ban with their sources, and the right slice size for your dog’s weight.
Contents · 6 sections
The recipe: carrot and apple dog cake with yogurt frosting
For a 6-inch (15 cm) round cake, 8 slices. Prep: 20 minutes, plus 2 hours to strain the yogurt. Bake: 30 to 35 minutes at 340 °F (170 °C).
- 1 cup (120 g) whole-wheat flour
- 1 cup (100 g) raw carrot, finely grated
- ¾ cup (100 g) apple, cored and seeded, grated
- 2 large eggs
- 2¼ tsp (10 g) olive oil
- ⅔ cup (150 g) plain unsweetened yogurt, with no sweetener
- 1¼ tbsp (10 g) cornstarch
- Strain the yogurt for 2 hours in the fridge, in a coffee filter set over a glass.
- Whisk the eggs with the oil, add the grated carrot and apple, then the flour.
- Pour into a 6-inch pan lined with parchment. Bake for 30 to 35 minutes at 340 °F (170 °C), until a knife in the centre comes out dry.
- Cool completely on a rack: frosting on a warm cake slides off.
- Mix the strained yogurt with the cornstarch, spread it on top and chill for 1 hour before serving.
Calories: about 862 kcal for the whole cake, or about 108 kcal per slice if you cut it into 8. We added up the calories of each ingredient from the USDA’s public FoodData Central database, then divided by the number of slices: redo the division if you cut it differently. A kitchen scale gives a more reliable result than cups, especially for flour.
No oven, or no time? Mash a ripe banana in a large mug, add an egg, a spoonful of flour and a teaspoon of peanuts-only peanut butter, stir and microwave for about 90 seconds. Let it cool completely before turning it out: the centre stays very hot for a long time.
The right slice for your dog’s weight
The WSAVA recommends keeping treats under 10% of a dog’s daily calories, and never letting them replace a meal. The table below starts from the energy needs of a healthy adult dog at ideal weight published by the WSAVA (low end of the range), applies the 10%, and divides by the 108 kcal of one slice of the cake above.
| Dog’s weight | Daily treat budget | Slice of the cake above |
|---|---|---|
| 11 lb (5 kg) | about 28 kcal | a quarter of a slice |
| 22 lb (10 kg) | about 47 kcal | under half a slice |
| 44 lb (20 kg) | about 79 kcal | a little under three quarters of a slice |
| 66 lb (30 kg) | about 108 kcal | one slice |
| 88 lb (40 kg) | about 134 kcal | one and a quarter slices |
These figures are guides: a neutered, laid-back dog often needs less, a very active dog more. On party day, take the equivalent off the food bowl, cut the cake into 16 or 24 pieces for a small dog, invite your dog’s friends, and freeze the leftover slices (up to 3 months). In the fridge, in a closed box, keep it for 3 days at most: that is the hygiene rule we apply to home-made leftovers, the USDA giving 3 to 4 days. If your dog is overweight, on a prescription diet or has a medical condition, ask your vet before offering cake.
Ingredients that never go into a dog cake
Several everyday baking ingredients are dangerous for dogs. The list below covers those the WSAVA classes as toxic in its treat factsheet (2025), with details from the ASPCA Animal Poison Control Center and the FDA. Our page on toxic foods for dogs covers the rest.
| Forbidden ingredient | Where it hides in a cake | What it does |
|---|---|---|
| Chocolate, cocoa, coffee | Batter, frosting, chips, decorations | Vomiting, hyperactivity, abnormal heart rhythm, seizures; cocoa powder and dark chocolate are the most dangerous |
| Xylitol (“birch sugar”) | Sugar-free products, some peanut butters | Low blood sugar within 10 to 60 minutes according to the FDA, possible liver damage |
| Grapes, raisins, currants, sultanas | Fruit cakes, muffins, fillings | Kidney damage |
| Macadamia nuts | Decorations, cookies | Hind-leg weakness, tremors, vomiting |
| Raw yeast dough, alcohol | Rising sweet dough, boozy desserts | Painful bloated stomach, alcohol produced in the stomach |
| Onion, garlic, leek, chives | Improvised “savoury” cakes made from leftovers | Damage to red blood cells, depending on the amount |
| Added sugar and salt | Human recipes, frostings, stock cubes | Pointless for dogs; excess salt causes thirst and stomach upset |
Two case series published in veterinary journals show these bans are not overcautious. In 2006, Dunayer and Gwaltney-Brant described in the Journal of the American Veterinary Medical Association eight dogs treated after eating xylitol: five had haemorrhages and severe liver damage was found; only two made a full recovery (see the study). In 2005, Eubig and colleagues reviewed in the Journal of Veterinary Internal Medicine 43 dogs reported to the ASPCA poison control center with kidney injury after eating grapes or raisins: all had vomited, and just over half (53%) survived (see the study). These are case series, not measures of how often it happens, but they are enough to keep these ingredients out of every recipe.
The most common trap is peanut butter, the star of dog treat recipes: the FDA lists “some peanut and nut butters” among products that may contain xylitol. Choose a jar whose only ingredient is peanuts. Our page on where xylitol hides has the full list. If your dog has eaten one of these ingredients, call your vet straight away or an animal poison helpline with the packaging in hand: in the US, the ASPCA Animal Poison Control Center, (888) 426-4435 (a consultation fee may apply); in the UK, Animal PoisonLine, 01202 509 000 (a fee applies).
Safe ingredients for the batter and the frosting
| Role | Options | Good to know |
|---|---|---|
| Flour | Whole wheat, rice, buckwheat, blended oats, chickpea | Rice, buckwheat or oat if your vet has asked you to avoid wheat |
| Binder | Eggs, always cooked | No tasting raw batter |
| Moisture and flavour | Carrot, cored apple and pear, banana, plain pumpkin, cooked sweet potato | Plain canned pumpkin, never pumpkin pie filling, which is sweetened and spiced |
| Savoury version | Cooked chicken or turkey, boneless salmon, cooked rice | No salt, no stock cube, no onion or garlic |
| Frosting | Strained plain yogurt, mashed sweet potato or pumpkin | Dairy can loosen stools: start small |
| Decoration | Blueberries, carrot coins, apple slices | No lit candles near the dog, no sugar or chocolate decorations |
Introduce any new ingredient on its own, in a small amount, a few days before the party: if your dog tries yogurt, banana and peanut butter all at once, you will not know which one caused loose stools. The most common culprits in canine food allergies are well documented: a 2016 review covering 297 dogs lists beef, dairy, chicken and wheat first (see the study). Diagnosing an allergy, however, is a job for your vet.
Getting the cake right: what matters
- A small pan: 6 inches is enough for 8 slices. A bigger pan gives a flat cake that takes longer to bake and is far too much for one dog.
- Cool before frosting, then chill: a cold cake cuts cleanly and the frosting holds.
- Serve in the bowl, slice already cut, rather than by hand in the middle of the guests: your dog eats at its own pace, and you know exactly what it ate.
- Brief your guests: no bite of the human cake “just to taste”, and no table scraps that day.
- Think summer: on a hot day, a frozen yogurt and berry cake, cut into small pieces, is served outdoors. It does not replace shade and fresh water.
For everyday rewards, our guides to dog training treats and the stuffable dog toy round out this once-a-year cake. To go further, our practical guide Homemade Dog Treats and Dog Cakes: 40 Recipes brings together 7 birthday cakes, biscuits, frozen treats and training rewards, with calories per piece and how many treats a day for your dog’s weight. More advice is in our dog food section.
Frequently asked questions
What kind of cake can a dog eat?
A cake made for dogs: flour, eggs, dog-safe vegetables or fruit, and a plain yogurt or sweet potato frosting, with no sugar, salt, chocolate, raisins or sweetener. Human cake, even a small slice, is not suitable.
Can dogs eat cake with frosting?
Not human frosting, which is mostly sugar and butter and may contain chocolate or xylitol. A frosting of strained plain unsweetened yogurt, or mashed sweet potato, suits most dogs in small amounts; the ASPCA notes, however, that dogs digest lactose poorly and diarrhoea is possible.
How long does a homemade dog cake keep?
In the fridge, in a closed box, 3 days at most; in the freezer, up to 3 months with each slice wrapped individually. Throw it away if it smells off or shows any mould.
Can I put peanut butter in a dog cake?
Yes, a little, as long as the label lists peanuts only: some peanut butters contain xylitol, which is very dangerous for dogs. It is also very high in calories: it adds flavour, it is not the base of the recipe.
My dog ate chocolate cake: what should I do?
Call your vet or an animal poison helpline straight away, with your dog’s weight, the type of chocolate and how much you think it ate. Do not make your dog vomit on your own. Our table on chocolate and dogs by body weight explains why the amount and type of chocolate matter.
This guide is part of Planète Pets’s Dogs universe. Our advice is general in nature: for any health concern, your veterinarian remains the only reference.
