Gluten-Free Vanilla Cake

This delicious gluten-free vanilla cake recipe is perfectly moist, fluffy, and light. Topped with a simple vanilla buttercream, this cake is the ultimate crowd-pleaser. Whether you're a baking pro or a novice, this recipe is easy to follow with step-by-step photos and instructions. Don't settle for store-bought gluten-free cake when you can make this easy version at home!
A slice of 2-layer gf vanilla cake with vanilla frosting and rainbow sprinkles on a dessert plate with another slice of cake and a bowl of rainbow sprinkles in the background.
A slice of 2-layer gf vanilla cake with vanilla frosting and rainbow sprinkles on a dessert plate with another slice of cake and a bowl of rainbow sprinkles in the background.

There is nothing more classic for a birthday than a vanilla cake. It never goes out of style! If you have celiac disease or are on a gluten-free diet, you might think vanilla cake is off the table for you. However, this recipe is the BEST gluten-free vanilla cake you’ll ever have. It’s moist, fluffy, and so tender. 

Topped with an easy vanilla American buttercream, this cake is simple but big on vanilla flavor. Whether you’re celebrating a birthday, a holiday, or just treating yourself, this cake is sure to satisfy your sweet tooth.

Growing up, vanilla cake was always my favorite. I love the clean, classic flavor of vanilla. However, once I was diagnosed with celiac disease I found it hard to come by a great gluten-free vanilla cake. They always tended to be more dry than chocolate cakes. 

After many years of testing, I finally have the perfect gluten-free cake recipe for you. It is everything that you want in a vanilla cake, without the gluten! 

You’ll love this recipe because:

  • It’s classic. Vanilla cake is a timeless classic. It’s perfect for any occasion, whether it’s a birthday party, a wedding, or just a casual get-together with friends or family. 
  • It’s versatile. There are so many flavors that go well with vanilla, so you can easily customize this cake with different frosting, fillings and decorations to suit your taste or occasion. 
  • It’s gluten-free. This recipe was formulated to be gluten-free, so if you have celiac disease or are on a gluten-free diet for other reasons, you can enjoy this cake, too! I use a gluten-free all-purpose flour blend combined with cornstarch to get the perfect texture in this cake. Follow all of my tips and tricks to make sure that your gluten-free cake turns out perfectly, too. 

Ingredients

Ingredients in small bowls to make gluten-free vanilla cake including oil, sour cream, vanilla, gluten-free flour, baking powder, cornstarch, eggs, salt, baking soda, granulated sugar, apple cider vinegar and milk with text overlays over each ingredient.

Ingredient Notes

  • Gluten-free flour blend – I tested this recipe using Bob’s Red Mill 1-to-1 Gluten-Free Baking Flour. It is a gluten-free flour blend that is meant to be substituted for all-purpose flour in a 1-to-1 ratio. This flour already contains xanthan gum, so you will not need to add it to this recipe. I cannot guarantee that other gluten-free flours will work in this recipe because I have not tested them. 
  • Cornstarch – To make this gluten-free cake light and airy, I use cornstarch to essentially make a gluten-free cake flour. For best results, weigh the cornstarch to ensure you are adding the appropriate amount to the recipe. 
  • Baking powder – This is a leavening agent that helps the cake rise and become fluffy. Typically, you will need more baking powder in a gluten-free recipe than a traditional cake recipe because gluten-free varieties do not rise as much. Make sure to check the expiration date on your baking powder and use a fresh batch for best results.
  • Baking soda – Some baking soda will give this cake additional rise. 
  • Granulated sugar – I do not recommend reducing the amount of granulated sugar in this recipe or replacing it with other sweeteners. Sugar does more than just sweetening the cake. It also adds moisture, structure, flavor, and browning to the cake. Reducing the amount of sugar will compromise the cake texture and flavor. 
  • Vegetable oil – Instead of butter, I’m using vegetable oil as the fat in my cake. I’ve found the problem with gluten-free vanilla cakes in the past is that they are too dry, so to ensure that my cake is as moist as possible I use vegetable oil instead of butter. Since vegetable oil is a liquid, it will produce a moister cake. The neutral flavor also lets the vanilla flavor shine through. 
  • Eggs – You need three large eggs for this recipe. I use large eggs that are 50g each when weighed outside of the shell. If you are using medium eggs, you’ll need more eggs for this recipe. Just mix the egg yolk and egg whites together and then weigh out 150g total before proceeding with the recipe. 
  • Vanilla extract – Since this is a vanilla cake, you’ll need vanilla extract to flavor it. Use pure vanilla extract (only vanilla and alcohol) instead of an imitation vanilla extract. The flavor will be much better this way. You can also use vanilla beans or vanilla paste if you prefer. 
  • Apple cider vinegar – This is one of my favorite ingredients for gluten-free baking. Gluten-free baked goods don’t rise as much as their gluten-filled counterparts so they need some additional help to leaven. I like to add a few teaspoons of apple cider vinegar, which is an acid, to help leaven my baked goods. You can’t taste the vinegar at all. 
  • Whole milk – For best results, use whole milk instead of skim milk in this recipe to give the cake more fat. This will help give you a tender crumb. 
  • Sour cream – Sour cream has a higher fat content than whole milk, so it adds additional richness to the cake. It also is acidic so it will react with the baking soda to leaven the cake. 

