A vanilla cake made with oil stays moist for days longer than a butter-based version, because oil remains liquid at room temperature. The texture is softer and more even, with a fine crumb that slices cleanly without crumbling. This method skips the creaming step entirely, making it faster to mix by hand or with a mixer.
Ingredients for a Two-Layer 9-Inch Cake
This recipe yields two 9-inch rounds or one 9x13-inch sheet cake. Use room temperature ingredients for the best emulsion; cold eggs or milk can cause the batter to curdle.
- 3 cups (360g) all-purpose flour
- 1 cup (200g) granulated white sugar
- 1 cup (200g) light brown sugar, packed (adds moisture and depth)
- 1 tablespoon baking powder
- 1 teaspoon salt
- 4 large eggs, room temperature
- 1 cup (240ml) vegetable oil, canola oil, or sunflower oil
- 1 cup (240ml) whole milk or buttermilk, room temperature
- 2 teaspoons vanilla extract (or 1 tablespoon vanilla bean paste)
You can swap the whole milk for buttermilk for a slight tang and more tender crumb; if you do, the baking powder is sufficient, but add 1/4 teaspoon baking soda if you have it on hand. For a plain white cake, replace the brown sugar with a second cup of white sugar, though the crumb will be slightly drier.
Step-by-Step Mixing Method
This 'reverse creaming' method coats the flour in fat first, limiting gluten development for a tender bite.
- Preheat the oven to 350°F (175°C). Grease two 9-inch round pans with oil and dust with flour, or line the bottoms with parchment paper circles.
- In a large bowl, whisk together the flour, both sugars, baking powder, and salt until well combined and no lumps remain.
- Pour the oil into the dry ingredients. Mix on low speed or by hand with a spatula until the mixture looks like damp sand and no dry flour is visible. This step coats the flour proteins, preventing tough gluten strands from forming.
- In a separate medium bowl or large measuring jug, whisk the eggs, milk, and vanilla extract until smooth.
- Pour about half of the wet mixture into the flour-oil mixture. Mix on medium-low speed just until incorporated, about 30 seconds. Scrape down the sides of the bowl.
- Add the remaining wet mixture and mix for another 30 seconds on medium-low. Stop as soon as the batter is smooth. Over-mixing builds gluten and creates a dense, chewy texture.
- Divide the batter evenly between the prepared pans. Smooth the tops with a spatula.
- Bake at 350°F (175°C) for 25 to 30 minutes. The cakes are done when the tops are golden brown, the edges pull slightly away from the sides of the pan, and a toothpick inserted in the center comes out clean or with just a few moist crumbs.
- Cool the cakes in the pans for 10 minutes. Run a thin knife around the edge to loosen them, then turn them out onto a wire rack to cool completely before frosting.
Make-Ahead and Cooling Timeline
Cake layers need to be completely cool before frosting, or the heat will melt the buttercream. This process takes about 2 to 3 hours from start to finish.
You can bake the layers up to 2 days in advance. Wrap each cooled layer tightly in plastic wrap and keep at room temperature. If you need to store them longer than 2 days, double-wrap in plastic and freeze for up to 3 months; thaw on the counter still wrapped to prevent condensation from making the surface sticky.
Safe Storage for Frosted and Unfrosted Cake
Store unfrosted layers wrapped in plastic at room temperature for up to 3 days. If your frosting contains butter, cream cheese, or eggs, the finished cake must be refrigerated after the first day to prevent spoilage.
Cover a frosted cake with a cake dome or keep it in an airtight container. In the fridge, it stays fresh for about 5 to 7 days. Bring slices to room temperature for 20 minutes before serving to soften the crumb and restore the flavor. For longer storage, wrap individual slices or whole layers in plastic and foil, then freeze for up to 3 months.
Substitutions for Dietary Needs and Pantry Gaps
This recipe is flexible, but changing ingredients changes the texture.
- Flour: Swap 1:1 with a gluten-free all-purpose flour blend that contains xanthan gum. The cake will be slightly denser. Do not use almond flour or coconut flour as a 1:1 swap; the structure will collapse.
- Dairy-Free: Use soy milk, almond milk, or oat milk in place of cow's milk. Soy milk mimics the protein structure best; thin nut milks can make the crumb slightly more fragile.
- Oil Type: Use any neutral oil. Avoid olive oil unless you want a savory, fruity note. Melted coconut oil works, but the cake will be firmer and smell faintly of coconut; melt it and cool it slightly before mixing.
- Egg-Free: Replace each egg with a 'flax egg' (1 tablespoon ground flaxseed mixed with 3 tablespoons water, left to sit for 5 minutes). The cake will be denser and have a nuttier flavor.
Serving and Pairing Ideas for Vanilla Cake
Vanilla cake is a blank canvas. It pairs well with almost any frosting, but the oil base makes it sturdy enough for rich toppings.
Classic pairings include chocolate buttercream, cream cheese frosting, or a simple glaze made of powdered sugar and milk. For a fruitier dessert, slice the layers horizontally and spread raspberry jam or lemon curd between them before frosting. Serve slices with fresh berries or a drizzle of salted caramel sauce. Because the crumb is soft, it also works well for carved cakes or sculpted shapes that require structural integrity without the density of a pound cake.
Why Oil Makes a Different Crumb Than Butter
Butter is about 80% fat and 20% water; when it melts in the oven, that water evaporates, which can dry out the crumb. Oil is 100% fat, so it coats the flour proteins more effectively and stays liquid at cool temperatures. This is why an oil-based cake feels softer straight from the fridge compared to a butter cake, which can harden when cold. The trade-off is flavor: butter adds a distinct richness, while oil is neutral. Using a mix of brown and white sugar helps compensate for the flavor loss by adding caramel notes.
Adjusting for Cupcakes or Sheet Cakes
You can bake this batter in different pans without changing the ingredient amounts, but the timing changes.
For cupcakes, line a 12-cup muffin tin with paper liners. Fill each cup about two-thirds full. Bake at 350°F (175°C) for 18 to 22 minutes. Check them early; over-baked cupcakes dry out quickly. This recipe yields about 24 to 30 cupcakes.
For a 9x13-inch sheet cake, pour all the batter into the greased pan. Bake at 350°F (175°C) for 35 to 45 minutes. The center takes longer to set than round layers, so test with a toothpick in the middle. A sheet cake is easier to frost and serves a crowd more efficiently.
What to Do If the Cake Sinks or Is Dense
If the cake develops a dip in the center after cooling, it was likely underbaked or had too much liquid. The center is the last part to set; removing the cake too early leaves it fragile. Use an oven thermometer to verify the temperature, as ovens often run 25 degrees hotter or colder than the dial setting.
A dense, rubbery texture usually comes from over-mixing the batter once the liquid is added. Mix only until the streaks disappear. If the cake tastes oily, measure the oil carefully; too much fat weighs down the air bubbles created by the baking powder. If the cake is dry, check the expiration date on the baking powder, as leavening loses power over time.