By Emily Carter Category Dessert Recipes Published Oct 21, 2026

Dog Cake Recipe: Safe Peanut Butter Banana Birthday Cake for Dogs

A small homemade dog birthday cake with yogurt peanut butter frosting, banana slices and blueberries

This dog cake recipe bakes a real celebration cake that is genuinely safe for dogs: a soft peanut butter and banana sponge made with whole ingredients, frosted with a simple yogurt and peanut butter frosting, and decorated with fruit instead of sugary toppings. It is the birthday (or gotcha-day) cake that lets your dog have a slice of the party – without any of the ingredients that make human cake dangerous for them.

Safety comes first in this recipe, and it is not a footnote. One common ingredient in “sugar-free” peanut butter – xylitol – is extremely toxic to dogs, so read the safety section before you shop, and check every label. With that done, the cake itself is easy: one bowl, dog-safe pantry staples, and about 30 minutes in the oven.

On this pageTable of contentsH1 · H2 · H3 heading structure30 headingsOpenClose

Read This First: Dog-Safe Baking Rules

  • XYLITOL IS POISON TO DOGS. Some peanut butters (especially “sugar-free” or “natural no-sugar” brands) contain xylitol, also listed as birch sugar or E967. Even small amounts can be life-threatening to dogs. Check the label of your peanut butter every single time, and if it contains xylitol, do not use it – choose a plain peanut butter whose ingredients are just peanuts (and maybe salt).
  • Never use: chocolate or cocoa in any form, grapes or raisins, macadamia nuts, nutmeg, onion or garlic, coffee, alcohol, or anything sweetened with xylitol. Human frosting, fondant, and sprinkles are out too – too much sugar and sometimes xylitol.
  • Keep it a treat. This cake is for celebrations, not meals. Serve a small slice sized to your dog (a thin slice for small dogs, a modest one for large dogs), and count it as part of the day’s treats. Dogs new to rich food should get a small piece first.
  • Know your dog. If your dog has allergies (wheat, egg, and dairy are the common ones), diabetes, pancreatitis, or is on a vet-prescribed diet, check with your vet before baking, and use the substitution notes below.

Why This Dog Cake Recipe Works

  • Every ingredient is a known dog-safe staple. Banana, unsweetened applesauce, plain pumpkin, egg, carrot, and plain flour – nothing exotic, nothing risky.
  • No added sugar at all. The banana, applesauce, and pumpkin bring all the sweetness a dog needs (dogs taste sweetness far less than we do – the peanut butter aroma is the real attraction).
  • Moist without being rich. Fruit and vegetable purees keep the crumb soft for days without butter or oil, which keeps the cake gentler on stomachs.
  • A frosting that is actually good for them. Plain Greek yogurt and peanut butter whip into a tangy, spreadable frosting with protein and probiotics instead of sugar.
Dog cake ingredients with peanut butter, banana, pumpkin puree, applesauce and grated carrot

Ingredients You’ll Need

For the Cake

  • 1 1/2 cups (190 g) whole wheat flour (or all-purpose, or oat flour – see notes)
  • 1 teaspoon baking powder
  • 1 ripe banana, mashed (about 1/2 cup)
  • 1/2 cup (120 g) unsweetened applesauce
  • 1/2 cup (120 g) plain pumpkin puree (100% pumpkin – NOT pumpkin pie filling)
  • 1/4 cup (65 g) natural peanut butter, xylitol-free (check the label)
  • 1 large egg
  • 1/2 cup (60 g) finely grated carrot
  • 2 to 4 tablespoons water, as needed

For the Yogurt Frosting

  • 1 cup (245 g) plain Greek yogurt, unsweetened and xylitol-free (the thicker, the better)
  • 2 tablespoons natural peanut butter, xylitol-free
  • To decorate (all dog-safe): banana slices, blueberries, finely grated carrot, or your dog’s favorite small treats

Ingredient Notes That Matter

Flour: Whole wheat adds fiber and holds together well. Dogs with wheat sensitivity do better with oat flour (blend rolled oats into a fine flour) – the texture is slightly denser, the cake still works. Plain all-purpose is fine for most dogs.

