Dinners

Gluten Free Cake Edinburgh: 7-Inch Vanilla Cake

Updated · By Patriot Kitchen

Total timeincludes chilling, rising or resting
1 hr 15 min
Prep
25 min
hands-on
Cook
30 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 well to break up lumps, then fold gently until just combined. This is a simple vanilla layer cake made with a gluten-free flour blend, butter, and buttermilk, baked in two 7-inch (18 cm) rounds. It has a tender crumb and a mild vanilla flavor, suitable for birthdays or afternoon tea.

Ingredients

  • 1 ½ cups (210 g) gluten-free all-purpose flour blend (with xanthan gum)
  • 1 ½ tsp baking powder
  • ½ tsp baking soda
  • ½ tsp salt
  • ½ cup (115 g) unsalted butter, softened
  • 1 cup (200 g) granulated sugar
  • 2 large eggs, room temperature
  • 2 tsp vanilla extract
  • ¾ cup (180 ml) buttermilk, room temperature

Instructions

  1. Preheat oven to 350°F (175°C). Grease two 7-inch (18 cm) round pans and line bottoms with parchment.
  2. In a medium bowl, whisk together flour, baking powder, baking soda, and salt. Set aside.
  3. In a large bowl, beat butter and sugar until light and fluffy, about 2 minutes.
  4. Add eggs one at a time, beating well after each. Beat in vanilla.
  5. With mixer on low, add flour mixture in three additions, alternating with buttermilk, starting and ending with flour. Mix until just combined; do not overmix.
  6. Divide batter evenly between pans. Bake for 25–30 minutes, until a toothpick inserted in center comes out clean.
  7. Cool in pans for 10 minutes, then turn out onto a wire rack to cool completely before frosting.

Why It Can Come Out Dry, Dense, or Sunken

Gluten-free cakes fail in predictable ways. Here are the three most common problems and the fixes.

Dry and Crumbly

Cause: Too much flour or overbaking. Gluten-free flours absorb more liquid than wheat flour. Measure by spooning flour into the cup and leveling, not scooping. Check the cake at 25 minutes; if a toothpick comes out with a few moist crumbs, it is done.

Dense and Heavy

Cause: Overmixing the batter. Gluten-free batters are fragile; overmixing develops too much structure and deflates air. Mix only until no streaks of flour remain. Also, ensure your baking powder is fresh (test by stirring 1 tsp into ½ cup hot water—it should bubble vigorously).

Sunken Center

Cause: Oven temperature too low or opening the door early. The cake needs the heat to set the structure. Bake at 350°F (175°C) and do not open the oven for the first 20 minutes. If your oven runs cool, use an oven thermometer.

Scaling the Recipe for Half or Double Batches

Batch Flour Sugar Butter Eggs Buttermilk Pans Bake time
Half ¾ cup (105 g) ½ cup (100 g) ¼ cup (57 g) 1 6 tbsp (90 ml) One 7-inch (18 cm) round 22–26 min
Full 1 ½ cups (210 g) 1 cup (200 g) ½ cup (115 g) 2 ¾ cup (180 ml) Two 7-inch (18 cm) rounds 25–30 min
Double 3 cups (420 g) 2 cups (400 g) 1 cup (230 g) 4 1 ½ cups (360 ml) Three 8-inch (20 cm) rounds or two 9-inch (23 cm) 28–33 min

For half batch, use one egg; for double, use four. If you need a half batch with a whole egg, use 1 egg and reduce buttermilk to 5 tbsp (75 ml) and flour to ¾ cup (105 g) plus 1 tbsp (8 g).

How to Store and How Long It Keeps

Frosted or unfrosted, the cake keeps at room temperature in an airtight container for up to 2 days. Refrigerate for up to 5 days; bring to room temperature before serving. Freeze unfrosted layers, wrapped tightly in plastic and foil, for up to 3 months. Thaw overnight in the fridge. Frosted cake freezes for up to 1 month, but the texture may soften.

Which Gluten-Free Flour to Use

Use a blend that already contains xanthan gum, such as a 1-to-1 baking flour. If your blend does not contain xanthan gum, add ½ tsp (2 g) to the dry ingredients. Do not use a single flour like almond or coconut; they change the texture and moisture.

Can I Make It Dairy-Free or Egg-Free?

For dairy-free: replace buttermilk with ¾ cup (180 ml) plain unsweetened oat or soy milk mixed with 1 tbsp (15 ml) lemon juice, and use a dairy-free butter substitute. For egg-free: use a commercial egg replacer according to package directions, but expect a slightly denser crumb. Both changes alter the flavor and texture; they are not exact swaps.

Why Use Buttermilk?

Buttermilk adds acidity, which helps the baking soda leaven and tenderizes the crumb. If you do not have buttermilk, make a substitute: add 1 tbsp (15 ml) lemon juice or white vinegar to ¾ cup (180 ml) milk, let stand 5 minutes, then use.

What to Do With Leftover Cake

Leftover cake can be crumbled and used as a trifle layer, or toasted lightly and served with fruit. Do not eat cake that has been at room temperature for more than 2 hours (1 hour if above 90°F/32°C).

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).