This gluten-free chocolate cake is moist, tender, and rich, with a crumb that holds together just like a wheat-based layer cake. It is made with a blend of rice flour and almond flour, which gives it a soft, slightly nutty texture, and it is perfect for birthdays, potlucks, or any celebration where you need a reliable gluten-free dessert.
Ingredients
- 1 3/4 cups (220 g) gluten-free all-purpose flour (or 1 1/4 cups / 160 g white rice flour + 1/2 cup / 60 g almond flour)
- 1 cup (200 g) granulated sugar
- 3/4 cup (75 g) unsweetened cocoa powder
- 1 1/2 tsp baking powder
- 1/2 tsp baking soda
- 1/2 tsp salt
- 2 large eggs (pasteurized if you prefer)
- 1 cup (240 ml) buttermilk (or 1 cup milk + 1 tbsp lemon juice, let sit 5 min)
- 1/2 cup (120 ml) vegetable oil
- 2 tsp vanilla extract
- 1/2 cup (120 ml) hot coffee or hot water
Instructions
- Preheat oven to 350°F (175°C). Grease two 8-inch (20 cm) round cake pans and line the bottoms with parchment paper.
- In a large bowl, whisk together the flour (or rice flour and almond flour), sugar, cocoa powder, baking powder, baking soda, and salt.
- Add the eggs, buttermilk, oil, and vanilla. Beat on medium speed for 2 minutes, scraping the sides once.
- Reduce speed to low and slowly pour in the hot coffee or water. Mix until just combined – the batter will be thin.
- Divide the batter evenly between the prepared pans. Bake for 25–30 minutes, until a toothpick inserted in the center comes out clean or with a few moist crumbs.
- Cool in the pans on a wire rack for 15 minutes, then turn out onto the rack to cool completely before frosting.
What Frosting Works Best?
This cake is excellent with a simple chocolate buttercream or a cream cheese frosting. For a dairy-free option, use a dairy-free butter substitute and dairy-free milk in the frosting. If you prefer a lighter finish, dust the top with powdered sugar or serve with whipped cream.
How to Scale the Recipe for a Half or Double Batch
| Batch | Eggs | Flour | Sugar | Cocoa | Buttermilk | Oil | Baking Time |
|---|---|---|---|---|---|---|---|
| Half (6 servings) | 1 | 7/8 cup (110 g) | 1/2 cup (100 g) | 6 tbsp (38 g) | 1/2 cup (120 ml) | 1/4 cup (60 ml) | 20–25 min |
| Full (12 servings) | 2 | 1 3/4 cups (220 g) | 1 cup (200 g) | 3/4 cup (75 g) | 1 cup (240 ml) | 1/2 cup (120 ml) | 25–30 min |
| Double (24 servings) | 4 | 3 1/2 cups (440 g) | 2 cups (400 g) | 1 1/2 cups (150 g) | 2 cups (480 ml) | 1 cup (240 ml) | 30–35 min |
For a half batch, use one 8-inch (20 cm) pan. For a double batch, use two 9×13-inch (23×33 cm) pans or three 8-inch (20 cm) rounds.
How Long Does Gluten Free Cake Keep?
Store frosted cake in an airtight container at room temperature for up to 2 days, or refrigerate for up to 4 days. Unfrosted layers can be wrapped tightly in plastic wrap and frozen for up to 3 months. Thaw overnight in the refrigerator before frosting.
What Can Go Wrong and How to Fix It
If the cake sinks in the middle, the batter may have been overmixed or the oven temperature was too low. Check your oven with an oven thermometer. If the cake is dry, reduce baking time by 2–3 minutes next time, or add 2 tablespoons of applesauce to the batter. If the cake is gummy, the flour blend may be too high in starch – try using a blend that contains xanthan gum, or add 1/4 teaspoon xanthan gum if your blend doesn’t have it.
Gluten Free Cake for Birthdays and Large Batches
This cake works well as a sheet cake for a crowd. Use a 9×13-inch (23×33 cm) pan and bake for 30–35 minutes. For a layer cake, double the recipe and use three 8-inch (20 cm) pans. You can also make cupcakes: fill liners 2/3 full and bake for 18–22 minutes, until a toothpick comes out clean.
For a dairy-free version, replace buttermilk with 1 cup (240 ml) plain unsweetened almond milk mixed with 1 tablespoon lemon juice, and use a dairy-free butter in the frosting. For an egg-free version, use 1/2 cup (120 ml) unsweetened applesauce in place of the eggs – the cake will be slightly denser.
Always check the labels on your flour and cocoa powder to ensure they are certified gluten-free if you are serving someone with celiac disease or a severe gluten intolerance.
Related
- Gluten-Free Banana Bread Recipe UK
- How to Make Gluten Free Cake Pops
- Gluten Free Dairy Free Gingerbread Cake Recipe
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).