Pumpkin: It must be plain canned pumpkin (ingredients: pumpkin, nothing else). Pumpkin PIE filling contains sugar and spices including nutmeg, which dogs should not have. Plain pumpkin is also famously gentle on dog digestion.

Peanut butter: Plain, with peanuts as the only ingredient (a little salt is acceptable). Beyond the xylitol danger, avoid very salty or sweetened spreads – and when in doubt, buy the jar that says just “peanuts.”

Yogurt: Plain and unsweetened only; flavored yogurts carry sugar and sometimes xylitol. If your yogurt is runny, strain it through a cloth for 30 minutes so the frosting spreads instead of sliding.

Equipment You’ll Need

  • Two 6-inch round cake pans (or one 8-inch round)
  • Parchment paper
  • Mixing bowls and a whisk/spatula
  • Grater (for the carrot)
  • Wire cooling rack

How to Make the Dog Cake, Step by Step

Step 1: Prep the Pans and Oven

Heat the oven to 350°F (175°C). Grease the pans lightly and line the bottoms with parchment. This cake is moist; the parchment guarantees a clean release.

Step 2: Mix the Dry Ingredients

Whisk the flour and baking powder together in a large bowl so the leavening is evenly spread – a dog cake has no frosting sugar rush to hide a lumpy bite of baking powder.

Step 3: Mix the Wet Ingredients

In a second bowl, whisk the mashed banana, applesauce, pumpkin puree, peanut butter, and egg until smooth and uniform.

Step 4: Combine

Pour the wet mixture into the dry and stir just until combined, folding in the grated carrot at the end. The batter should be thick but scoopable; if it feels stiff, stir in water a tablespoon at a time. Do not overmix – a few small lumps are fine.

Step 5: Bake

Divide the batter between the two pans (or scrape it all into the single pan) and smooth the tops. Bake two 6-inch layers for 22 to 28 minutes, or one 8-inch layer for 28 to 33 minutes, until the top springs back when pressed and a toothpick in the center comes out clean.

Step 6: Cool Completely

Cool in the pans for 10 minutes, then turn out onto a rack and cool completely – at least 45 minutes. Yogurt frosting on a warm cake slides straight off, and nobody wants that photo.

Step 7: Frost and Decorate

Stir the yogurt and peanut butter together until smooth and spreadable. If you baked two layers, spread a third of the frosting between them, then frost the top and sides with the rest. Decorate with banana slices, blueberries, grated carrot, or a border of small dog treats. Refrigerate until the party.

Dog Cake Recipe

Recipe by Emily Carter
0.0 from 0 votes

A celebration cake that is genuinely safe for dogs: peanut butter banana sponge with a yogurt peanut butter frosting and fruit decorations. No added sugar, and a clear xylitol warning before you shop.

Cuisine: AmericanDifficulty: Easy
Servings

8 small slices (dog portions)

servings
Prep time

15

minutes
Cooking time

30

minutes
Calorieskcal
Total time

1

hour 

15

minutes

Ingredients

  • For the Cake
  • 1 1/2 cups (190 g) whole wheat flour

  • 1 teaspoon baking powder

  • 1 ripe banana, mashed

  • 1/2 cup (120 g) unsweetened applesauce

  • 1/2 cup (120 g) plain pumpkin puree (not pie filling)

  • 1/4 cup (65 g) xylitol-free natural peanut butter

  • 1 large egg

  • 1/2 cup (60 g) finely grated carrot

  • 2 to 4 tablespoons water, as needed

  • For the Yogurt Frosting
  • 1 cup (245 g) plain Greek yogurt, unsweetened

  • 2 tablespoons xylitol-free peanut butter

  • Dog-safe decorations: banana slices, blueberries, grated carrot, or small dog treats

Directions

  • Heat the oven to 350°F (175°C); grease and parchment-line two 6-inch round pans (or one 8-inch).Dog cake ingredients with peanut butter, banana, pumpkin puree, applesauce and grated carrot
  • Whisk the flour and baking powder in a large bowl.
  • Whisk the banana, applesauce, pumpkin, peanut butter and egg until smooth.
  • Stir wet into dry just until combined; fold in the carrot and add water a spoonful at a time if stiff.
  • Divide between the pans and bake 22 to 28 minutes (28 to 33 for one 8-inch) until a toothpick comes out clean.
  • Cool 10 minutes in the pans, then completely on a rack, at least 45 minutes.
  • Stir the yogurt and peanut butter into a frosting; layer, frost and decorate. Refrigerate until serving.Spreading yogurt peanut butter frosting over a small homemade dog cake

