Most people who search “how to make food cake” actually want a simple homemade cake, and the easiest place to start is a classic vanilla layer cake. This method works for a 9-inch round layer cake or a 9×13-inch sheet cake, and it uses basic pantry ingredients. If you need a chocolate cake, swap 1/2 cup (50 g) of the flour for 1/2 cup (50 g) of unsweetened cocoa powder and increase the milk to 1 cup (240 ml).
Before You Start: What to Have Ready
Measure all ingredients before you begin, and set them out so they come to room temperature (about 30 minutes). Cold butter and eggs don’t cream as well, which makes the cake denser. You’ll need two 9-inch round pans or one 9×13-inch pan, a hand or stand mixer, and a food thermometer if you’re checking doneness.
- 2 cups (250 g) all-purpose flour, plus more for pans
- 1 1/2 cups (300 g) granulated sugar
- 1/2 cup (113 g) unsalted butter, softened
- 1/2 cup (120 ml) vegetable oil
- 3 large eggs, room temperature
- 1 cup (240 ml) buttermilk, room temperature (or 1 cup milk + 1 tbsp lemon juice, let sit 5 minutes)
- 1 1/2 tsp baking powder
- 1/2 tsp baking soda
- 1 tsp salt
- 2 tsp vanilla extract
How to Mix the Batter Without Overmixing
The key to a tender cake is mixing just until the flour disappears; overmixing develops gluten and makes it tough. Start by creaming the butter and sugar until light and fluffy, about 2-3 minutes, then add the oil, eggs, and vanilla. In a separate bowl, whisk the dry ingredients together, then add them to the wet mixture in three additions, alternating with the buttermilk, beginning and ending with the dry ingredients. Mix on low speed after each addition, and stop as soon as the batter is smooth.
How to Bake the Cake Layers
- Preheat the oven to 350°F (175°C). Grease two 9-inch round pans with butter or nonstick spray, then dust with flour and tap out the excess.
- Divide the batter evenly between the pans (about 3 cups each).
- Bake for 25-30 minutes, until the top springs back when lightly pressed and a toothpick inserted in the center comes out clean or with a few moist crumbs.
- Cool in the pans on a wire rack for 10 minutes, then run a knife around the edges and turn the cakes out onto the rack to cool completely, about 1 hour.
How to Tell the Cake Is Done
The most reliable test is a toothpick or thin skewer inserted into the center: it should come out clean or with a few moist crumbs, not wet batter. The cake should also pull away slightly from the pan edges, and the top should spring back when you press it gently with a finger. If you use an instant-read thermometer, the center should read about 200-210°F (93-99°C) for a fully baked cake.
What to Do If the Cake Sinks in the Middle
A sunken center usually means the oven was too cool, the batter was overmixed, or the cake was underbaked. Check your oven temperature with an oven thermometer; many ovens run 25°F (14°C) off. Next time, make sure your baking powder and baking soda are fresh (test by dropping a little in hot water; it should bubble), and don’t open the oven door during the first 20 minutes of baking. If a cake sinks anyway, you can level it by slicing off the sunken part and using the rest for a trifle or cake pops.
How to Frost and Assemble the Cake
Wait until the layers are completely cool; warm cake will melt the frosting and slide. Place one layer on a cake plate, spread about 1 cup of frosting on top, then add the second layer. Frost the sides first, then the top, using a spatula for a smooth finish. For a 9×13-inch sheet cake, you can frost it directly in the pan and skip the layering. A simple buttercream frosting works well: beat 1 cup (226 g) softened butter, 4 cups (480 g) powdered sugar, 2 tbsp milk, and 1 tsp vanilla until fluffy.
How to Store and Freeze the Cake
Frosted cake stays fresh at room temperature for up to 3 days if covered with a cake dome or inverted bowl. Refrigerate it if your kitchen is warm (above 70°F/21°C) or if the frosting contains cream cheese or whipped cream; bring to room temperature before serving. To freeze, wrap unfrosted layers tightly in plastic wrap and then foil; they’ll keep for up to 3 months. Thaw in the fridge overnight, then bring to room temperature before frosting.
Worked Example: A Single 9×13 Sheet Cake
If you don’t want layers, pour the same batter into a greased 9×13-inch pan and bake at 350°F (175°C) for 30-35 minutes, until a toothpick comes out clean. This makes about 12 servings. For a smaller 8-inch round, use half the recipe and bake for 22-26 minutes.
When You Don’t Have Buttermilk
Buttermilk adds tang and helps the cake rise. To make a quick substitute, add 1 tablespoon (15 ml) of lemon juice or white vinegar to 1 cup (240 ml) of milk and let it sit for 5 minutes until it curdles slightly. This works in any recipe that calls for buttermilk, but the cake will be slightly less tender than with real buttermilk.
Can I Use a Cake Mix Instead?
Yes, a boxed mix is a fine shortcut. Follow the package directions, but replace the water with milk and the oil with melted butter for a richer flavor. Bake according to the package time, and check for doneness with the toothpick test. The result will be close to scratch-made, but it won’t have the same homemade crumb.
Related
- Why Is It Called Street Corn?
- How to Plant Lily of the Valley
- How to Make Cotton Candy Without Sugar
Spotted a mistake? Tell us and we will correct it. How we write and check articles.