Gluten-Free Single-Layer Yellow Cake Recipe

A simple back-pocket yellow cake that takes just an hour to prep and bake.

By
Elizabeth Barbone
Elizabeth Barbone: Contributing Writer at Serious Eats
Elizabeth Barbone develops delicious and creative recipes for the food allergic and gluten-free communities through her site Gluten-Free Baking. Author of three cookbooks: Easy Gluten-Free Baking (2009), How to Cook Gluten-Free (2012), and The World's Easiest Paleo Baking (2016).
Learn about Serious Eats' Editorial Process
Updated March 06, 2025
Profile view of a slice of gluten-free yellow cake with chicolate frosting.

Serious Eats / Elizabeth Barbone

There's one go-to recipe I believe all bakers need: a single-layer cake. There's a time and place for multi-layered cake (usually birthdays and other celebrations). But a single-layer cake isn't about celebration, it's about simplicity.

My love for single layer cakes comes from my mom. Occasionally, I'd come home from school and find one sitting on the counter. It was always a yellow cake, iced with chocolate buttercream, and, if she felt like dressing it up, a single maraschino cherry in the center. Before baking, she'd throw a couple of chocolate chips into the batter. She said whoever got the slice with the chips was guaranteed a "good luck day." Who am I to argue with that mom-logic?

The yellow single-layer cake I bake tastes very similar to the ones I ate growing up. It's just butter, sugar, eggs, and gluten-free flour. The funny thing is the method. It doesn't require you to cream the butter and sugar together. You simply dump all the ingredients into a bowl and mix. That's it. The only thing to watch out for is the butter. You want it soft. Not melty. Not microwaved where the ends are hard and it's melted in the center. You want the butter soft.

If you don't have room-temperature butter ready when you want to bake this cake, try this trick: set up a double boiler. (Nest a small bowl on top of a small pot of very hot but not boiling water. You don't want the water to touch the bottom of the bowl.) Place the butter, still wrapped, into the bowl. Turn the stick every few minutes until it's soft. If you're microwave is gentle enough, go ahead and soften the butter in the microwave. Use a very low setting and heat the butter in 15 second bursts, then turn the stick. If you are very careful, this works. I've noticed that if I stand my butter up while nuking the center doesn't melt but that could just be my microwave.

As for finishing the cake, ice it with a simple buttercream. Or not. This cake works well without any type of icing. If you don't want buttercream but want to finish the cake with something, I'd strongly recommend a citrus glaze. I prefer lemon but any citrus works. Stir together some powdered sugar and a little milk (or water) until you have a thick glaze. Then add the zest of your favorite citrus and pour the glaze over the top of the cake.

From start to cooling, this cake takes less than an hour to prep and bake. Of that time, only about fifteen minutes requires any activity. So remember this recipe on a busy days when you want a little something sweet but don't have the time—or the energy—to do much in the kitchen.

Recipe Details

Gluten-Free Single-Layer Yellow Cake Recipe

Prep 10 mins
Cook 40 mins
Active 15 mins
Cooling Time 60 mins
Total 110 mins
Serves 8 to 10 servings
Cook Mode (Keep screen awake)

Ingredients

  • Gluten-free non-stick cooking spray

  • 1 1/4 cups (5 ounces) white rice flour

  • 1 cup (8 ounces) granulated sugar

  • 1/2 cup (2 ounces) potato starch

  • 1 1/4 teaspoons baking powder

  • 3/4 teaspoon salt

  • 1/2 teaspoon xanthan gum

  • 1 stick (4 ounces) unsalted butter, softened

  • 2/3 cup milk or water

  • 3 large eggs

  • 2 teaspoons vanilla extract

For the Chocolate Buttercream (see note):

  • 2 cups (8 ounces) confectioners sugar, sifted if lumpy

  • 6 tablespoons cocoa powder, sifted if lumpy

  • 1/2 teaspoon salt

  • 1 stick (4 ounces) unsalted butter, softened

  • 4 tablespoons milk plus additional as needed

Directions

  1. For the Cake Adjust oven rack to middle position. Preheat oven to 350°F (175°C). Spray an 8 by 2-inch square cake pan or a 9 by 2-inch round cake pan with nonstick cooking spray. Set pan aside.

  2. In large mixing bowl, whisk together white rice flour, granulated sugar, potato starch, baking powder, salt, and xanthan gum. Add butter, milk (or water), eggs, and vanilla. Using a handheld mixer, mix until a thick batter forms, about 1 minute. Spread batter evenly into prepared pan. Bake until cake tester inserted into center of cake comes out clean, about 40 minutes. Place cake, in pan, on wire rack to cool. If desired, ice with buttercream icing when cool. (Or glaze with citrus glaze; see note)

  3. For the Chocolate Buttercream: In medium bowl, whisk together powdered sugar, cocoa powder, and salt. In large bowl, beat butter until light. Add powdered sugar-cocoa mixture and milk. Cream until smooth. Adjust thickness, if needed, by adding more milk, one tablespoon at a time. Icing should be thick and spreadable.

Special Equipment

8 by 2-inch square cake pan or 9 by 2-inch round cake pan; hand mixer

Notes

This simple layer cake goes well with chocolate buttercream. However, if you don't want to finish the cake with buttercream, a citrus glaze works well. To make, start by zesting your favorite citrus fruit. Then, in a small bowl, combine 1 cup powdered (confectioner's) sugar with 2 tablespoons milk or citrus juice, like lemon or grapefruit. Stir. Add one teaspoon of citrus zest. Thin, as needed, until the glaze is pourable but still thick.

Nutrition Facts (per serving)
459Calories
21gFat
65gCarbs
5gProtein
×
Nutrition Facts
Servings: 8 to 10
Amount per serving
Calories459
% Daily Value*
Total Fat 21g27%
Saturated Fat 12g61%
Cholesterol 106mg35%
Sodium 364mg16%
Total Carbohydrate 65g24%
Dietary Fiber 1g5%
Total Sugars 46g
Protein 5g
Vitamin C 0mg1%
Calcium 80mg6%
Iron 2mg9%
Potassium 127mg3%
*The % Daily Value (DV) tells you how much a nutrient in a food serving contributes to a daily diet. 2,000 calories a day is used for general nutrition advice.
(Nutrition information is calculated using an ingredient database and should be considered an estimate.)

More Serious Eats Recipes