The way that you measure flour will affect the outcome of your baking. For best results, use a food scale to weigh your ingredients. If you don’t have a food scale, make sure to spoon flour into the measuring cup and level it off with a knife for accurate measurement. Scooping the measuring cup directly into the bag of gluten-free flour will result in too much flour causing a dense vanilla cake.

Step-by-Step instructions

Paragraph saying how easy this is to make, just follow the steps and scroll down to the recipe card for more information, tips and tricks and the printable recipe.

For the ingredient list with measurements, full instructions, printable recipe, and additional notes, please scroll down to the recipe card.

A glass mixing bowl with gluten-free and a whisk in it.
Add the gluten-free flour, cornstarch, baking powder, baking soda, and salt into a medium bowl. Whisk until combined. Set aside.
A glass mixing bowl with granulated sugar and oil in it before mixing together.
Add the granulated sugar and vegetable oil to a large bowl. Mix for a few minutes, until combined.
A glass mixing bowl with granulated sugar, oil, vanilla and eggs in it before mixing together.
Add the eggs, vanilla extract and apple cider vinegar. Mix until smooth.
A glass mixing bowl with a cake batter in it topped with a gluten-free flour blend.
Add 1/3 of the dry ingredients to the wet ingredients. Mix until combined.
A glass measuring cup pouring a sour cream and milk mixture into a mixing bowl of gluten free cake batter.
Combine the milk and sour cream and whisk until smooth. Add 1/2 of the sour cream mixture to the batter. Mix to combine.
A glass mixing bowl with gluten free cake batter in it.
Repeat adding alternating ingredients to the batter in this order: 1/3 of the dry ingredients, the last 1/2 of the sour cream mixture, and then the remaining 1/3 of the dry ingredients, mixing in between each addition.
Two round 8-inch baking pans with gluten-free vanilla cake batter in them before baking in the oven.
Divide the cake batter evenly between two 8-inch round baking pans that have been lined with parchment paper, greased, and dusted with gluten-free flour.
Two round 8-inch baking pans with gluten-free vanilla cake in them after baking in the oven.
Bake for 35-40 minutes, until the cake is browned and a toothpick inserted into the center comes out clean. Do not overbake.
A round gluten free vanilla cake with vanilla frosting and rainbow sprinkles on a wood serving board.
Let the cake cool completely before frosting and decorating.
An overhead view of two dessert plates each with a single slice of gluten free vanilla cake with the larger cake peaking in to the photo.
Slice, serve and enjoy!

Recipe FAQs

What gluten-free flour is best for vanilla cake?

I tested this recipe with Bob’s Red Mill 1-to-1 Gluten-Free Baking Flour (in the blue bag). This blend already contains xanthan gum in it. I cannot verify that other gluten-free flours will work in this recipe. 

