Fluffy Gluten-Free Vanilla Cake (No One Guesses It’s GF)
This gluten-free vanilla cake has the buttery, tender crumb of a classic yellow cake, and nobody will know it’s made without wheat flour. It’s the kind of cake you can bring to a birthday party or pile high with frosting and still have people ask for the recipe.

The secret is a good 1-to-1 gluten-free flour blend and a splash of buttermilk to keep it moist. You can mix it up in one bowl, and it bakes up tall and golden every time.
What Makes This Cake So Good
Most gluten-free cakes turn out dry or gummy, but this one stays soft for days. The buttermilk and a bit of extra fat keep the crumb tender, and a full tablespoon of vanilla gives it a warm, real-deal flavor that doesn’t taste like a substitute.
I keep coming back to this recipe because it works as well for a simple snack cake as it does layered with buttercream. It’s sturdy enough to stack, but still tender enough to eat plain with a cup of coffee.
Ingredients

- 1 ½ cups (210 g) gluten-free 1-to-1 baking flour: a blend with xanthan gum, like King Arthur or Bob’s Red Mill
- 1 tsp baking powder
- ½ tsp baking soda
- ½ tsp fine sea salt
- ½ cup (1 stick) unsalted butter, softened
- 1 cup (200 g) granulated sugar
- 2 large eggs, room temperature
- 1 tbsp vanilla extract
- ¾ cup (180 ml) buttermilk, room temperature
Variations / Substitutions
- Dairy-free: use vegan butter sticks and swap the buttermilk for ¾ cup unsweetened oat milk mixed with 1 tbsp lemon juice.
- Citrus lift: rub the sugar with the zest of 1 lemon or orange before creaming the butter, then proceed.
- Almond punch: replace 1 tsp of the vanilla with ½ tsp almond extract for a bakery-style wedding cake flavor.
- Funfetti style: fold ½ cup rainbow sprinkles into the batter right before baking.
- Cupcakes: divide batter among 12 lined muffin cups and bake 18 to 22 minutes.
For a chocolate version, try my Gluten-Free Chocolate Cake.
How to Make Gluten-Free Vanilla Cake
Step 1: Cream the Butter and Sugar

Set your oven to 350°F (175°C) and grease an 8-inch round cake pan with butter or nonstick spray. In a large bowl, beat the ½ cup softened butter and 1 cup sugar with an electric mixer on medium-high speed until pale and fluffy, about 3 minutes.
The mixture should look light and aerated. You’ll see it turn a couple of shades lighter and pillow up, that’s your cue the creaming step is done right.
Step 2: Add the Eggs and Vanilla

Beat in the 2 eggs one at a time, then pour in the 1 tbsp vanilla and mix until smooth. Scrape down the bowl once so everything gets fully incorporated. The batter might look slightly curdled after the first egg, but it will come together.
Once it’s ready, the batter will be glossy and pale yellow, with tiny dark specks of vanilla scattered throughout.
Step 3: Alternate the Dry Mix and Buttermilk

In a separate bowl, whisk together the 1 ½ cups flour, 1 tsp baking powder, ½ tsp baking soda, and ½ tsp salt. Add this dry mix to the butter mixture in three additions, alternating with the ¾ cup buttermilk, starting and ending with flour. Mix just until no dry streaks remain, overmixing will make the cake tough.
The finished batter will be thick and smooth with a slight sheen. A few small lumps are fine, but stop the second the flour disappears.
Step 4: Bake the Cake

Pour the batter into the prepared pan and spread it evenly. Bake at 350°F for 30 to 35 minutes, until a toothpick inserted in the center comes out clean or with a few moist crumbs clinging to it.
The top should spring back lightly when pressed, and the edges will pull away just a bit from the sides of the pan. Let the cake cool in the pan on a wire rack for 10 minutes, then turn it out to cool completely.
Step 5: Frost and Slice the Cake

Once the cake is completely cool, spread your favorite buttercream or whipped frosting over the top and sides. A big swoop of frosting on top and a handful of sprinkles gives it a bakery look with very little effort.
Slice into wedges with a serrated knife using a gentle sawing motion so you get clean, fluffy pieces. Serve at room temperature.
A Few Tips for Gluten-Free Cakes
- Room temperature everything: cold eggs or milk can make the batter seize, so let them sit out for 30 minutes before you start.
- Don’t overmix after adding flour: gluten-free flours turn dense and gummy if beaten too long. Mix just until blended.
- Check early: ovens run differently, and gluten-free cakes can dry out fast. Start testing 5 minutes before the lower bake time.
- Cool fully before frosting: even a hint of warmth will melt your buttercream into a puddle.
Bake times by pan size:
| Pan Size | Bake Time |
|---|---|
| 8-inch round | 30-35 mins |
| 9-inch round | 25-30 mins |
| 9×13-inch | 28-33 mins |
| Cupcakes | 18-22 mins |
Keeping the Cake Fresh
- Refrigerate: store frosted cake covered in the fridge for up to 4 days. For the best texture, let it sit at room temperature for about 20 minutes before serving.
- Freeze: unfrosted cake layers can be wrapped tightly in plastic and frozen for up to 2 months. Thaw at room temperature before frosting.
Frequently Asked Questions
Can I use a different gluten-free flour blend?
Yes. If your blend does not contain xanthan gum, add ½ teaspoon to the dry ingredients so the cake holds together.
Can I make this cake dairy-free?
Yes. Use vegan butter sticks and replace the buttermilk with ¾ cup unsweetened oat milk mixed with 1 tablespoon of lemon juice.
Why did my cake turn out gritty?
Some gluten-free flour blends have a coarser texture than others. Sifting the flour before measuring can help, and using a blend labeled “1-to-1” or “cup for cup” usually gives the smoothest crumb.
Why did the cake sink in the middle?
It likely needed a few more minutes in the oven, or the batter was overmixed after adding the flour. Make sure the toothpick comes out clean and avoid beating the batter once the flour goes in.

Gluten-Free Vanilla Cake Recipe
Ingredients
Method
- Preheat oven to 350°F (175°C). Grease an 8-inch round cake pan.
- Cream the butter and sugar with an electric mixer until pale and fluffy, about 3 minutes.
- Beat in the eggs one at a time, then mix in the vanilla.
- Whisk together the flour, baking powder, baking soda, and salt. Add to the butter mixture in three additions, alternating with the buttermilk, starting and ending with flour. Mix just until combined.
- Pour into the prepared pan and bake for 30 to 35 minutes, until a toothpick comes out clean.
- Cool in the pan for 10 minutes, then turn out onto a rack to cool completely. Frost and slice.
