Go Back
Two-layer homemade birthday cake with chocolate buttercream and rainbow sprinkles on a white cake stand at a kids' party

Easy Birthday Cake From Scratch That Stays Moist for Days

A soft vanilla butter cake with two 9-inch layers and fudgy chocolate buttercream. It stacks cleanly and stays moist for two days.
Prep Time 30 minutes
Cook Time 30 minutes
Cooling & Decorating Time 1 hour 35 minutes
Total Time 2 hours 35 minutes
Servings: 16
Course: Dessert
Cuisine: American
Calories: 590

Ingredients
  

For the Vanilla Butter Cake:
  • 2 3/4 cups 330 g King Arthur all-purpose flour
  • 2 1/2 teaspoons baking powder
  • 1/2 teaspoon fine salt
  • 1 cup 226 g unsalted butter, softened
  • 1 1/2 cups 300 g granulated sugar
  • 4 large eggs room temperature
  • 1 tablespoon alcohol-free vanilla extract
  • 1 cup 240 ml whole milk, room temperature
  • 1 tablespoon 14 g unsalted butter, for greasing the pans
For the Chocolate Buttercream:
  • 1 1/2 cups 340 g unsalted butter, softened
  • 4 cups 480 g powdered sugar, sifted
  • 3/4 cup 64 g Hershey's Special Dark cocoa powder, sifted
  • 1/3 cup 80 ml heavy cream
  • 2 teaspoons alcohol-free vanilla extract
  • 1/4 teaspoon fine salt
For Decorating:
  • 1/3 cup 50 g rainbow sprinkles, gelatin-free

Equipment

  • Two 9-inch round cake pans, 2 inches deep
  • Parchment paper
  • electric mixer
  • Kitchen scale
  • Wire cooling rack
  • Offset spatula

Method
 

  1. Set out the butter, eggs, and milk 1 hour ahead. Heat the oven to 350°F, grease the sides of two 9-inch pans with the 1 tablespoon butter, press a parchment circle into each bottom, and sift the powdered sugar and cocoa together.
  2. Whisk the flour, baking powder, and 1/2 teaspoon salt for 30 seconds, until no pockets of baking powder remain.
  3. Beat 1 cup butter and the granulated sugar on medium speed for 4 minutes, until pale yellow and like whipped frosting.
  4. Beat in the eggs one at a time, 30 seconds each, then the vanilla, until the batter is glossy with no yolk streaks. Scrape the bowl after the third egg.
  5. On low speed, add the flour mixture in three parts and the milk in two, starting and ending with flour. Stop as soon as the last flour streak disappears, when the batter is thick and falls in a slow ribbon.
  6. Spoon about 665 g (23 1/2 ounces) of batter into each pan on the scale and smooth the tops, until level with no large bubbles.
  7. Bake at 350°F for 28 to 32 minutes, keeping the door closed until minute 22, until the tops are golden, spring back when touched, and a toothpick shows a few moist crumbs. Leave 2 inches between the pans and the oven walls.
  8. Cool in the pans for 10 minutes, run a knife around the edges, flip onto the rack, and peel off the parchment. Cool for 1 hour, until the bottoms feel cool to your palm.
  9. While the layers cool, beat 1 1/2 cups butter for 3 minutes, then add the sifted sugar and cocoa in three batches on low speed. Beat in the cream, 2 teaspoons vanilla, and 1/4 teaspoon salt for 2 minutes, until smooth, dark brown, and holding a soft peak.
  10. Trim any dome with a serrated knife, spread 1 cup of frosting on one layer, and top with the second layer, flat side up, until the stack looks level from the side.
  11. Coat the top and sides with a thin crumb coat (about 1 cup of frosting), then chill for 15 minutes, until firm and no longer sticky to a fingertip.
  12. Frost with the remaining buttercream, smooth the sides with the offset spatula, and press on the sprinkles, until the frosting looks glossy and even.

Notes

  1. Weigh the flour. A scooped cup can run 20 g heavy and dry out the layers.
  2. Choose sprinkles with no gelatin and no alcohol-based flavoring.
  3. Storage: keep covered at room temperature up to 2 days, refrigerate up to 4 days, or freeze up to 2 months.