What baking pans should I use?

I used 8-inch baking pans. I like to buy ones that are 2 or 3-inches high. If your baking pans are only 1-inch high, you’ll want to split the batter between 3 pans instead of two. The bake time will also decrease. 

What frostings can I use with vanilla cake?

I love a simple vanilla frosting, but you can also try my chocolate cream cheese frosting, brown butter cream cheese frosting, strawberry frosting, or peanut butter frosting to change it up!

How do I know when my cake is done baking?

The cake is done when a toothpick inserted into the center of the cake comes out clean. You can also gently press on the top of the cake – it should feel springy and bounce back when touched.

hints & tips

  • It’s important to measure all the ingredients properly, especially the flour. Use a kitchen scale if possible to ensure the right amount of flour is added. Otherwise, spoon the flour into the measuring cup and level it off with a knife.
  • After investing time and effort into baking a cake, it’s important to ensure that it comes out of the pan smoothly every time. Begin by generously buttering the sides and bottom of the cake pan. For added security, line the bottom of the pan with parchment paper, and then butter the top of the parchment paper again. To prevent sticking, dust with gluten-free flour, being sure to remove any excess to avoid creating a sticky residue in the pan.
  • Be sure to let the cake cool completely before frosting it. If the cake is still warm, the frosting will melt and slide off the cake. 
  • If you want to make this recipe into cupcakes, divide the batter between 24 muffin cups and bake for 23 to 25 minutes.

Storage instructions

  • Storage: A frosted vanilla cake will keep at room temperature in a container for 3-4 days. Make sure the container is sealed tightly to keep the cake fresh. If you are using a frosting that needs to be refrigerated, you can refrigerate the cake instead. 
  • Freezer Option: Cake freezes beautifully. I like to either freeze cake rounds that have not yet been frosted or frosted slices of cake. Wrap unfrosted cake rounds in plastic wrap and then place in an airtight container or freezer-safe bag and freeze for up to 3 months. Freeze individual slices on a baking sheet lined with parchment paper for an hour. Then individually wrap in plastic wrap or in freezer-safe containers for up to 3 months. Let thaw at room temperature until soft. 

A single slice of 2-layer gluten free vanilla cake topped with rainbow sprinkles being lifted out of the larger cake.

Did you make this recipe?

I’d love to know! Please rate it and leave a comment below. You can also share your pictures and tag @adashofmegnut on Instagram.

A slice of 2-layer gf vanilla cake with vanilla frosting and rainbow sprinkles on a dessert plate with another slice of cake and a bowl of rainbow sprinkles in the background.

Gluten-Free Vanilla Cake

This delicious gluten-free vanilla cake recipe is perfectly moist, fluffy, and light. Topped with a simple vanilla buttercream, this cake is the ultimate crowd-pleaser. Whether you're a baking pro or a novice, this recipe is easy to follow with step-by-step photos and instructions. Don't settle for store-bought gluten-free cake when you can make this easy version at home!
5 from 1 vote
Print Pin Rate
Course: Dessert
Cuisine: American
Diet: Gluten Free
Prep Time: 20 minutes
Cook Time: 40 minutes
Cooling Time: 30 minutes
Total Time: 1 hour 30 minutes
Servings: 12 servings
Calories: 697kcal
Author: Megan

Ingredients

For the gluten-free vanilla cake:

  • 2 1/2 cups gluten-free all purpose flour (360g, I used Bob’s Red Mill 1-to-1 Gluten-Free Baking Flour Blend)
  • 1 tsp xanthan gum (omit if your blend already contains it)
  • 1/3 cup cornstarch (43g)
  • 2 teaspoons baking powder
  • 1 teaspoon baking soda
  • 1 teaspoon salt
  • 2 cups granulated sugar (400g)
  • 3/4 cup vegetable oil (170g)
  • 3 large eggs (150g)
  • 2 teaspoons vanilla extract
  • 2 teaspoons apple cider vinegar
  • 3/4 cup whole milk (180g)
  • 3/4 cup sour cream (180g)