Notes

  • SAFETY: peanut butter must be xylitol-free – xylitol (birch sugar) is extremely toxic to dogs. Use plain pumpkin, never pumpkin pie filling. Serve small slices as an occasional treat; refrigerate the frosted cake and use within 3 to 4 days.
Spreading yogurt peanut butter frosting over a small homemade dog cake

Serving and Portion Guide

  • Small dogs (under 10 lb / 4.5 kg): a thin slice, roughly 1 inch wide – this cake is richer than their usual food.
  • Medium dogs (10 to 35 lb / 4.5 to 16 kg): a modest slice.
  • Large dogs (over 35 lb / 16 kg): a full slice is fine for a celebration day.
  • Serve it as the day’s main treat and skip other treats that day. First-timers get a small piece to start; wait and watch for any tummy upset before offering more. Always have fresh water available – peanut butter is thirsty work.

Storage and Freezing

  • Refrigerator: Because of the yogurt frosting, the finished cake keeps in the fridge for 3 to 4 days, covered. Bring a slice to room temperature for 15 minutes before serving for the best texture.
  • Freezing: Unfrosted layers freeze beautifully for up to 2 months, wrapped well. Thaw in the fridge overnight, then frost fresh. Frosted slices also freeze for up to 1 month; the yogurt frosting softens a little on thawing but dogs do not mind at all.
  • Do not leave it out: A frosted cake should not sit at room temperature for more than about 2 hours (party time is fine; overnight is not).

Frequently Asked Questions

Can dogs really eat cake?

A dog-specific cake like this one, yes – as an occasional celebration treat. Human cake is a different story: it is loaded with sugar and often contains chocolate, xylitol-sweetened ingredients, or rich frostings that can make dogs seriously ill. That is exactly why a purpose-built dog cake recipe matters.

Is peanut butter safe for dogs?

Plain peanut butter, yes – most dogs love it and it is a good source of protein and healthy fats. The critical exception is peanut butter sweetened with xylitol (birch sugar), which is extremely toxic to dogs even in small amounts. Read the ingredient label every time you buy a jar, and keep any xylitol products well away from your dog entirely.

Can I use regular all-purpose flour?

Yes. Whole wheat, all-purpose, and oat flour all work in this recipe. Oat flour is the kindest choice for wheat-sensitive dogs; the cake will be a touch denser. Avoid “grain-free” baking mixes unless your vet has advised a grain-free diet.

How much dog cake can my dog eat?

Use the portion guide above: a thin slice for small dogs up to a full slice for large dogs, as a once-in-a-while celebration treat rather than an everyday food. Treats of all kinds should stay a small part of a dog’s overall diet, and new foods should always start small.

How long does a homemade dog cake keep?

Frosted, 3 to 4 days in the refrigerator. Unfrosted layers freeze for up to 2 months, which makes this a great make-ahead party cake: bake on the weekend, frost on the day.

Can humans eat this cake too?

It is made of ordinary human food ingredients, so it is perfectly safe for people – but with zero added sugar and a yogurt frosting, most humans find it bland. Bake the family their own cake instead; the dog will happily supervise both.

Final Thoughts

A dog birthday cake is fifteen minutes of mixing for a photo you will keep forever – just remember that the love is in the label-checking: xylitol-free peanut butter, plain pumpkin, unsweetened yogurt. For the human side of the party table, our carrot cake recipe shares this cake’s carrot-y soul in a much sweeter form, and a batch of our pound cake recipe keeps the two-legged guests happy. For more on which human foods are safe for dogs, the American Kennel Club keeps an excellent, vet-reviewed reference.

Emily Carter
Meet the author

Emily Carter

Author Bio:
Emily Carter is a food and recipe writer focused on approachable, everyday home cooking. She researches trusted recipe sources, tests practical cooking methods, and explains ingredients and techniques in clear, simple language. Her work helps readers understand why a recipe works, how to avoid common mistakes, and how to cook confidently at home.