Home » Cake Recipes » Vanilla Cake Recipe
Vertical collage of a classic vanilla layer cake with pale yellow buttercream frosting, showing a close-up of a slice being lifted, a full cake with a wedge removed, and a top-down view highlighting the swirl pattern on the frosting.

Simple Moist Vanilla Cake Recipe

This moist vanilla cake recipe makes two 8 inch butter cake layers with sour cream and whole milk in the batter, finished with a fluffy vanilla buttercream. It takes about 1 hour of prep and baking, plus cooling, and serves 12. The method is old fashioned and reliable: cream the butter and sugar well, then add the flour in three parts, alternating with the milk and sour cream.

Butter gives the flavor, sour cream keeps the crumb soft for days, and the layers bake flat enough to stack without much trimming. I use it for birthdays and any time I need a plain cake that tastes of real vanilla.

Two-photo collage of a homemade vanilla layer cake with smooth, creamy yellow buttercream frosting, featuring a sliced view showing the fluffy, moist crumb and frosting layers between tiers, styled on a white cake stand with a cake server.

Following a special diet?

Every recipe on this site can be converted to gluten-free, vegan, dairy-free, keto, nut-free or egg-free with adjusted ratios so nothing falls flat.

Try the Recipe Converter →

Two Layer Vanilla Cake by the Numbers

  • Pans: two 8 inch round cake pans, greased, floured, and lined with parchment
  • Oven: 350°F (175°C), 30 to 35 minutes
  • Time: 25 minutes prep, 35 minutes baking, plus full cooling before frosting
  • Serves: 12 slices
  • Batter: 2½ cups (312g) flour, ¾ cup (170g) butter, 1¾ cups (350g) sugar, 4 eggs, 1 cup whole milk, ½ cup sour cream
  • Buttercream: 1 cup (227g) butter to 4 cups (480g) powdered sugar, enough to fill, crumb coat, and cover the cake
  • Make ahead: layers a day ahead, frosting in advance and re-whipped

Room Temperature Dairy and a Long Creaming

Flat lay of measured vanilla cake ingredients in clear glass bowls, including flour, sugar, butter, eggs, vanilla extract, sour cream, and baking powder on a white countertop.

Set out the butter, eggs, milk, and sour cream about an hour before you bake. Soft butter holds air, and room temperature eggs and dairy blend into it smoothly. Cold eggs make the butter seize, and the batter looks curdled. If that happens, keep beating for another minute or add a spoonful of the flour mixture, and it will come back together.

Softened butter and granulated sugar being creamed in a glass bowl with a wooden spoon and a bowl of sugar nearby on white marble, the first mixing step for a moist vanilla cake.

Beat the butter and sugar on medium speed for 3 to 4 minutes. It should turn pale, almost white, and look fluffy and bigger in the bowl. This is where the cake gets its lift, so do not cut it short. Add the eggs one at a time, beating well after each, then scrape down the bowl and mix in the vanilla.


Why Sour Cream and Whole Milk Together

I stir whole milk and sour cream together for the liquid. Milk brings moisture and thins the batter enough to rise. Sour cream adds fat and a little acid, which tenderizes the crumb and works with the ½ teaspoon baking soda. Together they give a soft cake that still slices cleanly.

I have baked versions with only milk, and they tend to dome unevenly. With sour cream the batter relaxes in the pan and bakes into more even layers. I have also tried yogurt in its place, and the texture moved closer to a muffin than a cake, so I stick with sour cream here.


Adding Flour and Liquid in Three Parts

Glass mixing bowl showing partially combined vanilla cake batter with flour on top, highlighting the blending process of wet and dry ingredients for baking.

Whisk the flour, baking powder, baking soda, and salt. Measure the flour by spooning it into the cup and leveling it, or weigh 312g. A scooped cup can hold far more flour, and that is the most common reason a vanilla cake turns out dry.

With the mixer on low, add a third of the flour mixture, then half the milk and sour cream, then flour, liquid, and the last of the flour. Starting and ending with flour keeps the batter from splitting. Stop the moment the flour disappears. The batter should be thick, smooth, and spreadable.


Baking the 8 Inch Layers

Top-down view of two round cake pans filled with swirled vanilla cake batter, resting on a floured marble surface with a whisk coated in batter nearby.

Divide the batter evenly between the pans. Weighing each pan is the easiest way to get two layers that bake in the same time and stack level. Smooth the tops and bake at 350°F for 30 to 35 minutes.

Start checking at 30 minutes. The cake is done when a toothpick in the center comes out clean or with a dry crumb, the top springs back when pressed, and the edges pull away from the pan. Cool in the pans for 10 minutes, turn out onto a rack, and let the layers cool completely. Warm layers melt buttercream and the top layer slides.

For two 9 inch pans, the layers are thinner, so start checking at about 25 minutes. A 9×13 pan needs my vanilla sheet cake, which is written for that size and bake time.


