Chocolate Vegan Cake

This post may contain affiliate links. Read my full disclosure here.

This beautifully decadent Vegan Chocolate Cake recipe is not only amazingly delicious, but it also happens to be vegan and completely oil-free. It’s perfect for birthdays, parties, and holidays!

healthy chocolate cake with slice missing on silver plate topped with berries

When you think about a cake being vegan and oil-free, you might think that it will be dull, but I promise that’s not the case with this scrumptious chocolatey piece of heaven. Believe it or not, the dairy-free chocolate frosting is made with sweet potatoes and dates!

We have more delicious chocolate vegan dessert recipes on this website like this easy chocolate cashew cream, my chocolate-stuffed vegan sweet potatoes, and our chocolate dairy-free mousse pie.

Reasons you will love this cake

  • Rich and Moist Texture: Enjoy a deliciously rich and moist cake that delivers all the chocolatey goodness you crave, thanks to high-quality, plant-based ingredients.
  • Perfect for Special Diets: Ideal for those following a vegan or dairy-free diet, this cake is free from animal products, making it suitable for a wide range of dietary preferences.

Ingredients you will need

flour and dry ingredients for muffins in large blue bowl with whisk
  • Flour- Whole wheat flour provides a denser texture and a slightly nutty flavor, enhancing the overall taste and making the cake more filling and satisfying.
  • Sweet potatoes- Using sweet potatoes to make the frosting provides a naturally sweet flavor and creamy texture without the need for added sugars or oils.
  • Cocoa powder- It imparts a deep, rich chocolate flavor without the need for added fats or dairy. It blends seamlessly into the cake batter, ensuring a smooth texture and intense cocoa taste.
  • Plant milk- Provides the necessary liquid to blend ingredients smoothly and achieve a desirable cake texture without dairy.
  • Almond butter- Creates a rich, nutty flavor and a creamy texture, enhancing the overall taste and consistency of the frosting.

Tips & Suggestions

  • Make cupcakes- This recipe is very versatile and can be made into a cake or cupcakes.
  • Cooking times & pans- Cooking times will vary with the size of the pan used. Cupcakes should take about 22 minutes and a 8″-9″ pan will cook the cake in about 25 minutes. Oven temperatures vary.
  • Make it gluten-free- This cake recipe is not gluten-free, but Minimalist Baker has a great GF Baking Guide that can help convert this cake.

How to make chocolate vegan cake

The recipe card at the bottom of the page has the full list of ingredients with measurements and instructions.

This recipe was updated in February 2025.

peeled sweet potatos in glass bowl with cutting board in background

STEP #1: Cook your sweet potatoes first and allow them to cool. You will need 3/4 cup for the cake + 1 cup for the frosting. If you have leftover baked sweet potatoes, this is a great way to use them.

I like the take the easy way out and cook mine quickly by poking a few holes in them with a knife, wrapping them in a wet paper towel, and placing them in the microwave for about 5-6 minutes depending on the size of the potatoes.

STEP #2: Preheat the oven to 350°F.

Place all of the wet ingredients– cooked sweet potato, plant milk, maple syrup, vanilla, vinegar– in your blender and puree until smooth. If you are using date paste, this is where you will add it.

stainless bowl with whole wheat flour, baking soda, baking powder, salt, and cinnamon

STEP #3: Place all of the dry ingredients–flour, baking powder, baking soda, salt, cocoa powder, sugar–in a large mixing bowl and whisk together well.

If you’re using a less refined granular sugar instead of making date paste, add it in this step. Some good options are date sugar, maple sugar, sucanat, or pure cane sugar. Using glandular sugar is my preference.

sugar free chocolate cake batter in bowl with whisk

STEP #4: Next, pour the sweet potato puree into the large bowl with the dry ingredients, add the chocolate chips, and combine them together well.

sugar free chocolate heart shaped cake in silicone pan

STEP #5: Pour the cake batter into a silicone baking pan (or line a regular pan with parchment paper to prevent sticking) and bake at 350°F for 25 minutes.

Oven temperatures vary, so around the 22-minute mark, remove the cake from the oven and test for doneness.

homemade sugar free cake being sliced on silver plate with cupcakes in background

STEP #6: To do this, insert a toothpick into the highest center point. If the toothpick comes out clean, the cake is done. Otherwise,l place back into the oven and test again in 5 minutes.

Once the cake or cupcakes are done, remove them from the oven and allow them to cool before frosting.

plain baked sweet potato sliced open

STEP #7: This frosting is so easy, it doesn’t even require a bowl! While the cake is cooking is the perfect time to make the frosting.

You are going to use the rest of the cooked sweet potato which should be 1 cup.

chocolate icing in blender with top off

STEP #8: Simply place all the frosting ingredients in a blender or food processor and blend until smooth.

I use my Vitamix blender, and it works like a charm because it has a tamper that allows for keeping the ingredients moving in thick recipes like this vegan chocolate icing. However, if you have a less powerful machine, you’ll need to stop, scrape the sides down, and continue to blend until smooth.

Once the cake and/or cupcakes have fully cooled, it’s time to frost and serve!

