A gluten-free cake should be tender, moist, and sturdy enough to stack or slice cleanly, not crumbly or gritty. This recipe uses a blend of rice flour, almond flour, and tapioca starch to mimic wheat’s structure, with xanthan gum for elasticity and buttermilk for tenderness. It bakes into a golden, fine-crumbed layer cake that works for birthdays, afternoon tea, or any celebration where you need a reliable gluten-free base.
Ingredients
- 1 1/2 cups (180 g) white rice flour
- 1/2 cup (50 g) almond flour (or 1/4 cup / 30 g more rice flour)
- 1/2 cup (60 g) tapioca starch (or cornstarch)
- 2 tsp (8 g) xanthan gum
- 2 tsp (10 g) baking powder
- 1/2 tsp (3 g) baking soda
- 1/2 tsp (3 g) salt
- 1 cup (200 g) granulated sugar
- 1/2 cup (115 g) unsalted butter, softened
- 3 large eggs, room temperature
- 1 cup (240 ml) buttermilk, room temperature
- 2 tsp (10 ml) vanilla extract
Instructions
- Heat the oven to 350°F (175°C). Grease two 8-inch (20 cm) round cake pans and line the bottoms with parchment paper.
- In a medium bowl, whisk together the rice flour, almond flour, tapioca starch, xanthan gum, baking powder, baking soda, and salt. Set aside.
- In a large bowl, beat the butter and sugar with an electric mixer on medium speed until light and fluffy, about 3 minutes. Add the eggs one at a time, beating well after each addition. Beat in the vanilla.
- With the mixer on low, add the flour mixture in three additions, alternating with the buttermilk, starting and ending with the flour. Mix until just combined; do not overmix.
- Divide the batter evenly between the prepared pans. Smooth the tops with a spatula.
- Bake for 25–30 minutes, until a toothpick inserted in the center comes out clean and the tops spring back when lightly pressed. The internal temperature should read about 200°F (93°C) if measured with a thermometer.
- Cool in the pans on a wire rack for 10 minutes, then turn out onto the rack and cool completely, about 1 hour, before frosting.
Choose Your Flour Blend and Swaps
This recipe works with a store-bought gluten-free all-purpose flour blend that contains xanthan gum; omit the additional xanthan gum if your blend already includes it. If you use a blend without xanthan gum, keep the 2 teaspoons. For a nut-free version, replace the almond flour with an equal amount of white rice flour or sorghum flour—the cake will be slightly less tender but still fine. For a dairy-free version, use a plant-based buttermilk (1 cup / 240 ml unsweetened oat or soy milk mixed with 1 tbsp / 15 ml lemon juice) and substitute the butter with a dairy-free margarine that contains fat, not a low-fat spread.
Bake Even Layers and Avoid a Gummy Crumb
Gluten-free batters are more delicate than wheat batters. Measure flours by spooning into the cup and leveling off, not scooping, to avoid a dry cake. Mix just until the flour is moistened—overmixing develops the xanthan gum and can make the cake gummy. For even layers, use a kitchen scale to weigh the batter into each pan (about 450 g per pan). If your oven runs hot, check at 22 minutes; if it runs cool, give up to 35 minutes.
Frost and Assemble the Cake
Use a simple buttercream or cream cheese frosting. For a 2-layer cake, you’ll need about 2 cups (480 ml) of frosting. Place one cooled layer on a plate, spread about 1/2 cup (120 ml) of frosting over the top, then place the second layer. Frost the sides and top with the remaining frosting. For a cleaner crumb, apply a thin layer of frosting, chill for 15 minutes, then apply the final coat. Serve at room temperature; the cake’s crumb is moist and slightly dense, pairing well with fresh berries or a dusting of powdered sugar.
Store and Freeze the Cake
Store frosted cake in an airtight container at room temperature for up to 2 days, or in the refrigerator for up to 4 days. Bring to room temperature before serving for best texture. Unfrosted layers can be wrapped tightly in plastic wrap and frozen for up to 3 months; thaw in the refrigerator overnight before frosting. Do not leave the cake out for more than 2 hours total (1 hour if the room is above 90°F / 32°C).
Check for Doneness and Fix Cracks
A toothpick test is reliable, but the most accurate check is an instant-read thermometer inserted into the center: it should read 200–205°F (93–96°C). If the top cracks, the oven was too hot or the batter was overmixed; reduce the temperature by 25°F (15°C) next time and mix just until combined. If the cake sinks in the middle, it was underbaked or the leavener was too old—check the baking powder’s expiration date.
Related
- Vegan Donuts Sydney: Recipe and Where to Find Them
- Gluten-Free Banana Bread Recipe UK
- How to Make Gluten Free Cake Pops
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).