Vegan Chocolate Cake

The BEST vegan chocolate cake recipe! Easy to make in one bowl, it's super moist, rich, and topped with a decadent vegan chocolate frosting.

Jump to Recipe

Vegan Chocolate Cake

This vegan chocolate cake recipe is moist, tender, and packed with rich chocolate flavor. It’s easy to make in one bowl with simple ingredients, and a decadent vegan chocolate frosting takes it over the top. Good luck saying no to a second slice. 🙂

I originally developed this vegan chocolate cake recipe for my second cookbook, Love & Lemons Every Day. It’s been my go-to chocolate cake ever since. If you ask me, it rivals any made with dairy or eggs. The cake itself is soft, fluffy, and flavorful, and the frosting (which is made with a secret healthy ingredient!) is practically fudge. Whether you’re baking for a celebration or just craving a sweet treat, I hope you love this vegan chocolate cake as much as I do!

Spreading frosting on a vegan cake

Vegan Chocolate Cake Ingredients

Here’s what you’ll need to make this vegan chocolate cake recipe:

  • All-purpose flour and whole wheat flour – They make the cake wholesome, but still moist and tender. Feel free to use 100% all-purpose flour if you prefer.
  • Cocoa powder – It adds rich chocolate flavor.
  • Baking soda and apple cider vinegar – The vinegar’s acidity activates the baking soda, making the cake tender and fluffy without eggs. If you don’t have apple cider vinegar on hand, regular white vinegar is a good substitute.
  • Almond milk – Or any non-dairy milk you like. Soy milk or oat milk would also work.
  • Maple syrup – Instead of using refined white sugar, I sweeten this vegan cake naturally with maple syrup.
  • Extra-virgin olive oil – For moisture and richness. A neutral oil like vegetable oil works well too.
  • Cinnamon and vanilla extract – They enhance the cake’s chocolate flavor.
  • And sea salt – To make all the flavors pop!

Find the complete recipe with measurements below.

How to Make Vegan Chocolate Cake

I love how simple this vegan chocolate cake recipe is—the batter is easy to mix up in one bowl! No stand mixer required.

Just whisk together the dry ingredients, add the wet ingredients, and mix until combined.

Spread the batter in a greased 8×8-inch pan and bake at 350°F until a toothpick comes out clean, 25 to 30 minutes.

Vegan Frosting on cake

Frosting Your Cake

My favorite part of this vegan chocolate cake recipe is the frosting. Despite its creamy texture and rich flavor, it’s not made with powdered sugar or vegan butter. Instead, I use baked sweet potato!

As you blend the frosting together, the heat of the sweet potato melts chocolate chips into a smooth puree that’s finished with coconut oil and cocoa powder. While it may feel decadent, this frosting actually gets its luscious texture from a vegetable!

Of course, if you prefer vanilla frosting on your cake, that’s fine too! This vegan frosting recipe would work perfectly.

Recipe Tips

  • Spoon and level your flour. My #1 tip for avoiding a dry cake is spooning and leveling your flour. Here’s why: Flour can easily become compacted in a canister or bag. If you scoop it up directly with a measuring cup, it’s easy to accidentally use too much. For a more precise measurement, spoon it into your measuring cup, then gently level the top with a knife. Read more in this guide to how to measure flour!
  • Let the cake cool completely before frosting it. If the cake is still warm, the frosting will melt!

Vegan Cake with Chocolate Frosting and sprinkles

Vegan Chocolate Cake Recipe Variations

You can make this vegan chocolate cake recipe three ways:

  • In an 8×8-inch square pan. Follow the recipe below to make this variation. It will yield a vegan chocolate cake like the one you see pictured here. I make this variation when I’m just baking for Jack and me.
  • As a layer cake. In the book, I make this recipe as a layer cake. To make it, double the recipe below and bake the batter in two round 8- or 9-inch cake pans. I love making this variation for parties and gatherings!
  • As a sheet cake. Don’t want to bother with layers? I get it! Double the recipe below, and bake it in a 9×13-inch pan.

All three versions are delicious!

How to Store Vegan Chocolate Cake

To store: Store leftover cake in an airtight container in the refrigerator for up to 3 days.

To freeze: It also freezes well, even with the frosting. Wrap tightly in foil or plastic wrap and freeze for up to 3 months. Transfer to the fridge to thaw overnight before serving.

Vegan Chocolate Cake Recipe

More Favorite Vegan Treats

If you love this recipe, try one of these vegan desserts next:

Get This Recipe In Your Inbox
We’ll send it right away, plus fresh recipe inspiration every week!

Vegan Chocolate Cake

rate this recipe:
5 from 118 votes
Prep Time: 30 minutes
Cook Time: 1 hour 30 minutes
Total Time: 2 hours
Serves 9
This vegan chocolate cake recipe is moist, rich, and easy to make in one bowl. It's topped with a decadent chocolate frosting that uses a secret healthy ingredient: sweet potato! You can't taste it, but it gives the frosting a delicious creamy, fudgy texture. Adapted from Love & Lemons Every Day.

Ingredients

Vegan Chocolate Frosting

  • 1 large sweet potato, enough to yield ¾ cup mash
  • 6 tablespoons semisweet chocolate chips
  • 2 tablespoons unsweetened cocoa powder
  • 1 tablespoon melted coconut oil
  • Pinch sea salt

Chocolate Cake

  • ¾ cup all-purpose flour, spooned and leveled
  • ½ cup whole wheat flour, spooned and leveled
  • ½ cup unsweetened cocoa powder
  • 1 teaspoon baking soda
  • ½ teaspoon sea salt
  • ¼ teaspoon cinnamon
  • 1 cup unsweetened almond milk
  • ¾ cup maple syrup
  • ¼ cup extra-virgin olive oil
  • 1 teaspoon apple cider vinegar
  • 1 teaspoon vanilla extract
  • Supernatural Starfetti sprinkles, optional

Instructions

  • Make the frosting: Preheat the oven to 425°F. Use a fork to poke a few holes into the sweet potato. Place on a baking sheet or on a piece of foil and roast until very tender, about 60 minutes. Let cool slightly, then measure ¾ cup of the soft flesh. In a food processor, puree the sweet potato, chocolate chips, cocoa powder, coconut oil, and salt. The heat of the sweet potato will melt the chocolate.
  • Make the cake: Reduce the oven heat to 350°F and grease an 8x8 baking pan. Line the bottom and two sides with a sheet of parchment paper.
  • In a large bowl, stir together the flours, cocoa powder, baking soda, salt, and cinnamon. To the same bowl, add the almond milk, maple syrup, olive oil, apple cider vinegar, and vanilla. Stir until combined.
  • Pour the batter into the prepared cake pan and bake for 25 to 30 minutes, or until the top of the cake springs back when pressed or a toothpick inserted in the center comes out clean. Place the pan on a cooling rack and cool for 10 minutes.
  • Gently loosen the sides of the cake with a knife. Remove the cake from the pan and place back on the rack to cool completely. Frost the cake and serve!
Nutrition Facts
Vegan Chocolate Cake
Amount Per Serving (1 slice with frosting)
Calories 297 Calories from Fat 117
% Daily Value*
Fat 13g20%
Saturated Fat 5g31%
Trans Fat 0.01g
Polyunsaturated Fat 1g
Monounsaturated Fat 6g
Cholesterol 1mg0%
Sodium 300mg13%
Potassium 354mg10%
Carbohydrates 45g15%
Fiber 5g21%
Sugar 22g24%
Protein 4g8%
Vitamin A 4490IU90%
Vitamin C 5mg6%
Calcium 90mg9%
Iron 2mg11%
* Percent Daily Values are based on a 2000 calorie diet.

vegan chocolate cake

91 comments

5 from 118 votes (94 ratings without comment)

Leave a comment:

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

