An easy gluten-free yellow cake recipe. Dairy-free. Perfect for birthdays and other special occasions.
Why You’ll Love This Gluten-Free Yellow Cake
This is an easy one-bowl gluten-free cake recipe. Unlike my gluten-free white cake, which is amazing, but requires several specific steps, this recipe is similar to a box mix. You mix all the ingredients in one bowl, give the batter a mix, and bake. It’s easy enough to make on a busy weeknight and yummy enough to be served at birthday parties. There’s a lot to love with this cake.
- Easy to make. It’s a one-bowl recipe.
- Dairy-free.
- Moist (not gummy!).
- Tender with a tight, soft crumb.
- Perfect for birthday parties.
Gluten-Free Yellow Cake: Key Ingredients
Gluten-Free Flour. I developed this recipe with Bob’s Red Mill 1:1 Gluten-Free Flour blend. This blend is easy to find and affordable. If you use a different flour blend, you might experience different results. Look for a flour blend that contains xanthan or guar gum. Without these ingredients, the cake won’t rise as high.
Granulated Sugar: For the best flavor, texture, and color, use regular granulated sugar. Cane sugar (also called sugar in the raw) may be used in this recipe. The cake will have a darker color and a slight caramel flavor. Brown sugar should be avoided as it contains moisture from the molasses that will affect the texture of the cake.
Vegetable Oil. This cake recipe uses liquid vegetable oil. It gives the cake a moist and tender crumb. Avoid olive oil or any other strong flavored oil. (Unless you want the cake to taste like olive oil, of course.)
Vanilla Extract. To achieve the classic yellow cake flavor, the recipe uses vanilla extract. If you prefer an almond flavor, replace the vanilla extract with half almond extract and half vanilla extract.
Gluten-Free Yellow Cake: Tips for Success
- Grease the cake pans. Coat the cake pans with nonstick cooking spray or brush with solid shortening and dust with gluten-free flour.
- Whisk the dry ingredients. Take a minute to whisk together the dry ingredients together. This ensures that the baking powder is evenly distributed throughout the mixture. Folks tend to rush through this step. If I can encourage you to do one thing, it would be to slow down and whisk the mixture for a minute. And I mean a minute. Use the timer on your phone and whisk, whisk, whisk.
- Check the bottom of the bowl for dry flour. Gluten-free flour loves to cling to the bottom of a mixing bowl. Before pouring the batter into the prepared pans, take a spatula and scrape the bottom of the bowl. If you see streaks of flour, stir them into the batter.
- Cool the cakes on a wire rack. After removing the cakes from the oven, allow them to cool in the pan for about five minutes. At this point, they are really delicate. Removing them from the pan right away can cause them to break. After five minutes, turn them out onto a wire rack to cool. This allows the steam to escape from the cakes. If they remain in the pan, the steam can cause the cakes to stick.
- Let the cake cool before frosting. Before frosting your cake, make sure it’s totally cool. The center of the cake loves to hold on to heat. Take your hand and place it on the center of the cake, the way you’d place your hand on a baby’s back. If it feels warm, don’t frost it yet. A warm cake + frosting=melted, messy frosting.
Gluten-Free Yellow Cake: FAQs
Can I make this cake without eggs?
I haven’t tested the cake egg-free, sorry.
Can I make this cake with a sugar substitute?
I haven’t tested the recipe with a sugar replacement.
Can I use this recipe to make cupcakes?
Yes. Directions for making cupcakes are included below in the notes section of the recipe.
Can I use this recipe to make a sheet cake?
You sure can! It makes a 9×13-inch sheet cake. Directions for baking are included below the recipe.
Gluten-Free Yellow Cake
Ingredients
For the Gluten-Free Yellow Cake
- 2 ½ cups gluten-free flour blend, see note (12 ½ ounces; 355 grams)
- 1 ½ cups granulated sugar (10 ½ ounces; 298 grams)
- 2 ¼ teaspoons baking powder
- ¾ teaspoon salt
- 1 cup vegetable oil (7 ounces; 198 grams)
- ⅔ cup milk (5 ⅓ ounces; 150 grams)
- 4 large eggs (about 8 ounces out of shell; 226 grams)
- 2 teaspoons vanilla extract
For the Chocolate Frosting
- 4 cups powdered sugar, sifted (16 ounces; 453 grams)
- ¾ cup Dutch-process or natural cocoa powder, sifted (2 ¼ ounces; 65 grams)
- 1 cup butter or dairy-free butter replacement, softened (8 ounces; 226 grams)
- ¼ teaspoon salt
- ¼ cup milk, water, or coffee plus more as needed, see note (2 ounces; 56 grams)
Instructions
-
Preheat oven and prepare the cake pans. Adjust oven rack to center position. Grease two 8-inch round cake pans with gluten-free nonstick cooking spray. Preheat oven to 350℉.
-
Make the Batter. Whisk together gluten-free flour, sugar, baking powder, and salt in a large bowl. Add oil, milk, eggs, and vanilla extract. Blend until smooth.
-
Bake the Cakes. Divide batter equally between the two prepared cake pans. Bake until a cake tester inserted into the center of the cake comes out clean, about 30 minutes.
-
Cool. Remove pans from the oven. Allow cakes to cool in the pan for five minutes and then turn out onto a wire rack to cool completely.
-
Prepare chocolate frosting. Whisk together powdered sugar, cocoa powder, and salt in a small bowl.
-
Beat butter for 30 seconds on high speed until light. Stop mixer. Add powdered sugar mix and milk or coffee. Mix, on low speed, until creamy. If frosting seems dry, add additional milk or coffee until smooth and creamy.
-
Frost Cake. When cake is cool, fill and frost the cake.
Recipe Notes
Gluten-Free Flour Blend
This recipe was tested with Bob’s Red Mill 1:1 Gluten-Free Flour Blend. Replacing the flour with another brand might change the texture of the cake. Be sure to use a flour blend that contains xanthan gum. If it doesn’t, add 1 teaspoon of xanthan gum to the flour. Whisk to combine. Then use as directed.
Sheet Cake Directions
Lightly grease a 9 x13-inch pan. Bake the cake until golden brown about 40. Allow cake to cool in the pan. Prepare frosting as directed above and frost cake when cool.
Cupcake Directions
Line two 12-cup muffin pans with cupcake liners. Spoon batter into muffin cups, about ⅔ full. Bake until a toothpick inserted into the center of the cake comes out clean, about 20 minutes. Prepare frosting and frost cupcakes when cool.
Joan M Carrow says
I have a Baking Business and I just made this for a customer ! I made myself a sample ! If you follow the recipe as stated your cake will come out fine . I used a scale to weight all my ingredients ! IT IS DELICIOUS !!!
THANK YOU ,
JOAN
Elizabeth says
Hooray! Glad you liked it!
Evita Morin says
My 6-year-old LOVED this cake for his birthday. I’ve experimented with different recipes for my celiac son over the years, but this is the one I’ll be using from here on out. My whole family agrees, 5 stars!
Mary G says
Perfect. Read the notes, followed the instructions and didn’t make substitutions.
Jennifer says
The chocolate frosting and cake compliment each other perfectly!! I made a half batch for my first time as it was just for me. Delicious!!!
AJ says
Moist and delicious as a sheet cake, freezes well. Additional bonus – it is dairy free. Thank you!!
Debbie says
I don’t understand, the batter came out super thick instantly as I was blending it, more like cookie dough, I followed the recipe exactly. I could hardly get it to spread in the pan, more like bread or cookie dough thickness. The only difference was I used a different flour brand. We’ll see how it turns out?
Elizabeth says
I’m sure it was the flour blend. They vary greatly by brand. Which one did you use?
Lindy says
This is my new go to yellow cake! I’ve struggled to find a gf vanilla cake recipe that isn’t dense or gummy and this one is perfection. Perfect crumb, tastes delicious, and simple ingredients!
I used a flour blend similar to Better Batter with no other substitutions and got 22 perfectly domed, golden brown cupcakes.
Claudita says
Hello Elizabeth!
Can the cake be made ahead of time and put in the freezer? Thank you!
Elizabeth says
It sure can! Just be sure to let it cool completely before you freeze it.
J says
I’m sorry about this ahead of time … I don’t find it amusing at all to put recipes out here like this. I too used a diff flour because it’s what I had, and it turned out extremely gummy, I’m waiting to see how this will end up. It’s almost a joke . If y’all are going to put out recipes maybe put a WARNING in red specifying that if you use a diff flour YOU WILL END UP WASTING 4 eggs, flour, sugar, oil etc etc . I’m pretty much housebound and have been craving something sweet as all of us have. I will say it’s not the first time it’s ended up like this but I can say I’m tired of y’all putting out recipes without a very real WASTEFUL OF INGREDIENTS WARNINGS IF YOU DONT USE YOUR OWN BRAND FLOURS.
Elizabeth says
Hi J,
That’s why this note is included both with the recipe and in the blog post. I don’t put it in red because red is very hard for people to read on screens.
“Gluten-Free Flour Blend
This recipe was tested with Bob’s Red Mill 1:1 Gluten-Free Flour Blend. Replacing the flour with another brand might change the texture of the cake. Be sure to use a flour blend that contains xanthan gum. If it doesn’t, add 1 teaspoon of xanthan gum to the flour. Whisk to combine. Then use as directed.”
What brand of flour did you use?
I’m sorry the cake didn’t work for you.
Shostyler says
Yo dude
Don’t blame the recipe-maker for your mistake in not reading the post or the full recipe. She says what kind of flour to use twice. I got that just from skimming. If you care so much about making a good cake, then maybe take it upon yourself to lower your ego and assume you need all the direction you can get… If your cake turned out gummy then experience would tell you your batter was too thick. You wasted the ingredients, not the artist. All u had to do was add milk or water… That’s what I did