The Feast

Home cooking recipes for everyday dinners and easy entertaining

Strawberry Vanilla Cake Recipe: Step-by-Step

· 5 min read · Baking and Desserts

This guide walks you through making a moist vanilla layer cake filled with fresh strawberry compote and topped with a light strawberry buttercream. You'll end up with a beautiful, bakery-style cake that serves 8–10 people. Before starting, make sure your butter, eggs, and milk are at room temperature (about 30 minutes out of the fridge) for the best texture.

What You'll Need

  • 2 ½ cups (315g) all-purpose flour
  • 2 ½ tsp baking powder
  • ½ tsp salt
  • ¾ cup (170g) unsalted butter, softened
  • 1 ¾ cups (350g) granulated sugar
  • 3 large eggs, room temperature
  • 1 tbsp vanilla extract
  • 1 cup (240ml) whole milk, room temperature
  • For the compote: 2 cups (300g) fresh strawberries, hulled and chopped, plus 3 tbsp sugar and 1 tbsp lemon juice
  • For the buttercream: 1 cup (225g) unsalted butter, softened, 4 cups (480g) powdered sugar, ¼ cup (60ml) strawberry puree (from fresh or frozen strawberries), 1 tsp vanilla extract, pinch of salt
  • Optional: extra strawberries for garnish

Step-by-Step

  1. Preheat and prep pans. Preheat your oven to 350°F (175°C). Grease two 9-inch round cake pans, line the bottoms with parchment paper, and lightly flour the sides.
  2. Make the strawberry compote. In a small saucepan, combine chopped strawberries, 3 tbsp sugar, and lemon juice. Cook over medium heat, stirring occasionally, until the strawberries release their juices and the mixture thickens slightly, about 8–10 minutes. Let cool completely.
  3. Mix dry ingredients. In a medium bowl, whisk together flour, baking powder, and salt.
  4. Cream butter and sugar. In a large bowl, beat the softened butter and granulated sugar with an electric mixer on medium-high speed until light and fluffy, about 3 minutes.
  5. Add eggs and vanilla. Beat in the eggs one at a time, scraping down the bowl after each addition. Mix in the vanilla extract.
  6. Alternate dry and wet. With the mixer on low, add the flour mixture in three parts, alternating with the milk in two parts, starting and ending with flour. Mix just until combined—do not overmix.
  7. Bake. Divide the batter evenly between the prepared pans. Bake for 25–30 minutes, or until a toothpick inserted into the center comes out clean. Let cool in the pans for 10 minutes, then turn out onto a wire rack to cool completely.
  8. Make the strawberry buttercream. In a large bowl, beat the softened butter until creamy. Gradually add powdered sugar, then beat in strawberry puree, vanilla, and salt. Beat on high for 2–3 minutes until light and fluffy. If too thick, add a teaspoon of milk; if too thin, add more powdered sugar.
  9. Assemble the cake. Place one cake layer on a serving plate. Spread a layer of buttercream, then spoon about ¾ of the compote over it (avoid the edges). Top with the second layer. Frost the top and sides with the remaining buttercream.
  10. Chill and serve. Refrigerate the cake for at least 30 minutes to set the frosting. Garnish with fresh strawberries before serving. Store leftovers in the refrigerator for up to 3 days.

Common Mistakes

  • Overmixing the batter: This develops gluten and makes the cake dense and tough. Mix only until no streaks of flour remain.
  • Cold ingredients: Cold butter doesn't cream properly, and cold milk can curdle the batter. Always bring them to room temperature first.
  • Skipping the parchment paper: The cake can stick to the pan even if greased. Parchment guarantees easy release.
  • Adding compote too warm: Warm compote will melt the buttercream and cause the layers to slide. Let it cool completely before using.

Tips

  • For a more intense strawberry flavor, freeze-dried strawberry powder (about 2 tbsp) can be added to the buttercream along with the puree.
  • If your kitchen is hot, chill the assembled cake for 15 minutes before frosting the sides to prevent sliding.
  • Use a serrated knife to level the cake tops if they domed during baking—this gives a flat, even stack.
  • To make strawberry puree, blend fresh or thawed frozen strawberries and strain out the seeds if desired.

Troubleshooting

  • Cake is dry: You likely overbaked it. Check at 25 minutes and remove as soon as the toothpick comes out clean. Next time, reduce baking time by 2–3 minutes.
  • Cake sticks to the pan: Run a knife around the edge before inverting. If it's still stuck, place the pan on a warm towel for a minute to loosen.
  • Buttercream is too runny: Your puree may have been too watery. Beat in more powdered sugar, 2 tbsp at a time, until it holds its shape.
  • Buttercream is lumpy: The butter wasn't soft enough. Beat longer, or if lumps persist, strain the frosting through a sieve.
  • Layers slide: The compote was too thick or warm. Make sure it's completely cool and spread it in a thin layer, leaving a 1-inch border.
  • Cake sinks in the middle: The oven door was opened too early, or the batter was underbaked. Avoid opening the oven during the first 20 minutes.

Frequently Asked Questions

Can I use frozen strawberries?

Yes, thaw them first and drain excess liquid. For the puree, use the thawed berries as is.

Can I make this cake gluten-free?

Yes, substitute the all-purpose flour with a 1:1 gluten-free baking flour blend. The texture may be slightly more crumbly.

How long does this cake last?

Stored in an airtight container in the refrigerator, it stays fresh for up to 3 days. Bring to room temperature before serving for best flavor.

Can I freeze this cake?

Yes, wrap unfrosted layers tightly in plastic wrap and freeze for up to 2 months. Thaw overnight in the fridge before assembling.

Can I use strawberry jam instead of compote?

Yes, but choose a high-quality jam with visible fruit. If it's too thick, warm it slightly to spread, then cool completely before using.

Why did my buttercream turn gray?

This happens when the butter is overbeaten and traps air, or if the puree is too dark. Beat just until fluffy, and use bright red strawberries for a pinker color.

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions