Desserts
This gluten-free cassava flour chocolate cake delivers all the fudgy richness of classic chocolate cake without a single grain of wheat. š« The secret lies in cassava flour's unique ability to create a tender yet dense crumb that stays moist for daysāa game-changer for gluten-free bakers who crave that perfect slice.
I developed this recipe after years of testing, ensuring every bite has the same satisfying texture and deep chocolate flavor you'd expect from a traditional cake.
The beauty of cassava flour is its versatilityāit's naturally gluten-free, grain-free, and absorbs moisture differently than wheat flour, which means we'll need to adjust our technique slightly. Don't worry, though: this recipe is foolproof, with clear instructions for mixing, baking, and achieving that signature fudgy texture.
The flax eggs and plant-based butter ensure it's completely plant-based while maintaining the rich, decadent qualities of classic chocolate cake.
What sets this cake apart is its moist, dense crumb that stays fresh for up to five days, making it perfect for meal prep or special occasions. The chocolate flavor is bold yet balanced, with none of the dryness or crumbly texture that often plagues gluten-free desserts.
Whether you're baking for dietary restrictions or simply craving a better-for-you treat, this recipe delivers restaurant-quality results at home.
Ready to bake? This recipe includes all the substitutions you'll need to make it work perfectly, from flax eggs to plant-based butter, ensuring every step is simple and stress-free. Let's get started on creating your new favorite gluten-free dessert.
Ingredients for cassava flour chocolate cake
Eight simple ingredients transform into a decadent, gluten-free chocolate cake with restaurant-quality fudgy texture.
| Ingredient | Amount | Notes |
|---|---|---|
| Cassava Flour š¾ | 2 cups | Gluten-free, finely milled preferred |
| Unsweetened Cocoa Powder š« | ¾ cup | Natural or Dutch-processed |
| Granulated Sugar š | 1 ½ cups | Organic preferred for purity |
| Coconut Sugar šæ | ½ cup | For deeper caramel notes |
| Ground Flaxseeds š° | ½ cup | For flax eggs (mix with water) |
| Unsweetened Almond Milk š„ | 1 cup | Cold, unsweetened preferred |
| Vegan Butter š§ | ¾ cup | Melted, full-fat preferred |
| Vanilla Extract šø | 1 tbsp | Pure Madagascar preferred |
| Apple Cider Vinegar š | 1 tbsp | For flax egg activation |
| Baking Soda š§ | ½ tsp | Pure, aluminum-free |
| Salt š§ | ½ tsp | Fine sea salt preferred |
| Dark Chocolate Chips š« | 1 ½ cups | Vegan, 70% cocoa minimum |
| Espresso Powder ā | 1 tsp | Enhances chocolate depth |
Cassava flour is the star hereāBob's Red Mill or Anthony's Goods brands deliver the finest texture. Look for a fine, sifted consistency; anything grainy will make your cake dense. The unsweetened cocoa powder matters tooāValrhona or Guittard brands have richer flavor than generic brands. I always grab extra because it's worth splitting a bag for better results. For the flaxseeds, ground fresh is ideal, but pre-ground works if stored in a cool, dark place. The almond milk? Silk or Califia Farms unsweetened versions keep their consistency best when cold.
No cassava flour? Tapioca starch at 1:1 ratio works in a pinch, but texture will be slightly lighter. Running short on almond milk? Oat milk or coconut milk both work, but coconut adds subtle flavor. The flax eggs can be swapped for chia eggs (1 tbsp chia seeds + 3 tbsp water), though flax has a slightly nuttier taste. For the chocolate chips, Enjoy Life brand is my go-to for vegan bakingāno weird aftertaste. Want more depth? Add 1/4 cup black cocoa powder for a mocha twist. The baking soda must be freshāif it's more than 6 months old, toss it and buy a new box.
This cake stays moist for 5 days when wrapped tightly in parchment and stored at room temperature. For longer storage, slice and freeze portions for up to 3 monthsāthey thaw beautifully. I always bake a double batch and freeze half for lazy days. The chocolate chips soften as it cools, so don't worry if it looks too firm right out of the oven. Let it sit 10 minutes before slicing for perfect clean cuts. Leftovers? Microwave 20 seconds to revive the fudgy texture.
Why You'll Love This Recipe
- No Mixer Needed: I swear by this recipe when my mixerās on the fritzājust whisk the cassava flour and cocoa powder with wet ingredients until smooth. The ground flaxseeds add binding magic, so no eggs or complicated steps here.
- Rich Without Guilt: That combo of unsweetened cocoa and coconut sugar? Deep, fudgy satisfaction with just a hint of caramelized sweetness. Honestly, Iāve made it for dessert and breakfastāno judgment, just pure chocolate joy.
- Weeknight Hero: Bake it, slice it, and store leftovers in the fridge for days. The texture stays moist (thanks, cassava flour), so itās my go-to for last-minute gatherings or when Iām too tired to fuss.
- Budget-Friendly Luxury: Cassava flour stretches farther than all-purpose, and cocoa powder adds decadence without breaking the bank. Between us, this cake costs half what store-bought fudge doesābut tastes like a splurge.
Step-by-step instructions for gluten-free chocolate cake
This recipe delivers fudgy, moist perfection with every biteāno gluten, no compromise.
šØāš³ Step 1: Prepare the Flax Egg and Melt the Butter
In a small bowl, whisk together the 0.5 cup ground flaxseeds with the 1 cup unsweetened almond milk. Let it sit for 5 minutes until it thickens into a gel-like consistencyāthis is your flax egg, the secret to binding our gluten-free cake. Meanwhile, melt the 0.75 cup vegan butter in a microwave-safe bowl in 30-second intervals, stirring between each, until completely smooth. The butter should be warm but not hot to the touch.
Here's the thingāI've found that using cold almond milk for the flax egg makes it thicken more evenly. If your mixture doesn't gel properly, add 1 teaspoon more almond milk and wait another 2 minutes. The flax egg needs to be fully set before mixing with dry ingredients, or your cake will turn out dense instead of light and airy.
š³ Step 2: Mix Wet Ingredients with Depth of Flavor
In a large mixing bowl, combine the melted vegan butter with the 1.5 cups granulated sugar, 0.5 cup coconut sugar, 1 tbsp vanilla extract, 1 tbsp apple cider vinegar, and 1 tsp espresso powder. Whisk vigorously for 2 minutes until the mixture becomes pale and slightly thickened. The espresso powder might seem unusual, but it enhances the chocolate flavor beautifullyātrust me on this one.
This is where the magic happens. The coconut sugar adds subtle caramel notes that balance the bitterness of the cocoa, while the vinegar brightens the overall flavor. The mixture should be smooth with no graininessāif you see any sugar crystals, whisk a bit longer until fully dissolved. The texture should be like a thick, glossy batter, ready to embrace the dry ingredients.
šØāš³ Step 3: Combine Dry Ingredients for Perfect Texture
In a separate bowl, sift together the 2 cups cassava flour, 0.75 cup unsweetened cocoa powder, 0.5 tsp baking soda, and 0.5 tsp salt. Cassava flour is our gluten-free hero hereāit creates that tender, moist crumb we all love. Sifting prevents lumps and ensures even distribution of leavening agents. Use a fine-mesh sieve for the best results, and tap the bowl gently to break up any stubborn clumps.
Now, gradually add the dry mixture to the wet ingredients while mixing on low speed with an electric mixer. Mix just until combinedāabout 30 seconds. Overmixing develops gluten in other flours, but since we're gluten-free, we want to keep this gentle. The batter should be thick but pourable, with a few streaks of cocoa still visible. This ensures we don't overdevelop the structure, keeping our cake tender rather than cakey.
š„ Step 4: Fold in Chocolate and Prepare the Pan
Gently fold in the 1.5 cups dark chocolate chips using a silicone spatula. Be careful not to overmixājust swirl them throughout the batter until evenly distributed. The chocolate should be visible in chunks throughout, promising pockets of gooey goodness in every bite. Meanwhile, preheat your oven to 350°F and grease two 8-inch round cake pans thoroughly with vegan butter, then line the bottoms with parchment paper.
Here's a pro tip: I like to press a few extra chocolate chips onto the bottom of each pan before pouring the batter. When baked, these create beautiful chocolate "pearls" on the underside of the cake that look stunning when sliced. Pour the batter evenly between the two prepared pans, filling them about ā full. Tap each pan gently on the counter to release any air bubbles that might have formed during mixing.
š„ Step 5: Bake to Perfect Doneness
Bake the cakes for 25-30 minutes, or until a toothpick inserted into the center comes out with just a few moist crumbs (not wet batter). The edges should be set, but the center should still have a slight wobbleāthis ensures a fudgy texture. Cassava flour cakes can dry out quickly if overbaked, so keep an eye on them starting at the 20-minute mark. Your oven might run hot, so start checking at 25 minutes if yours tends to run hot.
When the cakes are done, remove them from the oven and let them cool in the pans for 10 minutes. Then transfer to a wire rack to cool completely. Here's where patience pays offāthe cakes will continue setting as they cool, and trying to frost them warm will result in a messy, melty disaster. The final texture should be dense yet tender, with a crackly top and moist crumb that practically oozes with chocolate flavor.
Pro Tips For Making Cassava Flour Chocolate Cake
- Sift the Cassava Flour: Mixing cassava flour directly into wet ingredients creates lumps that wonāt dissolve no matter how much you stir. Sift it into the dry ingredients firstāeven if itās just a quick shake through a fine-mesh strainerāso it blends smoothly. (I learned this the hard way when my first batch had texture like sandpaper.)
- Whip the Eggs First: If youāre using eggs (and skipping flaxseeds for binding), whip them to soft peaks before adding sugarāthis incorporates more air, which cassava flour cakes desperately need. Skip this, and your cake might end up dense, even if the recipe calls for baking powder. (Yes, Iāve made that mistake.)
- Donāt Overmix the Batter: Cassava flour is gluten-free, so it doesnāt have the same tolerance for heavy mixing. Stir just until the flax "eggs" (or actual eggs) are combined and the dry ingredients are barely incorporated. Overmixing makes the cake toughālike a sad, dry hockey puck. (Trust me, youāll taste the difference.)
- Use Coconut Sugar Sparingly: Coconut sugar adds molasses-like depth but burns faster than granulated sugar. If your recipe calls for both, add the coconut sugar after the granulated and mix it in thoroughlyāotherwise, youāll get bitter pockets. (I once had a cake where half the pan tasted like overcooked caramel.)
Storing and reheating this recipe
Room-Temp Storage
This cake stays gloriously moist for 5 days when wrapped tightly in parchment paper and stored at room temperature. The cassava flour's natural gums help retain moisture better than wheat flour, so you won't get that dry, crumbly texture.
I always store mine in an airtight container with a slice of bread on top to absorb any excess moisture that might make the cake soggy. The bread trick works wonders for keeping the texture perfect. š«
Fridge Preservation
For longer storage, slice the cake and refrigerate individual portions in quart-sized mason jars or plastic wrap. The cold helps preserve the fudgy texture for up to 7 days, though I find the flavor peaks at 3-4 days.
When ready to eat, let slices sit at room temperature for 10 minutes before servingāthey'll soften beautifully. For quick snacks, I often keep pre-sliced portions in the fridge and grab them straight from the container.
Freezer Magic
Slice the cake before freezing for perfect portionsāwrap each slice tightly in plastic wrap, then place in a freezer bag with all air removed. This method keeps the cake fresh for 3 months without texture loss.
When ready to enjoy, thaw overnight in the fridge or for 15 minutes in the microwave on low power. The microwave method works best for last-minute cravings, but the fridge method preserves the texture better for multiple servings.
Reheating Secrets
For the best texture revival, warm slices in a 350°F oven for 5-7 minutes on a wire rack. This gentle heat reactivates the moisture without drying out the edges. If using the microwave, heat for 10-15 seconds on medium powerājust enough to soften the texture without making it gummy.
I always add a splash of almond milk (about 1 teaspoon) to the plate before microwaving to help restore moisture.
Make-Ahead Tips
Bake the cake 2 days ahead of time for maximum flavor developmentāthe chocolate and cassava flavors meld beautifully over time. Store fully assembled (with frosting) in the fridge for up to 4 days.
If freezing the whole cake, wrap it tightly in plastic wrap followed by foil, then place in a freezer bag**. Thaw overnight in the fridge before frosting. This method keeps the layers perfectly intact for special occasions. š”
Nutrition facts
Frequently asked questions
Why does this recipe use cassava flour instead of regular flour?
Cassava flour creates a naturally gluten-free, grain-free cake with a tender yet dense crumb that stays moist longer than traditional wheat flour. It's also lower in carbs and higher in resistant starch, making it a great option for those avoiding gluten or following low-carb diets. The unique texture gives this cake its signature fudgy quality without needing extra moisture.
Can I substitute cassava flour with another gluten-free flour?
While you can try almond flour or coconut flour, the texture will differ significantly. For best results, use a 1:1 cassava flour substitution. If you must swap, combine cassava with 1/4 tsp xanthan gum per cup to improve structure. Remember, cassava's moisture-absorbing properties are key to this recipe's successāother flours may require additional liquid.
How do I know when the cake is fully baked?
Insert a toothpick into the centerāit should come out with a few moist crumbs but no wet batter. Cassava cakes can look underdone even when fully baked, so rely on the toothpick test rather than appearance. The edges should be set while the center still has a slight wobble for that perfect fudgy texture. Start checking at 25 minutes if your oven runs hot.
What's the best way to frost this cake?
Use a vegan buttercream or chocolate ganache for maximum flavor. Let the cake cool completely firstāfrosting warm cake causes melting and mess. For extra richness, spread a thin layer of ganache between cake layers. The dense texture of this cake pairs beautifully with a slightly thicker frosting that can hold its shape without sinking.
Why did my cake turn out dry or crumbly?
Overbaking is the most common causeācassava cakes dry out quickly. Check at 25 minutes and remove when the toothpick test passes. Another culprit could be insufficient moisture: ensure your flax egg is fully thickened and all ingredients are at room temperature. For extra moisture, add 1-2 tbsp almond milk to the batter if needed.
