My cart

Dog birthday cake recipe: safe ingredients and portion sizes

Dogs · Food ·

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.

Portrait of a golden retriever with an attentive gaze
Contents · 6 sections
  1. The recipe: carrot and apple dog cake with yogurt frosting
  2. The right slice for your dog’s weight
  3. Ingredients that never go into a dog cake
  4. Safe ingredients for the batter and the frosting
  5. Getting the cake right: what matters
  6. Frequently asked questions

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
  1. Strain the yogurt for 2 hours in the fridge, in a coffee filter set over a glass.
  2. Whisk the eggs with the oil, add the grated carrot and apple, then the flour.
  3. 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.
  4. Cool completely on a rack: frosting on a warm cake slides off.
  5. 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 weightDaily treat budgetSlice of the cake above
11 lb (5 kg)about 28 kcala quarter of a slice
22 lb (10 kg)about 47 kcalunder half a slice
44 lb (20 kg)about 79 kcala little under three quarters of a slice
66 lb (30 kg)about 108 kcalone slice
88 lb (40 kg)about 134 kcalone 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 ingredientWhere it hides in a cakeWhat it does
Chocolate, cocoa, coffeeBatter, frosting, chips, decorationsVomiting, hyperactivity, abnormal heart rhythm, seizures; cocoa powder and dark chocolate are the most dangerous
Xylitol (“birch sugar”)Sugar-free products, some peanut buttersLow blood sugar within 10 to 60 minutes according to the FDA, possible liver damage
Grapes, raisins, currants, sultanasFruit cakes, muffins, fillingsKidney damage
Macadamia nutsDecorations, cookiesHind-leg weakness, tremors, vomiting
Raw yeast dough, alcoholRising sweet dough, boozy dessertsPainful bloated stomach, alcohol produced in the stomach
Onion, garlic, leek, chivesImprovised “savoury” cakes made from leftoversDamage to red blood cells, depending on the amount
Added sugar and saltHuman recipes, frostings, stock cubesPointless 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).

Dog sitting on the back seat of a car
Dog sitting on the back seat of a car. Photo: Jernej Furman from Slovenia, CC BY 2.0

Safe ingredients for the batter and the frosting

RoleOptionsGood to know
FlourWhole wheat, rice, buckwheat, blended oats, chickpeaRice, buckwheat or oat if your vet has asked you to avoid wheat
BinderEggs, always cookedNo tasting raw batter
Moisture and flavourCarrot, cored apple and pear, banana, plain pumpkin, cooked sweet potatoPlain canned pumpkin, never pumpkin pie filling, which is sweetened and spiced
Savoury versionCooked chicken or turkey, boneless salmon, cooked riceNo salt, no stock cube, no onion or garlic
FrostingStrained plain yogurt, mashed sweet potato or pumpkinDairy can loosen stools: start small
DecorationBlueberries, carrot coins, apple slicesNo 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.

New

Homemade Dog Treats and Dog Cakes: 40 Recipes and the Rules for Giving Them — €14

The practical PDF guide to look after them well

  • 40 doable recipes in grams and US cups, with timings, yield, storage and calories per piece calculated from a public food database
  • How many biscuits a day for your dog’s weight, based on the WSAVA 10% rule
  • Sourced forbidden ingredients (including xylitol hidden in some peanut butters), and 7 birthday cakes with safe frostings

Get my guide — €14 See the contents, sample and guarantee

40-page printable PDF · instant download · 14-day money-back

Free guide: the 10 mistakes new owners make

New dog or cat owner? Our guide walks through the ten classic first-year mistakes — food bowl, vet, training, budget — so you avoid them from day one. Instant access after signing up.

No time to do it yourself? A professional can take care of it

Tell us what you need: with your consent, we pass your request on to partner professionals (three at most). It is free and without obligation.

How to choose a professional for your pet

Read next