I love to add a few strawberries, raspberries, blueberries, or a combination of them to this cake because it makes a beautiful display. If you want to really take it over the top, sprinkle a little Homemade Powdered Sugar over the top.

Frequently Asked Questions

Is this cake gluten-free?

No, but Minimalist Baker has a great GF Baking Guide that can help convert these cupcakes. The frosting is already gluten-free.

Do I have to use date paste?

No. I actually prefer granulated sugar. 2/3 or 3/4 cup less refined sugar such as pure cane sugar or date sugar will work for the cake. Use another 3/4 cup in the frosting.

How long will it last?

Store in an airtight container in the refrigerator for 5-7 days. It freezes well too.

vegan heart shaped chocolate valentine cake topped with berries

For those of you new to the whole food plant-based lifestyle, we’ve created a FREE 7-Day Plant-Based Menu Planner to help you get started!

If you try this recipe, please let us know how you like it by rating it and leaving a comment. We love to hear from you!

Want to Save This Recipe?

Enter your email & I’ll send it to your inbox. Plus, get great new recipes from me every week!

Save Article

By submitting this form, you consent to receive emails from EatPlant-Based

vegan chocolate sugar free cake on silver plate with one slice out
4.46 from 335 votes

Chocolate Vegan Cake

This beautifully decadent Vegan Chocolate Cake recipe is not only amazingly delicious, but it also happens to be vegan and completely oil-free. It's perfect for birthdays, parties, and holidays!
Prep: 15 minutes
Cook: 30 minutes
Total: 45 minutes
Servings: 10 servings

Ingredients 

Cake

  • 1 cup whole wheat flour
  • 1/4 cup unsweetened cocoa powder
  • 1 teaspoon baking powder
  • 1 teaspoon baking soda
  • 1/2 teaspoon sea salt
  • 1/3 cup maple sugar (pure cane or date sugar)
  • 3/4 cup cooked sweet potato, peeled
  • 1/2 cup plant milk almond, soy, etc
  • 1/4 cup pure maple syrup
  • 1 tablespoon apple cider vinegar
  • 1 tablespoon vanilla extract
  • 1/4 cup dairy-free chocolate chips

Frosting

  • 1 cup cooked sweet potato peeled
  • 1/2 cup almond butter or cashew butter
  • 3/4 cup dates pitted (3/4 cup less refined sugar for those not doing sugar-free)
  • 1/4 cup plant milk
  • 1/2 cup cocoa powder
  • 1/4 teaspoon sea salt
  • 1 tablespoon vanilla

Instructions

Cake

  • Cook your sweet potatoes first and allow them to cool. You will need 3/4 cup for the cake + 1 cup for the frosting. If you have leftover baked sweet potatoes, this is a great way to use them.
    I like the take the easy way out and cook mine quickly by poking a few holes in them with a knife, wrapping them in a wet paper towel, and placing in the microwave for about 5-6 minutes depending on the size of the potatoes.
  • Preheat the oven to 350°F.
  • Place all of the wet ingredients– cooked sweet potato, plant milk, maple syrup, vanilla, vinegar– in your blender and puree until smooth.
    If you are using date paste, this is where you will add it.
  • Place all of the dry ingredients–flour, baking powder, baking soda, salt, cocoa powder, sugar–in a large mixing bowl and whisk together well.
    If you're using a less refined granular sugar instead of making date paste, add it in this step. Some good options are date sugar, maple sugar, sucanat, or pure cane sugar. Using glandular sugar is my preference.
  • Next, pour the sweet potato puree into the large bowl with the dry ingredients, add the chocolate chips, and combine them together well. 
  • Pour the cake batter into a silicone baking pan (or line a regular pan with parchment paper to prevent sticking) and bake at 350°F for 25 minutes.
  • Oven temperatures vary, so around the 22-minute mark, remove the cake from the oven and test for doneness. To do this, insert a toothpick into the highest center point. If the toothpick comes out clean, the cake is done. Otherwise,l place back into the oven and test again in 5 minutes.
  • Once the cake or cupcakes are done, remove them from the oven and allow them to cool before frosting.
  • The heart cupcake pans are also great if you would rather have cupcakes.

Frosting

  • This frosting is so easy, it doesn't even require a bowl! While the cake is cooking is the perfect time to make the frosting.
    You are going to use the rest of the cooked sweet potato which should be 1 cup.
  • Simply place all the frosting ingredients in a blender or food processor and mix until smooth. More frosting tips can be found in the article above.
  • When the cake or cupcakes has cooled, frost and serve!

Video

Notes

Tips & Suggestions:
UPDATED February 2025.
I have included step-by-step photos and directions above to ensure your first attempt will be successful.
Make it gluten-free- Minimalist Baker has a great GF Baking Guide that can help convert these cupcakes. The frosting is already gluten-free.
Sweetener- I actually prefer granulated sugar over date paste for this recipe. Pure cane sugar, maple sugar, or date sugar will work for the cake.
Storage- Store in an airtight container in the refrigerator for 5-7 days. It freezes well too.

Nutrition

