A simple vanilla cake gives you a tender crumb, sweet vanilla flavor, and a light golden crust. This beginner‑friendly method uses basic pantry staples and produces consistent results every time.
Serves 12 · Prep 20 min · Cook 30 min · Total 1 hr 10 min
Ingredients
- 2 cups (250 g) all‑purpose flour
- 1 ½ cups (300 g) granulated sugar
- 1 cup (240 ml) unsalted butter, softened
- 4 large eggs, at room temperature
- 1 cup (240 ml) whole milk, at room temperature
- 2 tsp (10 ml) pure vanilla extract
- 2 ½ tsp (12 g) baking powder
- ½ tsp (2.5 g) fine sea salt
Instructions
- Preheat the oven to 350°F (177°C). Position the rack in the middle of the oven.
- Grease two 9‑inch (23 cm) round cake pans with butter, then dust with flour, tapping out excess. For extra release, line the bottoms with parchment paper.
- In a large bowl, whisk together flour, baking powder, and salt. Set aside.
- Using a handheld mixer or stand‑mixer fitted with the paddle attachment, beat the softened butter and sugar on medium speed for 3–4 minutes, until the mixture is pale, fluffy, and has increased in volume.
- Add the eggs one at a time, beating well after each addition. Scrape the sides of the bowl to incorporate any stray butter.
- Stir in the vanilla extract.
- With the mixer on low, add the dry flour mixture in two additions, alternating with the milk. Begin and end with the flour. Mix each addition just until incorporated; the batter should be smooth and slightly thick.
- Divide the batter evenly between the prepared pans, smoothing the tops with a spatula.
- Place the pans on the middle rack and bake for 28–32 minutes, or until the edges are set, the tops are lightly golden, and a toothpick inserted into the center comes out clean. The USDA FSIS safe minimum temperature for egg‑based baked goods is 160°F (71°C); a quick thermometer check should show at least this temperature.
- Allow the cakes to rest in the pans for 10 minutes, then run a thin knife around the edges, invert onto a cooling rack, and cool completely, about 20 minutes, before frosting or serving.
Pick the Right Tools and Swap Ingredients
Using the proper equipment removes guesswork and helps the batter develop the right texture.
- Mixing device: A stand mixer gives consistent speed and reduces effort, but a hand mixer works equally well. If you only have a whisk, be prepared to mix a little longer to fully incorporate the butter and sugar. \n
- Pans: Two 9‑inch (23 cm) round metal cake pans produce even layers. Glass or silicone pans can be used, but they may require an extra 2–3 minutes of baking time because they conduct heat differently.
- Measuring: Use a kitchen scale for flour (250 g) to avoid packing errors. If you rely on volume, spoon flour into the cup and level it off with a straight edge.
- Substitutions:
- Butter → ¾ cup (180 ml) vegetable oil. The cake will be slightly more moist and have a softer crumb, but the flavor will be less buttery.
- Whole milk → 1 cup (240 ml) almond milk or oat milk. Non‑dairy milks keep the texture similar; avoid flavored milks unless you want that flavor to appear in the cake.
- Granulated sugar → 1 ½ cups (300 g) coconut sugar. Expect a deeper caramel note and a slightly darker crust.
- All‑purpose flour → 2 cups (250 g) cake flour. Cake flour yields a finer crumb and a softer texture.
When the Cake Is Too Dry or Too Dense
Even with a straightforward recipe, a few common variables can throw off the final texture.
Dry Cake
Typical causes:
- Over‑baking – the oven’s temperature may run hotter than the dial indicates. Use an oven thermometer and remove the cake when the toothpick test is clean, even if the timer has not expired.
- Excess flour – packed flour adds weight. Weigh the flour or spoon‑and‑level to stay at 250 g.
- Insufficient moisture – using low‑fat milk or substituting oil for butter without adjusting the amount can dry the crumb.
Fixes:
- Reduce bake time by 2–3 minutes and check early.
- If the batter looks thick, add 1–2 tbsp (15–30 ml) milk before the final mix.
- Cover the cake loosely with foil during the last 5 minutes to retain surface moisture.
Dense or Gummy Crumb
Typical causes:
- Under‑mixing – flour not fully incorporated leaves pockets of dry batter.
- Too much liquid – adding extra milk beyond the recipe’s 1 cup can weigh the structure down.
- Cold ingredients – butter or eggs that are not at room temperature do not emulsify properly.
Fixes:
- Mix the batter just until smooth; avoid over‑mixing which can develop gluten and make the cake tough.
- Ensure butter is softened and eggs are at room temperature before beginning.
- If the batter feels runny, add 1‑2 tbsp (8–10 g) flour to restore balance.
Store the Cake Safely
Cool the cake completely before wrapping. For a plain cake, wrap each layer tightly in plastic wrap, then place in an airtight container.
- Refrigeration: Store for up to 4 days at 40°F (4°C). If the cake is frosted with a dairy‑based buttercream, keep it refrigerated the same way.
- Freezing: Wrap layers in foil, then in a freezer bag. The cake will keep for 2–3 months. Thaw overnight in the refrigerator, then bring to room temperature before serving.
- Do not leave the cake at room temperature for more than 2 hours; discard any portion that has been out longer.
When reheating a frosted slice, warm it in a 300°F (149°C) oven for 5–7 minutes, or microwave for 10‑second bursts until just warmed through. Heat to an internal temperature of 165°F (74°C) if the frosting contains perishable dairy.