Time 1 hr 10 min total · Serves 10 · The key step Let the batter rest 10 minutes before baking so the cocoa and rice flour hydrate.
This is a one-bowl chocolate layer cake made with white rice flour and cocoa instead of wheat flour, finished with a plain chocolate buttercream. The crumb is tender and slightly dense, closer to a brownie cake than a sponge, with a deep cocoa flavor that carries the sweetness.
It suits a birthday, a potluck or a Sunday dessert, and it slices cleanly at room temperature after an hour of cooling.
What Wheat-Free Means Here
Wheat-free is not the same as gluten-free. This cake contains no wheat flour, but cocoa, butter and eggs are the only other ingredients, so nothing else in the list brings gluten. If you need a gluten-free cake for a guest with celiac disease, check that every package — cocoa, rice flour, baking powder, vanilla — carries a gluten-free label, because milling and packing lines are shared.
White rice flour is the base because it is mild and absorbs liquid predictably. Brown rice flour works but tastes nuttier and gives a coarser crumb; swap it gram for gram and add 1 tablespoon (15 ml) of milk to the batter. Cornstarch lightens the texture: without it the cake can turn gummy in the middle. Do not substitute coconut flour — it drinks far more liquid and will produce a dry, crumbly cake at these quantities.
Xanthan gum is not needed. The eggs and the starch do the binding, and a wheat-free cake with added gum often turns rubbery.
Ingredients
- 1 cup (200 g) granulated sugar
- 3/4 cup (90 g) white rice flour
- 1/3 cup (30 g) unsweetened cocoa powder, plus 1 tbsp (6 g) for dusting the pans
- 1/4 cup (30 g) cornstarch
- 1 1/2 tsp (6 g) baking powder
- 1/2 tsp (3 g) fine salt
- 2 large eggs, at room temperature
- 1/2 cup (120 ml) whole milk
- 1/2 cup (120 ml) neutral oil, such as canola
- 2 tsp (10 ml) vanilla extract
- 1/2 cup (120 ml) boiling water
For the chocolate buttercream
- 1/2 cup (113 g) unsalted butter, softened
- 1 3/4 cups (210 g) powdered sugar
- 1/4 cup (25 g) unsweetened cocoa powder
- 2–3 tbsp (30–45 ml) whole milk
- 1/2 tsp (2.5 ml) vanilla extract
- Pinch of fine salt
Instructions
- Heat the oven to 350°F (175°C). Grease two 8-inch (20 cm) round pans, line the bases with parchment, and dust the sides with the extra tablespoon of cocoa, tapping out the excess.
- Whisk the sugar, rice flour, 1/3 cup (30 g) cocoa, cornstarch, baking powder and salt in a large bowl until no streaks of cocoa remain, about 30 seconds.
- Add the eggs, milk, oil and vanilla. Whisk until the batter is smooth and glossy, 1–2 minutes; it will be thin.
- Pour in the boiling water and whisk gently just until combined. The batter will be very loose, like heavy cream. Let it rest 10 minutes at room temperature — this hydrates the rice flour and cocoa and gives a finer crumb.
- Divide the batter evenly between the pans, about 400 g each. Bake at 350°F (175°C) for 28–32 minutes, until the tops spring back when pressed lightly and a toothpick inserted at the center comes out with a few moist crumbs. The cake pulls slightly away from the pan sides at the end.
- Cool in the pans 10 minutes, then turn out onto a rack, peel off the parchment and cool completely, about 45 minutes. Frosting a warm cake melts the buttercream.
- For the buttercream, beat the butter until pale, about 2 minutes. Add the powdered sugar, cocoa, vanilla and salt, and beat on low until combined, then on medium 2 minutes. Add milk 1 tablespoon at a time until the frosting holds a soft peak and spreads without tearing the cake.
- Place one layer on a plate, spread about 1/2 cup (120 ml) of frosting over it, set the second layer on top and spread the rest over the top and sides. Serve at room temperature.
Doneness and What Goes Wrong
Time alone is a poor guide because rice-flour batters brown faster than wheat ones. Judge by three cues: the center springs back under a light finger press, the edges have shrunk about 1/8 inch (3 mm) from the pan, and a toothpick at the center comes out with moist crumbs rather than wet batter. If the top darkens before 25 minutes, lay a sheet of foil loosely over the pans.
Three failures account for most wheat-free chocolate cakes. First, overbaking by even 4–5 minutes: rice flour has no gluten to hold structure, so the crumb turns dry and sandy. Second, skipping the rest: batter baked straight after mixing can sink in the middle and taste chalky because the cocoa has not absorbed water. Third, under-whisking the dry ingredients: a pocket of baking powder leaves a bitter, soapy patch in one slice.
A cake that domes sharply and cracks usually means the pans were filled more than two-thirds full or the oven ran hot; an oven thermometer is worth the small cost. A gummy center with a set top points to underbaking — return it to the oven for 5 minutes and test again.
Frosting, Cutting and Swaps
The buttercream is deliberately soft so it does not tear the tender layers. For a dairy-free version, use a stick-style plant butter and oat milk; the frosting will be slightly softer, so chill the frosted cake 20 minutes before slicing. A ganache of 4 oz (115 g) chopped dark chocolate stirred into 1/2 cup (120 ml) hot cream, cooled to spreading consistency, also works and sets firmer than buttercream.
For cupcakes, fill paper liners two-thirds full and bake at 350°F (175°C) for 18–20 minutes; the recipe makes about 16. For a single 9-inch (23 cm) square pan, bake 32–36 minutes. Cut cooled cake with a thin knife wiped clean between slices for sharp edges.
The eggs here are fully baked, so the usual raw-egg caution does not apply to the cake. It does apply to the frosting if you taste it before the cake is baked — the buttercream contains no egg, but any raw batter you sample does contain raw egg and raw rice flour, so keep spoons out of the bowl.
Storing and Freezing
Unfrosted layers keep at room temperature, wrapped tightly, for 2 days, or refrigerated for 4 days. Frosted cake keeps refrigerated for 3–4 days in a sealed container; let slices sit 20 minutes at room temperature before serving so the buttercream softens. Refrigerate within 2 hours of frosting.
Freeze unfrosted layers double-wrapped in plastic and foil for up to 2 months; thaw at room temperature, still wrapped, for about 2 hours. Frosted cake freezes for up to 1 month — freeze it uncovered for 1 hour first so the buttercream firms, then wrap. Leftover slices reheat in a microwave for 15–20 seconds, just enough to soften the crumb.
Related
- Wheat-Free Banana Bread Recipe
- Homemade Durum Semolina Wheat Pasta
- Sugar Free Whole Wheat Bread 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).