This post contains affiliate links. Read the full disclosure here.

Jump to Recipe
4.97 from 59 reviews

This is the BEST dairy free chocolate cake ever! It’s moist, fluffy, with rich chocolate flavor and a fudgy chocolate buttercream. It’s the perfect dairy free cake recipe that will keep you coming back for more!

a piece of dairy free chocolate cake side ways on a plate with a bite taken out of it

This double layer dairy free chocolate cake is fluffy, decadent and rich and incredibly hard to stop eating! I’m not ashamed to admit I sometimes just sit in front of the entire cake and go at it with a fork (and no, I am not kidding!).

I love this recipe so much that I used it as my own wedding cake! Seriously, this is the only chocolate cake recipe you’ll need. It’s a perfect go-to recipe for weddings, birthdays, holidays, or any other occasion!

Just like my dairy free vanilla birthday cake, I promise no one will ever know it’s dairy free!

Why This Dairy Free Chocolate Cake Works

  • You can easily adapt this recipe to fit different pan sizes (instructions are further down in the post).
  • While I’ve used a chocolate buttercream here, you can also pair it with a dairy free vanilla frosting.
  • The recipe uses oil instead of butter to create the ultimate moist and light crumb.
  • Did I mention how easy it is to make? Seriously – one bowl and no mixer required for the cake layers!

Ingredients Needed

ingredients to make chocolate cake in bowls with labels
  • Dairy free milk: I’ve tested this recipe with various dairy free milks, and they all work great. I personally like to use soy or oat.
  • Oil: You can also use any neutral oil in this recipe, like canola, sunflower oil, or vegetable oil.
  • Vegetable Shortening: I always use shortening in my buttercream recipes. It makes the buttercream more firm and easy to frost or pipe the cake with. When I tested this recipe with a few different dairy free butters, there were some that were firmer than others. If your dairy free butter is the texture of margarine, vegetable shortening can help firm it up, but you can replace this with dairy free butter if desired.
ingredients to make chocolate buttercream in bowls with labels

How To Make This Cake

dry ingredients in a glass bowl on a white countertop.

Whisk dry ingredients together!

chocolate cake batter in a glass bowl before mixing in dry ingredients.

Add in wet ingredients.

chocoalte cake batter in a glass bowl on a white countertop.

Whisk until combined, then bake!

two chocolate cakes on a cooling rack on a white countertop.

Cool the cakes while you make the buttercream, then assemble!

a piece of chocolate cake on a plate with a bite taken out of it and a fork on the plate

Expert Tips

  • Number one tip: properly measure your flour! The cake texture will not be as light and fluffy and the cake could turn out dry if you over-measure your flour.
  • Do not over-mix! This can lead to a dense cake texture. The cake batter only needs to be mixed until the dry ingredients are just incorporated.
  • Check on the cakes early to make sure that they are not over-baked (over-baking will lead to dry cake).
  • Let the cakes cool for at least 20 minutes in the pan before trying to remove them. Run a butter knife around the outside of the cake before flipping it upside down onto the cooling rack.
a thick slice of dairy free chocolate cake on a plate

More Cake Recipes You’ll Love

If you make this recipe, let me know how it went in the comments below, I’d love to hear from you! You can also tag me on Instagram or Facebook so I can check it out!

a thick slice of dairy free chocolate cake on a plate overhead
4.97 from 59 reviews

Dairy Free Chocolate Cake

This is the best dairy free chocolate cake ever! Moist, fluffy, with rich chocolate flavor and a fudgy chocolate buttercream. It's the perfect dairy free cake recipe that will keep you coming back for more!

Ingredients
 

Dairy Free Chocolate Cake

  • cups (187.5 g) all-purpose flour
  • cup (250 g) granulated sugar
  • ½ tsp salt
  • 1 ½ tsp baking soda
  • ½ tsp baking powder
  • ¾ cup (64.5 g) unsweetened cocoa powder
  • 2 eggs
  • 1 cup (225 ml) water, hot
  • ½ cup (107.5 ml) canola oil (or sunflower oil)
  • ½ cup (125 ml) dairy free milk of choice (I use unsweetened soy milk)
  • 1 tsp vanilla extract

