Dinners

Gluten Free Cake Shop at Home: Basic Yellow Cake

Updated · By Patriot Kitchen

Total timeincludes chilling, rising or resting
1 hr 15 min
Prep
20 min
hands-on
Cook
35 min
oven or stovetop
Serves
8
as written

Jump to recipe Save

Time: 1 hr 15 min  ·  Serves: 8  ·  The key step: Whisk the dry ingredients thoroughly to distribute the xanthan gum before adding wet ingredients. This simple yellow cake is made with a gluten-free flour blend and bakes up tender and moist, perfect for birthdays, potlucks, or an everyday dessert. It uses one bowl and no special equipment beyond a whisk.

Why a Gluten-Free Flour Blend Works Here

Most gluten-free cake recipes rely on a store-bought all-purpose gluten-free flour blend that already contains xanthan gum or guar gum. These gums replace the structure that gluten would normally provide, giving the cake a tender crumb that holds together when sliced. If your blend does not list xanthan gum or guar gum in the ingredients, add 1/2 teaspoon of xanthan gum to the dry mix. For a dairy-free version, use a dairy-free milk alternative and melted coconut oil or a neutral oil in place of the butter.

Ingredients

  • 2 cups (250 g) gluten-free all-purpose flour blend (with xanthan gum)
  • 1 1/2 teaspoons baking powder
  • 1/2 teaspoon baking soda
  • 1/2 teaspoon salt
  • 1 cup (200 g) granulated sugar
  • 1/2 cup (113 g) unsalted butter, softened (or 1/2 cup / 120 ml neutral oil)
  • 3 large eggs, at room temperature
  • 2 teaspoons vanilla extract
  • 1 cup (240 ml) buttermilk, at room temperature (or 1 cup milk plus 1 tablespoon lemon juice, let sit 5 minutes)

Instructions

  1. Heat the oven to 350°F (175°C). Grease a 9-inch (23 cm) round cake pan and line the bottom with parchment paper.
  2. In a medium bowl, whisk together the flour blend, baking powder, baking soda, and salt. Whisk for at least 30 seconds to ensure the leaveners and any gum are evenly distributed.
  3. In a large bowl, beat the butter and sugar with an electric mixer on medium speed until light and fluffy, about 2–3 minutes. Scrape down the sides.
  4. Add the eggs one at a time, beating well after each addition. Beat in the vanilla.
  5. With the mixer on low, add the dry ingredients in three additions, alternating with the buttermilk, starting and ending with the dry. Mix just until combined—do not overmix.
  6. Pour the batter into the prepared pan and smooth the top. Bake for 30–35 minutes, until a toothpick inserted in the center comes out clean and the top springs back lightly when touched.
  7. Cool in the pan on a wire rack for 10 minutes, then turn out onto the rack to cool completely before frosting.

What Makes a Gluten-Free Cake Dense or Gummy

The most common problem is overmixing the batter. Gluten-free flours have no gluten to develop, so overmixing simply knocks out the air and makes the cake dense. Mix just until the flour disappears. Another mistake is using a flour blend that contains no gum—without it, the cake will crumble. If your blend is gum-free, add 1/2 teaspoon xanthan gum to the dry ingredients. Also, measure the flour by spooning it into the cup and leveling off; scooping can pack in too much flour, making the cake dry.

Storing and Making Ahead

Store the unfrosted cake in an airtight container at room temperature for up to 2 days. Frosted cake can be refrigerated for up to 4 days—bring to room temperature before serving. The cake freezes well for up to 3 months when wrapped tightly in plastic wrap and foil. To make ahead, bake the cake layers up to 2 days in advance, cool completely, wrap well, and refrigerate until ready to frost.

Serving and Pairing Ideas

This cake pairs well with a simple vanilla buttercream or chocolate ganache. For a birthday, use your favorite frosting and add sprinkles. Serve with fresh berries or a scoop of dairy-free ice cream. For a coffee cake variation, add 1 teaspoon of cinnamon to the dry ingredients and sprinkle a cinnamon-sugar mixture over the top before baking.

Frequently Asked Questions

Can I use almond flour instead of a gluten-free blend? No—almond flour lacks the starch and structure needed for a light cake. Use a blend specifically labeled for all-purpose baking.

Why did my cake sink in the middle? The oven may have been too cool, or the batter was overmixed. Check your oven temperature with an oven thermometer and mix only until combined.

Can I make this into cupcakes? Yes—divide the batter among 12 lined muffin cups and bake at 350°F (175°C) for 18–22 minutes, until a toothpick comes out clean.

Related

Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.

Spotted an error? Tell us and we will correct it (corrections policy).