Zimt

How to Bake a Cake: Step-by-Step Guide

· 5 min read · Cakes

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

Baking a cake from scratch is a rewarding skill that fills your kitchen with warmth and gives you a dessert far better than any box mix. This guide walks you through a classic vanilla butter cake—light, tender, and perfect for any occasion—from gathering ingredients to frosting the final layer. You don’t need any special equipment beyond a few basics, and the steps are simple enough for a first-time baker.

What You'll Need

  • Equipment: two 9-inch (23 cm) round cake pans, mixing bowls, electric mixer (hand or stand), measuring cups and spoons, rubber spatula, wire cooling rack, and a food thermometer (for checking doneness, optional).
  • Ingredients for the cake:
  • 2 1/2 cups (300 g) all-purpose flour
  • 2 1/2 tsp baking powder
  • 1/2 tsp salt
  • 1 cup (2 sticks, 226 g) unsalted butter, softened
  • 1 3/4 cups (350 g) granulated sugar
  • 4 large eggs, at room temperature
  • 1 tbsp vanilla extract
  • 1 cup (240 ml) whole milk, at room temperature
  • For the frosting (optional): 1 cup (2 sticks, 226 g) unsalted butter, softened; 4 cups (480 g) powdered sugar; 1/4 cup (60 ml) heavy cream; 2 tsp vanilla extract; pinch of salt.

Step-by-Step

  1. Preheat and prep the pans. Heat your oven to 350°F (175°C). Grease the bottom and sides of two 9-inch round pans with butter or nonstick spray, then dust with flour and tap out the excess. Alternatively, line the bottoms with parchment paper rounds.
  2. Mix dry ingredients. In a medium bowl, whisk together the flour, baking powder, and salt. Set aside.
  3. Cream the butter and sugar. In a large bowl, beat the softened butter and sugar with an electric mixer on medium-high speed until light and fluffy, about 3–4 minutes. Scrape down the sides as needed.
  4. Add eggs and vanilla. Beat in the eggs one at a time, mixing well after each addition. Add the vanilla and beat until combined.
  5. Alternate dry and wet ingredients. With the mixer on low, add the flour mixture in three additions, alternating with the milk in two additions, starting and ending with the flour. Mix just until no streaks of flour remain—do not overmix.
  6. Divide and bake. Pour the batter evenly into the prepared pans. Bake for 28–32 minutes, or until a toothpick inserted into the center comes out clean and the cake springs back when lightly touched. If you use a food thermometer, the center should read about 210°F (99°C).
  7. Cool the cakes. Let the cakes cool in the pans on a wire rack for 10 minutes. Then run a knife around the edges, invert onto the rack, and cool completely—about 1 hour—before frosting.
  8. Make the frosting (optional). In a large bowl, beat the softened butter until creamy. Gradually add the powdered sugar, then the cream, vanilla, and salt. Beat on medium-high for 2–3 minutes until light and fluffy.
  9. Assemble and frost. Place one cake layer on a serving plate. Spread about 1 cup of frosting on top. Place the second layer on top and frost the top and sides with the remaining frosting.
  10. Slice and serve. Use a serrated knife to cut clean slices. Store leftovers under a cake dome or in an airtight container at room temperature for up to 3 days.

Common Mistakes

  • Overmixing the batter: This develops gluten, making the cake tough and dense. Mix just until the flour disappears.
  • Cold ingredients: Butter, eggs, and milk that are too cold won’t cream or emulsify properly, leading to a curdled batter and a heavy cake. Bring them to room temperature first.
  • Opening the oven door too early: The cake can sink if you peek during the first 20 minutes of baking. Wait until the minimum time is up.
  • Using the wrong pan size: A pan that’s too small will overflow; too large will make a thin, dry cake. Stick to the recommended size.
  • Skipping the cooling step: Frosting a warm cake will melt the frosting and create a mess. Cool completely.

Tips

  • For a more tender crumb, use cake flour instead of all-purpose (use 2 3/4 cups / 330 g cake flour).
  • If your kitchen is hot, chill the frosting for 10 minutes before spreading to keep it firm.
  • To make a chocolate version, replace 1/2 cup (60 g) of the flour with 1/2 cup (50 g) unsweetened cocoa powder.
  • For even layers, weigh the batter in each pan using a kitchen scale.
  • If the cake domes, level it with a serrated knife before stacking.

Troubleshooting

  • Cake is dry: You may have baked it too long or overmeasured the flour. Next time, use the spoon-and-level method for flour and check doneness at the minimum time.
  • Cake sank in the middle: This often happens from underbaking or opening the oven door early. Ensure your oven is at the right temperature and avoid peeking.
  • Cake sticks to the pan: Let it cool for the full 10 minutes, then run a knife around the edge. If it still sticks, place the pan on a warm towel for a minute to loosen it.
  • Frosting is too runny: Add more powdered sugar, a tablespoon at a time, until it thickens. If it’s too thick, add a splash of cream.
  • Cake is too brown on top: Tent it loosely with aluminum foil during the last 10 minutes of baking.

Frequently Asked Questions

  1. Can I use salted butter instead of unsalted? Yes, but reduce the added salt in the recipe to 1/4 teaspoon to avoid a salty taste.
  2. Can I make this cake without an electric mixer? Yes, but you’ll need a whisk and some elbow grease. Cream the butter and sugar by hand until light and fluffy, which may take 5–6 minutes.
  3. How do I know the cake is done? Insert a toothpick into the center—if it comes out clean or with a few moist crumbs, it’s done. The edges will also pull away from the pan slightly.
  4. Can I freeze the cake? Yes. Wrap the cooled, unfrosted layers tightly in plastic wrap and freeze for up to 3 months. Thaw in the refrigerator overnight before frosting.
  5. Can I substitute milk with a non-dairy alternative? Yes, use unsweetened almond, soy, or oat milk in equal measure. The cake may be slightly less tender, but it will still work.
  6. Why did my cake stick to the pan? The pan may not have been greased thoroughly, or the cake was removed too early. Always cool for 10 minutes and run a knife around the edges.