Dairy Free Chocolate Buttercream

  • 1 cup (210) vegan butter
  • ½ cup (125 g) vegetable shortening OR vegan butter, (SEE NOTES)
  • 1 ¼ cup (107.5 g) cocoa powder
  • 2¾-3 cup (330 g) icing sugar
  • 1 tsp vanilla extract
  • 1-2 tbsp dairy free milk of choice, (as needed)

Instructions
 

  • Preheat the oven to 350°F and prepare two 8 inch round cake pans. Spray the inside with cooking spray, then cut round pieces of parchment paper so that they fit in the bottom of each pan (do not skip the parchment paper lining!)
  • Whisk flour, cocoa powder, sugar, salt, baking powder, baking soda together in a large bowl.
  • Add in the eggs, vanilla, oil, and milk. Pour in the hot water and mix until smooth.
  • Divide the batter evenly between the two cake pans and bake on the middle rack of the oven for 20-26 minutes or until a toothpick inserted in the middle of the cakes comes out clean.
  • Let the cakes cool in the pans for 20 minutes, then run a butter knife around the outside of the cake to loosen it from the pan and flip upside down onto a cooling rack to cool completely.
  • Make the buttercream. In the bowl of a standing mixer or handheld mixer, beat vegan butter and vegetable shortening together until combined. Beat in the cocoa powder until smooth.
  • Add in the vanilla extract, then add the icing sugar, 1/4 cup at a time until desired consistency is reached. If the buttercream is too thick, add in milk 1 tablespoon at a time to thin it out to the consistency you want. If it's too thin, add in more confectioner's sugar (powdered sugar) 1/4 cup at a time.
  • Once the cakes have cooled completely, frost them and enjoy!

Notes

PLEASE NOTE: I highly recommend using a kitchen scale to weigh your dry ingredients. 
PARCHMENT PAPER LINING: I highly recommend not skipping this step. It is highly likely that the cake may break when you try to remove it from the pan if you do. Lining the round pan with parchment paper will make your life so much easier when removing the cakes from the pan, trust me. To do this, trace then cut a circle in the shape of your cake pan out of the parchment paper and place it inside the pans.
COCOA POWDER: I recommend using dutch processed cocoa powder, but you can use natural if that’s what you have. 
VEGETABLE SHORTENING: If you are using a soft vegan butter that has a margarine-like consistency, I recommend using 1 cup of vegan butter and 1/2 cup of shortening. This will help the buttercream to hold its shape at room temperature. Margarine can soften too much at room temperature so using shortening will help with that.
BUTTERCREAM: This recipe provides enough buttercream to allow for piping and decorating. If you don’d need that much buttercream, you can make 2/3 of the buttercream recipe, or freeze the leftovers.
Storage and Freezing Instructions: 
The cake can be stored covered at room temperature for 3-4 days. I store mine in a cake carrier.
To freeze the cake layers, let them cool completely, then tightly wrap them in plastic wrap, then aluminium foil. Freeze in ziploc bags for up to 3 months, then let them thaw at room temperature.
Leftover buttercream can be stored in an airtight container in the freezer for up to 2 months. Thaw it in the fridge then mix it up using a handheld or standing mixer before using it.
To make as cupcakes: This cake recipe will make 20 cupcakes. Bake at the same temperature for around 12-15 minutes or until toothpick inserted in the middle comes out clean. 
To make in two 9 inch round cake pans: The cake layers will be thinner and will bake quicker. Start checking on them at around 14 minutes.
To make in a 9×13 sheet pan: Bake for 18-20 minutes. You will only need half the buttercream for a one layer cake, so halve the buttercream recipe.
To make as a 3 layer cake: The easiest way is to divide the batter between 3 8 inch cake pans (you’ll have thinner cake layers). If you want big layers, you can also multiply the ingredients in the recipe by 0.5.
Calories: 447kcal, Carbohydrates: 55g, Protein: 4g, Fat: 26g, Saturated Fat: 6g, Polyunsaturated Fat: 7g, Monounsaturated Fat: 12g, Trans Fat: 1g, Cholesterol: 22mg, Sodium: 322mg, Potassium: 202mg, Fiber: 4g, Sugar: 38g, Vitamin A: 607IU, Calcium: 39mg, Iron: 2mg
Did you make this recipe?Please let us know by leaving a star rating and review!

The calorie information provided for this recipe is an estimate. The accuracy of the calories listed is not guaranteed.