Gluten-free cake depends on a flour blend that mimics wheat’s structure; a mix of rice flour, tapioca starch, and potato starch gives a tender crumb without gumminess. This vanilla layer cake uses that blend with xanthan gum for binding, so it slices cleanly and holds frosting. It suits birthdays, potlucks, or any dessert table where gluten-free guests are expected.
Ingredients
- 2 1/2 cups (300 g) gluten-free all-purpose flour blend (with xanthan gum, or add 1 tsp xanthan gum)
- 1 1/2 cups (300 g) granulated sugar
- 1 tbsp (12 g) baking powder
- 1/2 tsp salt
- 3/4 cup (180 ml) whole milk, at room temperature
- 1/2 cup (120 ml) vegetable oil
- 2 large eggs, at room temperature
- 2 tsp vanilla extract
- 1/2 cup (120 ml) hot water
For the frosting
- 1 cup (226 g) unsalted butter, softened
- 3 cups (360 g) powdered sugar
- 2 tbsp (30 ml) whole milk
- 1 tsp vanilla extract
- Pinch of salt
Instructions
Prep the pans and oven
- Heat the oven to 350°F (175°C). Grease two 9-inch (23 cm) round cake pans and line the bottoms with parchment paper.
- In a large bowl, whisk the flour blend, sugar, baking powder, and salt. If your flour blend does not contain xanthan gum, whisk in 1 tsp xanthan gum.
Make the batter
- Add the milk, oil, eggs, and vanilla to the dry ingredients. Beat on medium speed for 2 minutes, scraping the bowl once. The batter will be thick.
- Pour in the hot water and beat on low until just combined; the batter will be thin. Divide evenly between the prepared pans.
Bake and cool
- Bake for 25–30 minutes, until a toothpick inserted in the center comes out clean and the tops spring back when pressed. The internal temperature of the cake should read 200°F (93°C) on an instant-read thermometer.
- Cool in the pans on a wire rack for 15 minutes, then turn out onto the rack and cool completely, about 1 hour.
Make the frosting and assemble
- While the cake cools, beat the butter on medium speed until creamy, about 2 minutes. Gradually add the powdered sugar, then the milk, vanilla, and salt. Beat on high for 2 minutes until light and fluffy.
- Place one cake layer on a serving plate. Spread about 1 cup of frosting over the top. Place the second layer on top and frost the top and sides.
Serving and Pairing
Serve at room temperature. This vanilla cake pairs well with fresh berries, a scoop of dairy-free sorbet, or a cup of coffee. For a birthday, add sprinkles on the frosted sides.
Variations
Chocolate gluten-free cake: Replace 1/2 cup (60 g) of the flour blend with 1/2 cup (40 g) unsweetened cocoa powder. Increase the hot water to 3/4 cup (180 ml).
Lemon gluten-free cake: Add 1 tbsp lemon zest to the dry ingredients and replace the vanilla in the cake with 1 tsp lemon extract. Use lemon juice instead of milk in the frosting.
Storing and Freezing
Store frosted cake in an airtight container at room temperature for up to 2 days, or refrigerate for up to 4 days. Bring to room temperature before serving. Unfrosted layers can be wrapped tightly in plastic wrap and frozen for up to 3 months; thaw in the refrigerator overnight.
Flour Blend Notes
Use a store-bought gluten-free all-purpose flour blend that contains xanthan gum, such as one labeled “cup-for-cup.” If your blend lacks xanthan gum, add 1 tsp to the dry ingredients. Do not substitute single flours like almond or coconut without adjusting the recipe, as they change the texture and moisture.
Why This Cake Works
The hot water adds moisture and helps the gluten-free flours hydrate fully, reducing a gritty texture. The oil keeps the crumb tender, and the xanthan gum provides the elasticity that gluten would normally give. This cake is sturdy enough to stack and frost, yet light enough for a snack.
Common Questions
Can I make this dairy-free? Yes, use a dairy-free milk like oat milk and a dairy-free butter substitute in the frosting. Check the labels of your flour blend and baking powder to ensure they are gluten-free and dairy-free.
Why did my cake sink in the middle? The oven may have been too cool, or the batter was overmixed after adding the hot water. Measure the oven temperature with an oven thermometer, and stop mixing as soon as the water is incorporated.
Can I bake this as a sheet cake? Yes, pour the batter into a greased 9×13-inch (23×33 cm) pan and bake at 350°F (175°C) for 30–35 minutes, until a toothpick comes out clean.
Related
- Chicken and Honey Raleigh NC: What to Look For
- Vegan Donuts Raleigh NC: How to Find Fresh Ones
- Gluten-Free Banana Bread Recipe UK
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).