
This Gluten Free Chocolate Cake with Mocha Buttercream is the cake I make for my youngest son every year.
He follows a gluten free and dairy free diet, and over time this has become his cake—the one he asks for, without fail. The base is adapted from America’s Test Kitchen, but the espresso soak and mocha buttercream are my additions, bringing extra depth and richness.
It’s rich, deeply chocolatey, with a tender, ultra-moist crumb, exactly what you want from a great chocolate cake. And every time I serve it, everyone is surprised it’s gluten free.
If you’re wondering why this cake is decorated with Smarties, it goes back to when my son was little. I wasn’t sure if he might be colour blind like his dad, and every answer to “what colour is this?” was “green”—with a giggle. So I started testing him. I’d hold up a Smartie and ask the colour. If he got it right, he got to eat it. He passed with flying colours, and somehow that little test became a tradition. This is still his birthday cake, every year.
Watch it come together:
Keys to Success:
- Use a good gluten-free flour blend. Not all gluten-free flour blends behave the same way. I use Bob’s Red Mill 1:1 Baking Blend, which already contains xanthan gum. If your blend doesn’t, make sure to add it—it’s what gives the cake structure and keeps it from crumbling.
- Sift the cocoa powder. Cocoa powder loves to clump, and those lumps don’t always dissolve properly. A quick sift ensures a smooth, evenly mixed batter and a more consistent chocolate flavour throughout.
- Don’t skip the chocolate + cocoa step. Melting the chocolate with the oil and cocoa powder might seem like an extra step, but it’s what gives this cake its deep, rich chocolate flavour. It also helps create that smooth, cohesive batter that bakes up beautifully tender.
- Let the chocolate mixture cool slightly. You don’t want it hot when it goes into the eggs. Warm is fine—hot can scramble them. Give it a few minutes so everything stays smooth.
- Weigh your ingredients. This is especially important with gluten-free baking. A little too much flour can make the cake dense, while too little can affect structure. A kitchen scale takes the guesswork out and gives you consistent results.
- Don’t over bake. Gluten-free cakes can go from perfectly tender to dry quickly. Start checking at 18 minutes. You’re looking for a few moist crumbs on the toothpick—not a completely dry one.
- Chill the cake layers before frosting. A short chill (20–30 minutes) makes the layers easier to handle and reduces crumbs when frosting. It’s a small step that makes a big difference in how clean your final cake looks.
- Use the espresso syrup lightly. The syrup adds moisture and enhances the chocolate flavour, but you don’t want to soak the layers. A light brush is all you need.. This recipe makes more syrup than you’ll need. The extra keeps well in the fridge for up to a month—perfect for brushing onto other cakes or even adding to coffee.
- Make sure your meringue is fully cooled. Before adding the butter, the bowl should feel completely neutral—not warm at all. If it’s even slightly warm, the buttercream can turn soupy.
- Don’t panic if the buttercream looks curdled. It almost always does at some point. Just keep mixing—it will come together into a smooth, silky buttercream.
- Let the cake sit before serving. If you’ve refrigerated it, let the cake sit at room temperature for 20–30 minutes before serving. The buttercream softens, and the texture of the cake is at its best.