For the vanilla frosting:

  • 1 cup unsalted butter (softened (226g))
  • 2 teaspoons vanilla extract
  • 1/4 teaspoon salt
  • 4 cups powdered sugar (480g)
  • 2-4 tablespoons whole milk

Instructions

For the gluten-free vanilla cake:

  • Preheat the oven to 350F. Line with parchment paper and grease two 8-inch round cake pans with butter and dust with gluten-free flour. Set aside.
  • In a medium bowl, add the gluten-free flour, cornstarch, baking powder, baking soda, and salt. Whisk until combined. Set aside.
  • In a large bowl, add the granulated sugar and vegetable oil. Beat with an electric mixer for a few minutes, until combined.
  • Add the eggs, vanilla extract and apple cider vinegar. Mix until smooth.
  • Add 1/3 of the dry ingredients to the cake batter. Mix until combined.
  • Combine the sour cream and milk in a measuring cup or bowl. Add 1/2 of this sour cream mixture to the cake batter. Mix until combined.
  • Repeat with 1/3 of the dry ingredients, the remaining 1/2 of the sour cream mixture, and finish with the last 1/3 of the dry ingredients, mixing in between each addition.
  • Pour the vanilla cake batter into the prepared cake pans.
  • Bake at 350F for 35-40 minutes, until a toothpick inserted into the center comes out clean.
  • Let the cake cool for 10 minutes before inverting from the pans onto a wire cooling rack to finish cooling.
  • Cool completely before frosting and serving.

For the frosting:

  • Add the softened butter to a large mixing bowl. Using an electric mixer, beat the butter until smooth.
  • Add the vanilla extract and salt and mix until combined.
  • Gradually add in the powdered sugar, about ½ cup at a time, mixing in between. Be sure to scrape down the sides and bottom of the bowl to ensure it is all mixed in.
  • Add two tablespoons of milk and mix until it is a pipeable consistency. You don’t want the buttercream frosting to be too stiff because it will be difficult to spread on the cake, but also not too loose that it will slide around on the cake. Add more milk if needed.
  • Frost the cake as desired.

Notes

  • For best results, use a food scale to weigh the dry ingredients in grams, including gluten-free flour and cornstarch. This is the most precise method of measuring ingredients and will prevent the cake from becoming too dense. I’ve included the metric measurements in the recipe card.
  • If you have celiac disease or require a gluten-free diet, always confirm that all ingredients are gluten-free. Ingredient formulations and manufacturing processes can change from time to time. 
  • Make sure the cake has completely cooled before decorating with frosting to prevent the frosting from melting on the warm cake. 
  • Store any leftover cake in an airtight container at room temperature for up to 3-4 days. Alternatively, you may freeze the vanilla cake for longer storage.

Nutrition

Calories: 697kcal | Carbohydrates: 97g | Protein: 5g | Fat: 34g | Saturated Fat: 14g | Polyunsaturated Fat: 9g | Monounsaturated Fat: 8g | Trans Fat: 1g | Cholesterol: 92mg | Sodium: 372mg | Potassium: 137mg | Fiber: 3g | Sugar: 75g | Vitamin A: 650IU | Vitamin C: 0.1mg | Calcium: 94mg | Iron: 1mg
Tried this Recipe? Tag me Today!Mention @ADashofMegnut or tag #adashofmegnut!
about megan

I’m Megan

A gluten-free food blogger from Chicago and lover of all things food, showing you gluten-free can be easy and delicious, too. Let’s make gluten-free stress free together! Read more…

5 from 1 vote (1 rating without comment)

Leave a Reply

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

Recipe Rating




This site uses Akismet to reduce spam. Learn how your comment data is processed.

3 Comments

  1. Oh my goodness. I know what I want my next birthday cake to be like!!! This is AMAZING!

  2. Allison's Delicious Life says:

    Oh my gosh that is beautiful!

  3. Claireamberson says:

    gorgeous! i wish you would make me a 25th birthday cake! 🙂