Go Back
Three-layer vanilla birthday cake with chocolate buttercream, rainbow sprinkles, chocolate shavings, and lit candles on a mint cake stand.

Birthday Cake with Chocolate Buttercream

Three vanilla cake layers finished with chocolate buttercream and rainbow sprinkles.
Prep Time 45 minutes
Cook Time 30 minutes
2 hours 15 minutes
Total Time 3 hours 30 minutes
Servings: 8
Course: Dessert
Cuisine: American
Calories: 520

Ingredients
  

  • 2 3/4 cups all-purpose flour 345 g
  • 2 1/2 teaspoons baking powder
  • 1/2 teaspoon salt
  • 1 cup unsalted butter softened (226 g)
  • 2 cups granulated sugar 400 g
  • 4 large eggs room temperature
  • 2 teaspoons vanilla extract
  • 1 1/4 cups whole milk room temperature (300 ml)
  • 1 cup unsalted butter softened, for the chocolate buttercream (226 g)
  • 3 1/2 cups powdered sugar 420 g
  • 1/2 cup unsweetened cocoa powder 50 g
  • 6 ounces milk chocolate melted and cooled (170 g)
  • 1 large pasteurized egg yolk optional
  • 2 tablespoons heavy cream
  • 1 teaspoon vanilla extract
  • Pinch of salt
  • Rainbow sprinkles for decorating
  • Chocolate shavings optional

Equipment

  • 3 8-inch round cake pans Grease and line the bottoms
  • 3 Parchment rounds One for the bottom of each pan
  • 1 Stand Mixer or Hand Mixer Use the paddle attachment if available
  • 2 Mixing Bowls One for dry ingredients; one for batter or frosting
  • 1 Whisk, Combine the dry ingredients
  • 1 Flexible spatula Scrape the mixing bowl
  • 1 Kitchen scale (recommended) Weigh the flour and other gram-listed ingredients
  • 1 Wire cooling rack Cool the cake layers completely
  • 1 Offset spatula Spread buttercream
  • 1 Cake board or serving plate Support the stacked cake

Method
 

  1. 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.
  2. In a medium bowl, whisk together the flour, baking powder, and salt.
  3. In a mixer bowl, beat the softened butter and granulated sugar for 4 to 5 minutes, scraping the bowl once, until lighter and fluffy.
  4. Add the eggs one at a time, beating after each addition. Mix in the vanilla extract.
  5. 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.
  6. 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.
  7. 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.
  8. To make the buttercream, beat the softened butter until creamy. Add the powdered sugar and cocoa gradually on low speed.
  9. 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.
  10. 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.
  11. 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.

Notes

Yield: The recipe card is set to 8 generous servings. For smaller party portions, the three-layer cake can be cut into about 12–16 slices; slice size changes the actual yield. Egg-yolk safety: The optional yolk is not cooked after it is added to the buttercream. Use pasteurized egg yolk, or omit it. Cooling: Cool the cake layers for at least 2 hours before frosting. Allow extra time for the crumb coat to chill. Make-ahead: Unfrosted layers can be wrapped well and frozen for longer storage. Thaw them before assembling and frosting. Storage: Keep the finished cake covered and refrigerated between servings, especially if the optional egg yolk is used. Do not leave perishable food at room temperature for more than 2 hours, or 1 hour above 90°F (32°C). Refrigerate leftovers promptly and use within 3–4 days. Times and cost: Prep time (45 minutes), cook time (30 minutes), resting time (2 hours 15 minutes), and total time (3 hours 30 minutes) are estimates and need a timed kitchen check. Estimated Cost is set to 3 per site convention and has not been independently priced.