Dry, Domed, or Sunken Layers

  • Sunken center: the cake was underbaked or the oven door opened before the middle set. Keep the door closed until the first check at 30 minutes.
  • Tall dome or cracked top: the oven runs hot or the batter was overmixed. An oven thermometer helps, and a domed top can be leveled with a serrated knife.
  • Dry crumb: too much flour or too long in the oven. Spoon and level the flour, and take the cake out as soon as the toothpick is clean.
  • Dense, heavy layers: the butter and sugar were not creamed long enough, or the butter was too soft and greasy to hold air.

Vanilla Buttercream for Filling and Frosting

Beat 1 cup of soft unsalted butter until creamy, then add the sifted powdered sugar one cup at a time on low speed so it does not cloud the kitchen. Add the vanilla, salt, and 2 tablespoons of cream or milk, then beat on high for 3 to 4 minutes until pale and fluffy.

If it is too stiff to spread, add more cream a tablespoon at a time. Add slowly, because too much makes it loose. This is an American style buttercream, so it forms a light crust after it sits for 15 minutes or so, which helps when you smooth the sides. When you want a less sweet, silkier finish, use my Swiss meringue buttercream instead.


Butter or Oil for a Super Moist Vanilla Cake?

I have tested this recipe with both. Oil gives a moist cake right out of the oven, but it carries no flavor, and by the second day the crumb feels limp. Butter holds the shape and keeps a deep vanilla taste.

The sour cream is what lets butter win here. It keeps the crumb tender without making it greasy, and slices stay soft even after a night in the fridge.


Leveling, Crumb Coating, and Storing the Cake

Top-angled view of a classic vanilla butter cake with a clean slice removed, showcasing the neat layers and creamy swirl frosting on top, served on a marble background.

Level the cooled layers with a serrated knife if they domed. Set one layer on a stand, spread a generous layer of buttercream, and place the second layer on top, pressing lightly. Spread a thin crumb coat over the whole cake and chill it for 15 minutes, until the frosting feels firm to the touch. Then add the final coat and smooth it with an offset spatula.

The frosted cake keeps at room temperature for up to 2 days in a cool kitchen. In a warm kitchen, refrigerate it and let it sit out for 30 minutes before serving so the butter softens. Wrap leftover slices in parchment and keep them in an airtight container. To get ahead, bake the layers a day early and wrap them tightly once cool. Slightly chilled layers are easier to level and frost.


Fillings, Flavors, and Ways to Serve It

Close-up of a moist vanilla layer cake with yellow buttercream, showcasing the fluffy interior and thick frosting layers as a slice is lifted with a cake spatula.

Served plain with fresh berries or a spoon of lightly sweetened cream, it needs nothing else. To fill the cake, spread strawberry cake filling or raspberry cake filling inside a ring of buttercream so it does not squeeze out. My strawberry vanilla cake is built on the same idea.

Split-image collage with one side showing a full vanilla cake with creamy yellow frosting and the other side featuring a single slice plated with a fork, highlighting the soft texture and frosting layers.

To change the flavor, swap the vanilla for almond extract and frost with dark chocolate buttercream. The layers are sturdy, and I have used them for shaped cakes like my Minecraft cake. If you want something richer, try my chocolate mousse cake.


Vanilla Layer Cake Questions

Can I make this vanilla cake without sour cream?

You can replace the sour cream with more whole milk, but the cake will be less tender and more likely to dome. Plain yogurt works, though the crumb turns more like a muffin.

Can I freeze the cake layers?

Yes. Wrap each cooled layer tightly in plastic wrap and then foil, and freeze for up to a month. Thaw in the wrapping so the condensation does not land on the cake.

Why is my vanilla cake yellow and not white?

Whole eggs and butter give a pale golden crumb. A white cake uses only egg whites, which changes the texture as well as the color.

Two-part collage showing a moist vanilla cake with a slice cut and plated, paired with a close-up of the cake slice being eaten with a fork, emphasizing the fluffy interior and smooth buttercream frosting.

If you bake it, tell me in the comments how you filled and frosted it.

Yield: 12 slices

Vanilla Cake Recipe

Vertical collage of a classic vanilla layer cake with pale yellow buttercream frosting, showing a close-up of a slice being lifted, a full cake with a wedge removed, and a top-down view highlighting the swirl pattern on the frosting.

This moist vanilla cake recipe makes a two layer vanilla cake from scratch with butter, sugar, eggs, whole milk, sour cream, and pure vanilla, frosted with a fluffy vanilla buttercream. It bakes in two 8 inch round pans at 350°F for 30 to 35 minutes and serves 12 slices, with a soft, tender crumb that stays moist for days. The butter and sugar are creamed for 3 to 4 minutes, then the flour goes in three parts with the milk and sour cream, so the layers bake even and slice cleanly. Use it as a birthday cake, a base for strawberry or raspberry filling, or a simple vanilla layer cake with berries. Make the layers a day ahead; the frosted cake keeps 2 days.

Prep Time 25 minutes
Cook Time 35 minutes
Total Time 1 hour