Rate this recipe (after making it)




  1. AlaskanGirl
    07.06.2023

    5 stars
    My niece is vegan, and I wanted to make dinner for her. This was the piece de resistance at the end of the meal! Everyone commented on how moist the cake was and loved the frosting, too. My only substitution was vegan white chocolate chips instead of semi-sweet, which I’m sure gave it a touch more sweetness. (I discovered the first plant-based semi-sweet chips I purchased were not vegan, so had to go back to the store!) Thank you for this easy and delicious recipe!

    • Phoebe Moore (L&L Recipe Developer)
      07.07.2023

      Hi, I’m so glad everyone loved the cake!

  2. Justin
    02.16.2023

    Is it possible to swap flours for gf flour?

    • Jeanine Donofrio
      02.17.2023

      Hi Justin, I haven’t tried, but it might work with an all purpose GF flour.

  3. Susan
    11.07.2022

    Regarding your Vegan Chocolate Cake,do you need to let the almond milk sit at room temperature before adding it in?

    • Phoebe Moore (L&L Recipe Developer)
      11.11.2022

      Hi Susan, it’s not necessary, but it’s fine if you do!

  4. Athena
    03.29.2022

    Just made this cake for my husband’s birthday! He loved it! The cake turned our very moist and the frosting turned our very smooth and tasty! Thank you

    • Jeanine Donofrio
      03.30.2022

      I’m so glad he loved it!

  5. Bre
    10.06.2021

    Hey! Looks yummy but I can’t have apple cider vinegar! Any tips on what to substitute for that?

    • Jeanine Donofrio
      10.06.2021

      lemon juice!

  6. Madelyn
    08.30.2021

    This recipe looks delicious!
    Is there any way I could make it 100% whole grain and oil free?
    Do you have any recommendations to avoid that characteristic chewy, dense texture of low fat desserts?
    Thank you!

    • Jeanine Donofrio
      08.31.2021

      Hi Madelyn, it’ll be much more dense with all whole wheat flour, but you could try spelt flour instead (it’s a bit lighter than ww). I don’t really have any tips for oil free baking – I went through a fat free phase once and felt super deprived, so that’s not my specialty 🙂

  7. lilliana
    08.20.2021

    oh boy, the recipe that I copied from the website did not include the all purpose flour for the cake. I thought it rather odd that the batter was so thin. It is presently in the oven without the additional flour. I decided to look it up and yes the flour should have been added.
    We shall see how this will turn out??
    let you know in 30 minutes.
    That recipe should be changed on the website.

  8. Multimeter
    08.11.2021

    5 stars
    Wow, so yummy Thank you.

  9. Natasia
    04.18.2021

    This recipe looks wonderful!! Im just wondering if I can make the frosting a couple of days in advance and keep it in the fridge because I am planning to make a layer cake with it. Thanks!

    • Jeanine Donofrio
      04.18.2021

      You can! It’ll thicken in the fridge so just let it sit at room temp for a little while before you frost it.

  10. Becky
    04.04.2021

    5 stars
    Ever made the recipe for cupcakes? Any tips or advice? My daughter is wanting cupcakes for her birthday. Thanks.!!
    Ps- I’ve made it as a layer cake and we loved it!

    • Jeanine Donofrio
      04.05.2021

      Hi Becky, I haven’t tried but I bet it would work. I’d bake them for less time – start checking around 18 minutes. (I’m not sure of the total yield)

  11. Leah
    03.23.2021

    Hello Hello!
    I hope you are doing well! I am making this chocolate cake for my dads 70th birthday!
    I recently made your peanut butter chocolate chip cookie bars and my dad LOVED the icing on those, with dates, walnuts and cocoa powder. Would that work on this cake as well? He doesn’t love icing that’s too sweet.

    Thank you ?

    • Jeanine Donofrio
      03.23.2021

      Hi Leah, I’m so glad he loved the bars! I think that icing would be hard to frost on the cake, since it’s so thick. The cake isn’t firm like those bars so it’ll be harder to spread without cake crumbs coming up. I’d give this sweet potato frosting a go – it isn’t too sweet, in my opinion.

  12. Jasmine from Cakeandcroissants.com
    03.15.2021

    5 stars
    Hey this looks delish, can I put the sweet potato through a sieve to make it a bit smother?

    • Jeanine Donofrio
      03.15.2021

      I think it might be too thick for that, the food processor gets it pretty smooth though!

  13. Carol
    12.19.2020

    5 stars
    Made this today and it was great! Followed the recipe exactly. Didn’t have time to make the frosting but I’m sure it would be good.

  14. Cindy Osaki
    10.29.2020

    5 stars
    Yummy vegan chocolate cake-made for hubby’s bday! I substituted dark chocolate chips since we don’t like it too sweet and it tasted great! I definitely recommend this recipe and plan to make it again! Even my non-veggie friend loved it!!

    • Namita
      07.15.2021

      Hi. What did you substitute the chocolate chips for. Can we use only cocoa powder to make this frosting

      • Jeanine Donofrio
        07.15.2021

        Hi Namita, it sounds like she used dark chocolate chips instead of semi sweet chocolate chips. They’re necessary here to make the frosting gooey and chocolatey, I don’t think it would be the same with just cocoa powder.

  15. Joka
    10.28.2020

    4 stars
    Baking soda isn’t something I can find in the store here. I replaced it with sodium bicarbonate although I know it’s not the same. The cake was falling apart, it was grainy, so it’s probably due to the lack of baking soda. Do you know with what I should replace it?
    The taste was very great and the sweet potato frosting was amaaazing!
    Thank you!

    • Evie
      11.20.2020

      Baking soda and sodium bicarbonate are actually the same thing (NaHCo3 – this coming from a baking & chemistry enthusiast). The different one would be baking powder, which usually makes cakes fluffier due to its longer reaction time with the other ingredients (but it’s not called for in this recipe, so basically you did everything right)

  16. Irene
    07.09.2020

    I’m excited to try this cake! Would the frosting still taste good without the chocolate chips? Or is there a different unrefined alternative I can substitute it with?
    Also, is there a reason you chose olive oil for the batter or would coconut oil work the same?

    • Jeanine Donofrio
      07.10.2020

      Hi Irene, chocolate chips are necessary for the frosting, it wouldn’t be very chocolatey without them. You can use melted coconut oil for the cake batter, just make sure your almond milk is at room temp (not cold) before you mix everything together.

  17. Liz
    04.22.2020

    5 stars
    I made this yesterday and holy guacamole! It is delicious! I steamed my sweet potato in the microwave simply to cut down on time and ended up needing to add 1 tsp. of almond milk to my frosting as it was a tad thick after processing.

    Everything about this cake is fabulous but I must give special mention to the sweet potato frosting. I may never go back to anything else! A true stroke of genius. So good I contemplated not making the cake and just eating the frosting.

  18. Kavita
    04.12.2020

    5 stars
    This was so good!!! It tasted just like the Betty Crocker chocolate cake I used to love as a kid. I really loved the sweet potato frosting!

    • Jeanine Donofrio
      04.14.2020

      Hi Kavita, I’m so glad you loved it!

      • Noah
        10.05.2020

        Hello. How much minutes to bake the cake??

        • Jeanine Donofrio
          10.05.2020

          Hi Noah, it’s in the recipe card at the bottom of the post (above the comments), in step 4.

  19. Nicola
    03.14.2020

    5 stars
    The frosting is brilliant!! It tastes amazing. I still can’t believe that there is sweet potato in it as you can’t taste it at all. It’s important to use chocolate chips that you like the taste of as that’s the flavor that comes through.

  20. Susan Caparelli
    02.08.2020

    How can I change out the flours to make it Gluten Free?

    • lee
      04.21.2020

      I also would love to make this gluten free. Can we swap out the flours listed with GF flours instead? any specific ratios?

      • Jeanine Donofrio
        04.22.2020

        Hi Iee, I haven’t tested this recipe with GF flours, so I can’t say for sure but an all purpose GF mix like Bob’s Red Mill’s or Pamela’s should work.

Fresh, easy
recipes for
every day.

Jeanine Donofrio in her kitchen

I'm Jeanine, a New York Times bestselling cookbook author, recipe developer, and founder of Love & Lemons, a trusted recipe resource for millions of home cooks. I create fresh, easy, and delicious vegetarian recipes that celebrate seasonal ingredients and flavors.

About Us >

Start here

Get our Recipes

We’ll send our top 10 recipes straight to your inbox, along with weekly recipe inspiration!