Gluten Gluten Free Chocolate Cake with Mocha Buttercream (That Actually Tastes Great)
Equipment
- 1 candy thermometer or instant read digital thermometer
- 1 electric stand mixer
- 3 8 inch cake pans
Ingredients
Cake
- 238 grams vegetable oil or sunflower oil
- 204 grams bittersweet or semisweet chocolate, coarsely chopped into 1/4 inch chunks
- 68 grams unsweetened cocoa powder, sifted
- 240 grams Gluten free flour blend, (I like Bob's Red Mill Gluten Free 1 to 1 Baking Blend)
- 1 1/2 teaspoons baking powder
- 1 teaspoon baking soda
- 1 teaspoon Diamond Crystal Kosher salt, or 1/2 teaspoon Mortons kosher salt
- 1 teaspoon xanthan gum, only if your gluten-free flour blend does not already contain it.
- 5 large eggs
- 2 teaspoons vanilla bean paste or vanilla extract
- 360 grams granulated sugar
- 290 grams whole milk, or coconut milk for a dairy-free option
Coffee Simple Syrup
- 1/2 cup water
- 1/2 cup granulated sugar
- 1 Tablespoon instant espresso powder
Mocha Swiss Meringue Buttercream
- 260 grams bittersweet or semisweet chocolate, chopped coarsely into 1/4 inch pieces
- 180 grams egg whites, about 6 egg whites
- 260 grams granulated sugar
- 454 grams unsalted butter, or vegan butter for dairy-free option, room temperature, cut into 1/2 inch cubes
- 2 Tablespoons instant espresso powder
- 2 Tablespoons boiling water
- 1 Tablespoon vanilla bean paste or vanilla extract
Instructions
Prepare baking pans:
- Adjust an oven rack to the lower-middle position and preheat the oven to 350°F. Grease three 8-inch round cake pans and line the bottoms with parchment paper circles.
Make cake:
- In a medium microwave-safe bowl, microwave the oil, chocolate, and cocoa powder at 50% power, stirring occasionally, until the chocolate is melted, 1 to 2 minutes. Whisk until smooth and set aside to cool slightly.
- In a separate bowl, whisk together the gluten-free flour blend, baking powder, baking soda, salt, and xanthan gum, if using.
- In a large bowl, whisk together the eggs and vanilla. Add the sugar and whisk until well combined. Whisk in the cooled chocolate mixture and the milk until smooth. Add the dry ingredients and switch to a rubber spatula, stirring until the batter is smooth and fully combined.
- Divide the batter evenly among the prepared pans and smooth the tops. Bake for 18 to 20 minutes, until a toothpick inserted in the centre of a cake comes out clean.
- Let the cakes cool in the pans on a wire rack for 10 minutes. Run a knife around the edges to loosen, then turn the cakes out onto the rack, peel off the parchment, and let cool completely, about 1 hour.(The cake layers can be wrapped tightly in plastic wrap and stored at room temperature for up to 1 day.)For easiest assembly, chill the cake layers for 20 to 30 minutes before frosting.
Make coffee simple syrup:
- In a small saucepan, combine the water and sugar. Bring to a boil over high heat and cook just until the sugar dissolves. Remove from the heat and stir in the espresso powder. Pour into a glass measuring cup or small bowl and refrigerate until chilled.
Make buttercream:
- Place the chocolate in a glass measuring cup or microwave-safe bowl. Microwave at medium power for 2 minutes, then stir well. If needed, microwave for another 30 seconds at medium power and stir until completely melted. Set aside to cool.
- Place the egg whites and sugar in the bowl of a stand mixer and whisk by hand just until combined.
- Set up a double boiler: Fill a saucepan with a few inches of water and bring it to a simmer. Set the mixer bowl over the saucepan, making sure the bottom of the bowl does not touch the water.
- Cook the egg white mixture over the simmering water, whisking occasionally, until it reaches 160°F on a candy thermometer. It should feel very warm and the sugar should be fully dissolved.
- Once the mixture reaches 160°F, carefully return the bowl to the stand mixer. Using the whisk attachment, beat on high speed for about 8 minutes. If the bowl still feels warm, continue beating until it has cooled to room temperature. The meringue should be glossy and hold medium-stiff peaks. Switch to the paddle attachment.
- With the mixer on medium-low, add the butter a few pieces at a time. Scrape down the bowl as needed. The mixture may look curdled at one point, but keep mixing and it will come together.If the buttercream looks too soft or loose at this stage, chill it briefly, then beat again until smooth.
- In a small bowl, stir together the espresso powder and boiling water until dissolved. Add the espresso mixture and vanilla to the buttercream and mix on medium speed for about 20 seconds. Reduce the speed to low and drizzle in the cooled melted chocolate.
- Increase the speed to medium and beat until the buttercream is silky smooth, about 2 minutes more.
Assemble and frost cake:
- Place one cake layer on a serving platter or cake stand. Tuck 4 small strips of waxed paper under the edges of the cake to keep the platter clean while frosting.Brush the top of the layer with some of the espresso simple syrup—just enough to moisten the cake without soaking it. Spread about 1/2 cup of buttercream over the top with an offset spatula.Repeat with the second and third layers.If you want a very clean finish, apply a thin crumb coat and chill the cake for 15 to 20 minutes before adding the final layer of buttercream.Frost the top and sides of the cake, then smooth the buttercream with an offset spatula or bench scraper.
- Carefully remove the waxed paper strips. Refrigerate the cake until ready to serve.

What started as a little Smarties test turned into a birthday tradition that stuck. It’s still the cake he asks for every year. It may be gluten-free and dairy-free, but that’s beside the point. It’s just a really good chocolate cake—rich, tender, and quietly a bit luxurious.






