Serving: 1g | Calories: 236kcal | Carbohydrates: 38g | Protein: 8g | Fat: 6g | Sodium: 275mg | Fiber: 6g

Disclaimer

To obtain the most accurate representation of the nutritional information in a given recipe, you should calculate the nutritional information with the actual ingredients used in your recipe, using your preferred nutrition calculator. You are solely responsible for ensuring that any nutritional information provided is accurate, complete, and useful.

Please rate & share if you like this!Leave a comment or share on Pinterest or Instagram

About Terri Edwards

Hi guys! I am the content creator behind EatPlant-Based and a licensed Food for Life instructor with the Physicians Committee for Responsible Medicine. I am passionate about sharing healthy recipes and tips to empower others to get healthy.  I’m so glad you’re here! Read More…

119 Comments

  1. Looking forward to making this! What’s the ratio of water to dates for the date paste? And how much dates do I need to make one cup of date paste? Thanks

    1. Hi Tina- The ratio for date paste is 1 cup dates to 2/3 cup water for use as a sweetener in recipes. The number of dates it takes to make a cup of date paste is a little trickier and depends on the size of your dates. I think I would start with around 10 large dates. This article on date paste might be helpful. https://eatplant-based.com/date-paste/

  2. I have just made the vegan chocolate cake with the dates and apple says but only changed the flour to coconut flour and I could cry ? the mixture came up very dry and I did everything as by the recipe except I used coconut flour . It has not held together at all and it’s really inedible because it’s in pieces

    1. Hi Debbie- Unfortunately, coconut flour can’t be interchanged with regular or whole wheat flour without some major adjustments. Coconut flour is very absorbent and soaks up a LOT of liquid. Because of this, it has a very drying effect on baked goods. Regular recipes counteract the drying effect with eggs, but that’s not possible with vegan baking. Most vegan bakers recommend that when using coconut flour, you need to cut down the flour to 1/4 of what is called for in a recipe. Even then, there is usually a lot of experimenting and tweaking necessary. Also, coconut flour tends to clump up, so you have to be sure to fluff it with a fork before measuring and mixing.

  3. I made the recipe, and it turned out nice. 🙂

    I couldn’t follow it exactly, though – first, I bought an actual sweet potato instead of a yam. From the photos, it looks like the frosting actually uses a yam. So I subbed in pumpkin puree instead, and it worked great. Also, I subbed oat flour for the wheat. (I didn’t have wheat, so I ended up grinding my old fashioned oats in my food processor. ) Another thing for cupcakes, I didn’t need nearly as much frosting at the recipe made, but the adjusted cook time for cupcakes was right on for me!

    All in all, I would make this again. Thanks for the recipe!

  4. Hi! This sounds amazing for my 2 year olds bday! Question, how do the layers hold up? If I wanted to double the recipe and put 1 to 2 more layers on do you think it could work? We have quite a few ppl coming. Thanks!

    1. Hi Cristin- Happy Birthday to your 2-year-old! Though I haven’t tried it, I don’t see any reason this cake wouldn’t hold up to multiple layers. It sounds like it will be a beautiful display!

  5. Hi, great article. If I only have coconut flour in these times would it work? (all normal flour out of stock in shops)?

      1. Thanks Terry – I have whole oats (porridge oats) on hand – so I’ll give that a go surely.

        My sister might have plain white flour (possibly self raising) – if I can get that would that also work?

    1. Hi Kirsten- You’ll need to use vinegar of some type to make these pancakes rise. The good news is that it can be a number of different kinds including white, apple cider vinegar, as well as others.

  6. I just finished baking this cake, and it’s dense and gummy. What did I do wrong?

    Also the frosting in your picture looks like normal frosting, and mine looks slightly lumpy and certainly not creamy. Again, any help?

    PS I do bake A LOT, so I’m not new at this.

    1. Hi Lisa- For the frosting, it sounds like a little more time in the blender would be the answer for lumps. The only two ingredients that could be causing lumps are the sweet potato and dates. Were the sweet potatoes cooked until tender? Was the blender used powerful enough to make the dates nice and smooth? With the cake texture, I think a recent ingredient adjustment I did yesterday on the measurements for the applesauce and almond milk might be at fault. I have now corrected that.

    1. Hi Maria- I haven’t tried a gluten-free flour, but there is a link to Minimalist Baker’s GF flour substitution guide included in the article near the bottom. I would think that oat flour might be a good substitution option as well.

    1. Michelle- I don’t really have much experience baking with gluten-free flours other than oat flour, but I’m sure you could make this work. There is a link included near the bottom to a GF baking guide by Minimalist Baker that should help with that process. I would love to know how it turns out if you give it a try.

  7. I decided to make my birthday cake this year since I’m the only Plant Based person. This cake was so awesome, even all my family loved it. Just had one question, should this cake be kept in the refrigerator?

    1. Hi Linda- How wonderful to hear that the cake was a hit with your whole family! YAY! I like to keep it in the refrigerator, and it should last 7-10 days. Thanks SO much for letting me know.

4.46 from 335 votes (330 ratings without comment)

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe Rating