Time 30-45 min · Serves 8 · The key step center-tested doneness. Baking a cake requires precise oven timing and temperature to ensure even rise and safe internal temperature. Overbaking dries it out; underbaking leaves it gummy.
Ingredients
- 2 cups (250 g) all-purpose flour
- 1½ cups (300 g) granulated sugar
- 3½ tsp (17 g) baking powder
- ½ tsp (3 g) salt
- ½ cup (113 g) unsalted butter, softened
- 2 large eggs
- 1 cup (240 ml) whole milk
- 2 tsp (10 ml) vanilla extract
Instructions
- Preheat oven to 350°F (175°C). Grease and flour a 9-inch (23 cm) round cake pan or line with parchment.
- In a large bowl, sift together flour, sugar, baking powder, and salt.
- Add butter, eggs, milk, and vanilla. Beat with an electric mixer on medium speed for 2 minutes.
- Pour batter into the prepared pan, spreading evenly.
- Place cake in center of oven rack. Bake at 350°F (175°C) for 30 to 35 minutes.
- Check doneness at 30 minutes: insert a toothpick into the center. If it comes out clean with no wet batter, the cake is done.
- If the toothpick shows moist crumbs, continue baking and check every 2-3 minutes.
- Remove cake from oven when the top springs back lightly when touched and the edges pull slightly from the pan.
- Cool in pan for 10 minutes, then invert onto a wire rack to cool completely.
Storage
Refrigerate within 2 hours of baking. Store in an airtight container at room temperature for up to 2 days, or refrigerated for up to 5 days. For longer storage, wrap tightly in plastic and aluminum foil, then freeze for up to 3 months. Thaw at room temperature for 2 hours before serving.
What Goes Wrong
Overbaking causes dry, crumbly texture and loss of moisture. This occurs when the cake remains in the oven past the recommended time or when the oven runs hot. Use an oven thermometer to verify actual temperature.
Underbaking results in a gummy, dense center that collapses when cooled. This happens if the cake is removed too early or if the oven temperature is too low. Always test with a toothpick and ensure it comes out clean.
Uneven rising leads to lopsided or sunken cakes. Causes include opening the oven door too early, overmixing the batter, or using cold ingredients. Mix only until combined and avoid opening the oven during the first 25 minutes.
Serving and Pairing
Serve this cake at room temperature, plain or with a dusting of powdered sugar. Pairs well with fresh berries, whipped cream, or a scoop of vanilla ice cream. Ideal for afternoon tea, birthday celebrations, or dessert after a weeknight meal. Avoid serving warm, as residual heat can mask texture flaws.
Swaps and Substitutions
For a dairy-free version, use plant-based butter and almond milk. Texture may be slightly less tender. Replace all-purpose flour with gluten-free 1:1 baking flour blend; expect a slightly denser crumb. Use brown sugar for a deeper flavor, but note it may darken the crumb and increase moisture.
Checking Baking Progress
Insert a toothpick or skewer into the center of the cake. If it comes out clean with no wet batter, the cake is fully baked. For larger cakes (e-quart or bundt), test in multiple locations. A food thermometer inserted into the center should read at least 200°F (93°C), indicating full starch gelatinization and safe baking completion.
Oven Placement
Place cake in the center of the middle rack. This ensures even heat circulation and prevents bottom burning or top scorching. Rotate the pan 180 degrees halfway through baking if your oven has hot spots. Use light-colored metal pans for even browning; dark pans may require reducing temperature by 25°F (14°C).
Scaling the Recipe
For two 9-inch (23 cm) layers, double all ingredients and bake in two pans side by side. Check for doneness at 30 minutes. For a 13×9-inch (33×23 cm) pan, increase baking time to 40-45 minutes. In a bundt pan, bake 45-55 minutes. Always verify doneness with a toothpick.
Cooling and Removal
Cool the cake in the pan for 10 minutes to set structure. Run a knife around the edge before inverting. Removing too early causes collapse; leaving too long traps steam, making the bottom soggy. For layer cakes, level the top with a serrated knife once fully cooled.
High-Altitude Adjustments
At elevations above 3,000 feet (914 m), reduce baking powder by 1/8 tsp per tsp called for, increase oven temperature by 15-25°F (8-14°C), and decrease sugar by 1 tbsp per cup. Batter may rise faster and fall if over-leavened.
Common Pan Sizes
| Pan Size | Temperature | Time |
|---|---|---|
| 9-inch round (23 cm) | 350°F (175°C) | 30-35 min |
| 8-inch round (20 cm) | 350°F (175°C) | 35-40 min |
| 13×9-inch (33×23 cm) | 350°F (175°C) | 40-45 min |
| Bundt (10-cup) | 325°F (163°C) | 45-55 min |
What to Do If the Cake Sinks
A sunken cake usually results from underbaking, opening the oven too early, or overmixing. If it sinks slightly, level the top and frost. If severely sunken, repurpose as cake trifle or crumble for parfaits. Never serve underbaked cake due to raw flour and egg risk.
Raw Flour and Egg Safety
This recipe uses raw eggs and raw flour. To reduce risk of Salmonella and E. coli, use pasteurized eggs and heat-treat flour to 160°F (71°C) before use if consuming batter or underbaked portions. Pregnant people, young children, older adults, and immune-compromised individuals should avoid raw or undercooked batter.
Related
- How to Make Cake in Oven: Simple Steps
- How Much Cake Mix to Put in a Mini Loaf Pan
- Is It OK to Put Potatoes in the Fridge?
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).