Dinners

Cake with Cream Filling: Vanilla Layer Cake

Updated · By Stir & Share

Total timeincludes chilling, rising or resting
1 hr 45 min
Prep
30 min
hands-on
Cook
30 min
oven or stovetop
Serves
12
as written

Jump to recipe Save

Time: 1 hr 45 min · Serves: 12 · The key step: Chill the filled cake before slicing for clean layers. This is a classic vanilla layer cake with a silky, lightly sweet cream filling, perfect for birthdays, potlucks, or a weekend dessert. The cake is tender and moist, the filling is rich and stable, and the whole thing comes together with simple ingredients.

Ingredients

  • 2 1/2 cups (300 g) cake flour (or all-purpose flour, see swap below)
  • 2 tsp baking powder
  • 1/2 tsp baking soda
  • 1/2 tsp salt
  • 1 cup (226 g) unsalted butter, softened
  • 1 3/4 cups (350 g) granulated sugar
  • 4 large eggs, room temperature
  • 1 tbsp vanilla extract
  • 1 cup (240 ml) buttermilk, room temperature
  • For the cream filling: 1 cup (240 ml) heavy cream
  • 1/4 cup (30 g) powdered sugar
  • 1 tsp vanilla extract
  • 1/2 cup (120 g) mascarpone cheese (or cream cheese, softened, see swap)

Instructions

  1. Preheat oven to 350°F (175°C). Grease and flour two 9-inch (23 cm) round cake pans, or line with parchment paper.
  2. In a medium bowl, whisk together flour, baking powder, baking soda, and salt. Set aside.
  3. In a large bowl, beat butter and sugar with an electric mixer on medium speed until light and fluffy, about 3 minutes. Add eggs one at a time, beating well after each. Beat in vanilla extract.
  4. With mixer on low, add flour mixture in three additions, alternating with buttermilk, beginning and ending with flour. Mix just until combined; do not overmix.
  5. Divide batter evenly between prepared pans. Bake for 25–30 minutes, until a toothpick inserted in center comes out clean. Cool in pans for 10 minutes, then turn out onto wire racks to cool completely.
  6. Make the filling: In a chilled bowl, beat heavy cream, powdered sugar, and vanilla until soft peaks form. Add mascarpone and beat on low just until combined and stiff peaks form. Do not overbeat or it will curdle.
  7. Assemble: Place one cake layer on a serving plate. Spread about 1 cup of filling over the top. Place second layer on top. Spread remaining filling over the top and sides. Chill for at least 1 hour before slicing.
  8. Slice with a sharp knife, wiping the blade between cuts for clean layers.

Baking Tips and Swaps

Flour Swap

If you use all-purpose flour instead of cake flour, reduce the flour to 2 cups (250 g) and add 2 tbsp cornstarch. Cake flour gives a lighter crumb; all-purpose yields a slightly denser cake.

Mascarpone Swap

If you don’t have mascarpone, use 1/2 cup (113 g) softened cream cheese. Beat it with the sugar until smooth before adding cream. The filling will be slightly tangier and a bit firmer.

Buttermilk Substitute

To make a buttermilk substitute, add 1 tbsp lemon juice or white vinegar to 1 cup (240 ml) whole milk. Let stand for 5 minutes before using. This will still give a tender crumb.

Storage and Make-Ahead

Store the assembled cake in the refrigerator, covered, for up to 4 days. The filling contains dairy, so it must stay chilled. Let sit at room temperature for 15 minutes before serving to soften slightly. You can freeze the unfrosted cake layers, wrapped tightly in plastic wrap and foil, for up to 2 months. Thaw overnight in the refrigerator before filling. The filled cake can also be frozen for up to 1 month; thaw in the refrigerator overnight.

Common Mistakes and Fixes

Overmixing the Batter

If you beat the batter after adding flour, the gluten develops and makes a tough, dense cake. Mix just until the flour disappears, then stop.

Overbeating the Cream Filling

If you beat the cream and mascarpone too long, the mixture can turn grainy and separate. Stop as soon as stiff peaks form, and use cold cream and cold mascarpone.

Slicing Too Early

Slicing before the filling is chilled causes the layers to slide and the filling to squish out. Chill for at least 1 hour, or up to overnight, for clean slices.

Frequently Asked Questions

Can I make this as a sheet cake?

Yes. Pour the batter into a greased 9×13-inch (23×33 cm) pan and bake at 350°F (175°C) for 30–35 minutes, until a toothpick comes out clean. Spread the filling over the top and chill before slicing.

Can I use a store-bought cream filling?

Yes, but homemade tastes fresher and is less sweet. If using store-bought, choose a pastry cream or whipped cream filling, not frosting.

How do I keep the cake from sticking to the pan?

Grease the pans with butter or nonstick spray, then dust with flour. Or line the bottoms with parchment paper for guaranteed release.

Raw eggs and flour are not cooked in the filling. To reduce risk, use pasteurised eggs and heat-treated flour. Pregnant people, young children, older adults, and anyone with a weakened immune system should avoid raw eggs and raw flour.

Related

Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.

Spotted an error? Tell us and we will correct it (corrections policy).