There's a very specific kind of joy that comes from pulling a rich, dark chocolate cake out of the oven and knowing that pretty much everyone at the table can actually eat it. That's exactly why I keep coming back to this recipe. It's fully gluten free and dairy free, but it doesn't taste like a "free-from" cake at all — it's moist, deeply chocolatey, and honestly one of the best chocolate cakes I've made, restrictions or not.

The real star here is the frosting. Instead of the usual dairy-free butter-and-powdered-sugar situation (which can turn out grainy or too sweet), this one is built on baked, mashed sweet potato. It sounds unusual, I know, but baking the sweet potatoes first gives you a naturally thick, silky, almost fudgy base that holds cocoa and vanilla beautifully — no mountain of powdered sugar required.
If you're baking for someone with celiac disease, a dairy allergy, or just want a chocolate cake that's a little more wholesome without sacrificing flavor, this is the one to bookmark.
Why You'll Love This Recipe
This cake checks a lot of boxes at once. It's completely gluten free and dairy free, so it works for a wide range of dietary needs at the same table. The batter comes together with simple pantry staples, and the "secret" ingredient — hot coffee — makes the cocoa flavor taste deeper and more intense without adding any coffee flavor of its own. And that sweet potato frosting isn't just a dairy-free workaround; it's genuinely delicious, naturally creamy, and easy to make ahead of time.
Ingredients

For the Cake
- 1 cup unsweetened almond milk
- 1 tbsp apple cider vinegar
- 1 cup gluten free all-purpose flour
- 1 cup almond flour
- 1¾ cups brown sugar
- ¾ cup cocoa powder
- 2 tsp baking powder
- 1½ tsp baking soda
- 1 tsp salt
- ½ cup coconut oil
- 2 tsp vanilla extract
- 1 cup hot coffee (if you don't have coffee, hot water works too)
For the Sweet Potato Frosting
- ¾ cup vegan butter, softened
- 1 tsp vanilla extract
- ¼ cup unsweetened cocoa powder
- 2 medium sweet potatoes, baked
Instructions
Bake the sweet potatoes. Poke them all over with a fork and bake until soft, about 30 minutes. Once done, set them aside on a rack to cool.
Prep your pans. Line two baking trays or disposable pie pans with parchment paper and give them a light grease. Set aside.

Make your dairy-free buttermilk. Whisk the almond milk and apple cider vinegar together in a cup and let it sit for a few minutes so it can curdle slightly.

Mix the dry ingredients. In a large bowl, whisk together the gluten free flour, brown sugar, cocoa powder, baking powder, baking soda, and salt.

Bring it together. Add the wet ingredients — including your almond milk mixture, coconut oil, and vanilla — and stir well. Pour in the hot coffee last; it deepens the chocolate flavor without making the cake taste like coffee. Mix until smooth.



Bake. Divide the batter evenly between your two prepared pans and bake at 350°F (175°C) for 30 to 40 minutes, until a toothpick inserted in the center comes out clean. Let the cakes cool completely on a rack before frosting.


Make the frosting. Once the sweet potatoes have cooled, peel and mash them well. Mix in the cocoa powder, vanilla, and vegan butter until you have a smooth, rich, dairy-free frosting.


Assemble and serve. Layer and frost your cooled cakes, then top with dairy-free chocolate chips or your favorite toppings. Chill in the fridge for an hour before slicing and serving.



Tips for Success
- Baking and mashing the sweet potatoes is what gives this frosting its naturally thick, creamy texture without relying on a huge amount of powdered sugar — just make sure they're completely soft before mashing so the frosting stays silky rather than lumpy. If your frosting turns out less sweet than you'd like, stir in a little powdered brown sugar; if it's too thick, loosen it with a splash of almond milk.
- Don't skip the hot coffee at the end of mixing — it won't make your cake taste like coffee, but it will intensify the chocolate flavor and keep the crumb incredibly moist. Likewise, let the almond milk and apple cider vinegar sit undisturbed for 3 to 5 minutes before using; that little bit of curdling is what gives the cake its light, tender texture.
- You can make the frosting ahead of time to save yourself a step on baking day. Once the cake is frosted, keep it covered in the fridge — left uncovered, it will dry out — and it will keep well for up to 2 weeks.
More Gluten-Free Cakes to Try
If this one hit the spot, here are a few more free-from cakes worth adding to your baking list:
- Gluten-Free Medovik (Russian Honey Cake) — thin honey cake layers with a tangy, dairy-free sour cream and coconut cream filling.
- Gluten-Free Lemon Blueberry Cake — an almond flour cake loaded with juicy blueberries and bright lemon, perfect for tea time.
- Gluten-Free Pumpkin Cake — naturally sweetened with pumpkin, walnuts, raisins, and coconut, with no refined sugar.

Gluten and Dairy Free Chocolate Cake
Ingredients
Cake:
- 1 cup unsweetened almond milk
- 1 tbsp apple cider vinegar
- 1 cup gluten free all-purpose flour
- 1 cup almond flour
- 1¾ cups brown sugar
- ¾ cup cocoa powder
- 2 tsp baking powder
- 1½ tsp baking soda
- 1 tsp salt
- ½ cup coconut oil
- 2 tsp vanilla extract
- 1 cup hot coffee or hot water
Sweet Potato Frosting:
- ¾ cup vegan butter softened
- 1 tsp vanilla extract
- ¼ cup unsweetened cocoa powder
- 2 medium sweet potatoes baked
Instructions
- Bake the sweet potatoes until soft, about 30 minutes. Cool on a rack.
- Line two baking pans with parchment paper and grease lightly.
- Whisk almond milk and apple cider vinegar together; let sit 3–5 minutes to curdle.
- Whisk together flour, brown sugar, cocoa powder, baking powder, baking soda, and salt.
- Add wet ingredients and stir; pour in hot coffee last and mix until smooth.
- Divide batter between pans and bake at 350°F (175°C) for 30–40 minutes, until a toothpick comes out clean. Cool completely.
- Peel and mash cooled sweet potatoes; mix with cocoa powder, vanilla, and vegan butter until smooth.
- Layer and frost the cooled cakes, top with dairy-free chocolate chips, chill 1 hour, and serve.
Notes
- Make sure sweet potatoes are fully soft before mashing for a silky frosting. Too thin? Add powdered brown sugar. Too thick? Add a splash of almond milk.
- Don't skip the hot coffee — it intensifies chocolate flavor without tasting like coffee.
- Let the almond milk and vinegar sit undisturbed for the full 3–5 minutes for the best crumb.
- Frosting can be made ahead of time.
- Keep the cake covered in the fridge; store for up to 2 weeks.








0 Comments