Ingredients

  • FOR THE VANILLA CAKE
  • 2 ½ cups (312g) all-purpose flour
  • 2 ½ tsp baking powder
  • ½ tsp baking soda
  • ½ tsp salt
  • ¾ cup (170g) unsalted butter, room temperature
  • 1 ¾ cups (350g) granulated sugar
  • 4 large eggs, room temperature
  • 1 tbsp pure vanilla extract
  • 1 cup (240ml) whole milk, room temperature
  • ½ cup (120ml) sour cream, room temperature
  • FOR THE VANILLA BUTTERCREAM
  • 1 cup (227g) unsalted butter, room temperature
  • 4 cups (480g) powdered sugar, sifted
  • 2 tbsp heavy cream or milk
  • 1 ½ tsp pure vanilla extract
  • Pinch of salt

Instructions

  1. PREPARE THE PANS AND OVEN: Preheat the oven to 350°F (175°C). Grease and flour two 8-inch round cake pans and line the bottoms with parchment paper to ensure easy release after baking.
  2. MIX THE DRY INGREDIENTS: In a medium bowl, whisk together the all-purpose flour, baking powder, baking soda, and salt. Set aside for later use.
  3. CREAM THE BUTTER AND SUGAR: In a large mixing bowl, beat the unsalted butter and granulated sugar on medium speed for 3 to 4 minutes, until the mixture becomes light in color and fluffy in texture.
  4. ADD EGGS AND VANILLA: Add the eggs one at a time, beating well after each addition. Scrape down the sides of the bowl, then mix in the vanilla extract until fully incorporated.
  5. COMBINE MILK AND SOUR CREAM: In a separate bowl or measuring jug, stir together the whole milk and sour cream until smooth. This mixture helps keep the cake moist and tender.
  6. ALTERNATE WET AND DRY INGREDIENTS: Add the flour mixture to the creamed butter in three additions, alternating with the milk and sour cream mixture. Begin and end with the dry ingredients. Mix on low speed and stop as soon as the batter is combined to avoid overmixing.
  7. DIVIDE AND BAKE: Divide the batter evenly between the prepared pans and smooth the tops with a spatula. Bake for 30 to 35 minutes, or until a toothpick inserted into the center comes out clean.
  8. COOL THE CAKES: Let the cakes cool in the pans for 10 minutes, then turn them out onto a wire rack. Allow them to cool completely before frosting.
  9. MAKE THE BUTTERCREAM: In a large bowl, beat the butter on medium speed until creamy and smooth. Add the powdered sugar gradually, one cup at a time, mixing on low speed until combined.
  10. FINISH THE FROSTING: Add the vanilla extract, salt, and cream or milk. Beat on high speed for 3 to 4 minutes until the frosting is fluffy and spreadable. If the frosting is too thick, add more cream one tablespoon at a time.
  11. LEVEL AND LAYER THE CAKE: If needed, trim the tops of the cake layers to level them. Place one layer on a cake stand or serving plate and spread a generous layer of buttercream on top.
  12. STACK AND CRUMB COAT: Place the second cake layer on top and press down lightly. Apply a thin layer of frosting around the cake to seal in crumbs. Chill the cake for 15 minutes to set the crumb coat.
  13. FROST AND DECORATE: After chilling, apply the final coat of buttercream. Smooth the sides and top with an offset spatula. Decorate as desired and serve.

Notes

Have all dairy and eggs at room temperature so the batter emulsifies; if it looks curdled after the eggs, keep beating or add a spoonful of the flour mixture. Spoon and level the flour or weigh 312g, since packed flour makes a dry cake. Bake until a toothpick comes out clean and the top springs back; start checking at 30 minutes. Cool the layers completely before frosting. Cake layers can be made a day ahead and wrapped tightly once cooled. Frosting can be made in advance and re-whipped before use. The frosted cake keeps at room temperature for up to 2 days in a cool kitchen; refrigerate in warm weather and bring to room temperature for 30 minutes before serving.

Nutrition Information

Yield

12

Serving Size

1

Amount Per Serving Calories 214Total Fat 7gSaturated Fat 4gTrans Fat 0gUnsaturated Fat 3gCholesterol 80mgSodium 335mgCarbohydrates 29gFiber 1gSugar 9gProtein 6g

4 Comments

  1. Loved this recipe! I substituted sour cream with ,vanillia siggis yogurt witch taste alot like sour cream and I didn’t have enough vanilla so I put a scoup of vanillia pudding powder. Turned out fabulous 👌

    1
    • Julie, your tweaks make perfect sense. I lean on Siggi’s vanilla yogurt too when the sour-cream tub runs empty. The tang and fat keep the crumb tender. The spoonful of pudding mix adds botg starch and vanilla, so the cake sets a bit softer and stays moist; clever way to stretch the extract. Next time you might shave a tablespoon off the sugar to keep the sweetness in check, but if it tasted right to you then you’ve already dialed it in 😊

      0
  2. Very good recipe! The cake came out perfect! I made this for my little princess, so I ended up doing a Nutella buttercream icing, and it complimented the cake perfectly. Thank you for the recipe!!!

    1
    • This made me smile. Nutella buttercream sounds like a dream with this cake, and I love that you made it for your little girl. Feels good when it all comes together like that, doesn’t it? Thanks for sharing how you made it special.

      0

Leave a Comment

Your email address will not be published. Required fields are marked *

*