Birthday Cake Recipe with Chocolate Buttercream Frosting
This birthday cake recipe makes one three-layer, 8-inch vanilla cake finished with chocolate buttercream and rainbow sprinkles. Use room-temperature ingredients, divide the batter evenly among the pans, and let the layers cool completely before frosting. The recipe card below holds the measured ingredient list and full method.
Why make this birthday cake
Vanilla cake layers and chocolate buttercream give this celebration cake a familiar flavor combination, while three layers make it easy to cut into party portions. The recipe is written for three 8-inch round pans; changing pan size will change the layer thickness and bake time.
For a separate step-by-step overview, see our how to make a birthday cake guide. For a gluten-free option, use our gluten-free birthday cake recipe.
Cake ratios at a glance
These percentages summarize the current published ingredient formula, using the flour weight as 100%. They are a reference only—not a tested pan-conversion chart.

| Cake ingredient | Approx. batch weight | Baker’s percentage |
|---|---|---|
| All-purpose flour | 345 g | 100% |
| Granulated sugar | 400 g | 116% |
| Unsalted butter | 226 g | 65% |
| Whole eggs, without shells | About 200 g | 58% |
| Whole milk | About 300 g | 87% |
Ingredients to know
- All-purpose flour, baking powder, and salt: Weigh the flour if possible. Whisk the dry ingredients together so the leavener is distributed evenly.
- Butter and sugar: Use softened—not melted—butter. Cream them until lighter and fluffy, scraping the bowl as needed.
- Eggs, milk, and vanilla: Room-temperature ingredients mix more smoothly into the batter. Add the eggs one at a time.
- Chocolate buttercream: The frosting is made with butter, powdered sugar, cocoa, melted milk chocolate, cream, vanilla, and salt. Let the melted chocolate cool before mixing it in.
- Optional egg yolk: The buttercream is not cooked after the yolk is added. Use pasteurized egg yolk, or leave it out.
- Sprinkles: Add them while the frosting is still soft so they stick to the cake.

How to make this birthday cake recipe
- Prepare the pans. Heat the oven to 350°F (175°C). Grease three 8-inch round pans, line the bottoms with parchment, and lightly grease the parchment.
- Whisk the dry ingredients. Combine the flour, baking powder, and salt in a medium bowl.
- Cream butter and sugar. Beat the softened butter and granulated sugar for 4–5 minutes, scraping the bowl once, until the mixture looks lighter and fluffy.
- Add eggs and vanilla. Beat in the eggs one at a time, then mix in the vanilla. Scrape the bowl so the ingredients combine evenly.
- Finish the batter. Add the dry mixture in three additions, alternating with the milk in two additions. Start and finish with the dry ingredients. Mix on low only until no dry streaks remain.
- Bake the layers. Divide the batter evenly among the pans. Bake for 25–30 minutes, until the tops spring back lightly and a toothpick inserted in the center comes out clean. Check each pan; ovens can bake unevenly.
- Cool completely. Let the cakes rest in their pans for 10 minutes, then turn them out onto racks. Cool for at least 2 hours before frosting; warm layers can soften the buttercream and shed crumbs.
- Make the chocolate buttercream. Beat the softened butter until creamy. Add the powdered sugar and cocoa gradually on low speed. Mix in the cooled melted chocolate, cream, vanilla, salt, and optional pasteurized egg yolk; beat until spreadable, scraping the bowl as needed. If you do not have pasteurized egg yolk, leave it out.
- Assemble and decorate. Level the layers if needed. Set the first layer on a cake board or serving plate and spread about ¾ cup frosting over it; repeat with the second layer. Add the third layer, apply a thin crumb coat, and chill for 15 minutes. Finish with the remaining frosting and add sprinkles while the frosting is still tacky.
Troubleshooting
| Problem | Likely cause | What to try |
|---|---|---|
| Dense cake | The batter was overmixed or the leavener is old | Mix the flour only until combined and check the baking powder date |
| Dry layers | They baked too long or the flour was overmeasured | Weigh the flour and begin checking near the early end of the bake window |
| Middle sinks | The cake may be underbaked, the oven door opened early, or the leavener is weak | Check doneness before removing the pans and avoid opening the door early |
| Soft buttercream | Butter or chocolate was warm, or too much cream was added | Cool the mixture briefly and add cream gradually |
| Layers slide | The layers were warm or the filling was too soft | Cool the layers completely and chill the crumb-coated cake before finishing |
| Crumbs show through | The crumb coat was too thick or not chilled | Apply a thin coat, chill it, then add the final layer of frosting |
Decorating and serving ideas

Rainbow sprinkles are an easy finish; chocolate shavings also work with the frosting. For another layered celebration dessert, try our Tuxedo Cake recipe. If you want a shortcut rather than this from-scratch method, see our French vanilla cake mix recipe.
Make-ahead and storage
Bake the layers ahead, cool them completely, then wrap them well. Freeze unfrosted layers for longer storage and thaw before assembling. Keep the finished cake covered and refrigerated between servings, especially if you use the optional egg yolk. Do not leave perishable food at room temperature for more than 2 hours, or 1 hour when the temperature is above 90°F (32°C). Refrigerate leftovers promptly and use within 3–4 days.

Frequently asked questions
How many servings does this birthday cake make?
The cake card is set to 8 generous servings. For smaller party portions, cut the three-layer cake into about 12–16 slices; the exact number depends on slice size.
Can I make this birthday cake recipe ahead?
Yes. Bake and cool the layers, then wrap them well. Thaw frozen layers before frosting. Make sure the layers are fully cool so they do not soften the buttercream.
Can I use a different pan size?
This method is written for three 8-inch round pans. A different pan changes the layer thickness and baking time, so test that size separately rather than relying on a direct time conversion.
Is the egg yolk in the frosting required?
No. It is optional. If you use it, choose pasteurized egg yolk because the frosting is not cooked after mixing.
Food-safety references

Birthday Cake with Chocolate Buttercream
Ingredients
Equipment
Method
- Heat the oven to 350°F (175°C). Grease three 8-inch round cake pans, line the bottoms with parchment, and lightly grease the parchment.
- In a medium bowl, whisk together the flour, baking powder, and salt.
- In a mixer bowl, beat the softened butter and granulated sugar for 4 to 5 minutes, scraping the bowl once, until lighter and fluffy.
- Add the eggs one at a time, beating after each addition. Mix in the vanilla extract.
- With the mixer on low, add the flour mixture in three additions, alternating with the milk in two additions. Begin and end with the flour mixture. Mix only until no dry streaks remain.
- Divide the batter evenly among the prepared pans. Bake for 25 to 30 minutes, until the tops spring back lightly and a toothpick inserted in the center comes out clean. Check each pan; ovens can bake unevenly.
- Let the cakes rest in their pans for 10 minutes, then turn them out onto wire racks. Cool for at least 2 hours before frosting.
- To make the buttercream, beat the softened butter until creamy. Add the powdered sugar and cocoa gradually on low speed.
- Add the cooled melted chocolate, heavy cream, vanilla, salt, and optional pasteurized egg yolk. Beat until spreadable, scraping the bowl as needed. If you do not have pasteurized egg yolk, omit it.
- Level the cake layers if needed. Set the first layer on a cake board or serving plate and spread about 3/4 cup frosting over it. Repeat with the second layer, then place the third layer on top.
- Spread a thin crumb coat over the cake and chill for 15 minutes. Add the remaining frosting, then decorate with rainbow sprinkles and optional chocolate shavings while the frosting is still tacky.






