This homemade, Easy Vegan Chocolate Cupcake Recipe is the only one you’ll need to satisfy non-dairy family members. They’re light, fluffy and far more delicious than any store-bought variety—because they’re baked from scratch right in your kitchen.

Every so often, my daughter gets inspired and embarks on a 30-day vegan challenge—and one year, it just so happened to line up with her birthday! Now, don’t get me wrong—I have nothing against veganism. But when she made this last-minute announcement, I suddenly found myself on a wild Sunday afternoon mission, dashing from bakery to bakery in search of a vegan cake.
To my surprise, every place I visited had gluten-free options, but no vegan cake or cupcake was in sight!
Determined not to let this setback ruin the celebration, I turned to the one place that never fails me—Google. My mission? To find a simple, foolproof, and delicious vegan chocolate cake recipe. And let’s say what happened next was nothing short of a baking adventure!

When I stumbled upon Angela’s Fail-Proof Vegan Chocolate Cupcakes from Oh She Glows, I knew I had found the perfect birthday treat! The recipe looked simple, decadent, and just what I needed to pull off a delicious vegan dessert.
Of course, I had to get a little creative with the ingredients. Instead of using up my precious almond milk (which I needed for my morning coffee!), I swapped in rich, creamy canned coconut milk.
And since I didn’t have grapeseed oil on hand, I opted for canola oil instead and substituted the apple cider vinegar for rice vinegar—because when a cupcake craving calls, you make it work!
Angela topped her cupcakes with a dreamy salted vegan buttercream, which sounds incredible. I opted for a vanilla buttercream using a plant-based butter.
Let’s get baking now. And for those preferring a more visual outline, follow the step-by-step photos below.
How to Make Dairy-Free Chocolate Cupcakes

1- Place the coconut milk, sugar, oil, vinegar and vanilla extract into a large mixing bowl.
2- Mix with electric beaters until combined.

3- In a separate bowl, whisk together the dry ingredients: flour, cocoa powder, baking soda, and salt, ensuring no clumps.
4- Start the electric mixer on low and mix the dry ingredients with the wet ingredients. Increase the speed and mix until smooth and you no longer see any bits of flour.

5- Spoon the batter evenly into 12 cupcake liners, filling just about two-thirds full.
6- Bake in a preheated oven, 350 degrees F, for approximately 20 to 24 minutes or until a toothpick inserted inside comes out clean. (Mine were ready in 22 minutes)
Simple Vanilla Frosting

7- Place the softened butter in a large mixing bowl and sift in the powdered sugar.
8—Mix on low speed and gradually increase the speed until the butter and sugar are combined. Then, stir in the almond milk and vanilla extract. When incorporated, turn the mixer on high and continue beating for at least 5 minutes or until light and fluffy.
If you’re tinting the frosting, dab a little colour of choice into the mixed frosting.

9- Mix tiny amounts of colouring until you have the desired shade. (Use a toothpick to add just enough colouring, and remember, a little goes a long way)
10—To pipe the frosting, as seen in the photo below, you’ll need two 12-inch piping bags. One should be inserted with the #22 tip, and the other with the #1M tip. Fill each of the piping bags with equal amounts of frosting.

11- For the first layer of frosting, pipe small rosettes along the outer borders using the #22 tip.
12- Repeat with a second layer of frosting using the #1M tip. Start at the centre of the cupcake and work your way up and around the first layer of frosting, creating one large rosette. Then, have fun and decorate with your choice of sprinkles.

Whether you’re vegan or not, these moist chocolate cupcakes are so easy to put together, incredibly delicious and will quickly disappear.
And no one will ever guess they’re vegan. Unless… you tell them of course.
Happy baking!
Craving More Chocolate Desserts?
Although not vegan, but still craving some chocolate goodness, you’ll want to try these other decadent chocolate dessert recipes.
Slow Cooker Chocolate Raspberry Brownies: They’re moist and fudgy with all the attributes of a great brownie! All you’ll need is 15 minutes of prep time for these yummy treats, and your slow cooker does the rest!
Chocolate Brownie Tart: Made with raspberry and semi-sweet chocolates and cocoa powder, you’ll find it rich, fudgy and made more delicious with swirls of raspberry buttercream. And of course, let’s not forget the sprinkles!
Homemade Cake Pops: These chocolate-flavoured homemade cake pops are better than Starbucks. With my step-by-step instructions, you’ll be well on your way to making perfect cake pops for baby showers or other special occasions.
This recipe was originally published on February 16, 2017, and republished on March 24, 2025, with updated content and photos.
Chocolate Vegan Cupcake Recipe
Equipment
- 1 12 cup muffin baking pan
- 12 cupcake liners or double up on liners if they have pretty patterns
- 2 12-inch piping bags
- #22 piping tip
- #1M piping tip
Ingredients
CHOCOLATE VEGAN CUPCAKES
- 1 cup canned coconut milk (well stirred then measured out)
- 1 cup pure cane sugar (I used Redpath sugar)
- 1/3 cup canola oil
- 3 teaspoons apple cider vinegar
- 1 tablespoon pure vanilla extract
- 1 1/2 cups all purpose flour (gluten-free flour also works well)
- 1/3 cup unsweetened baking cocoa powder
- 1 teaspoon baking soda
- 3/4 teaspoon fine sea salt
VANILLA FROSTING
- 1/2 cup + 2 tablespoons plant based butter (softened)
- 4 cups of powdered sugar
- 4 tablespoons almond milk
- 1 teaspoon vanilla extract
- sprinkles (of your choice)
- icing colour of your choice (I used royal blue by WILTON)
Instructions
CHOCOLATE VEGAN CUPCAKES
- Preheat the oven to 350 degrees F.
- Line a 12 cup, cupcake pan with cupcake liners.
- In a large mixing bowl, beat together the coconut milk, sugar, oil, vinegar and vanilla until combined.
- In another bowl, whisk together the the flour, cocoa powder, baking soda, and the salt just until there are no more clumps.
- Slowly beat in the flour mixture in with the wet ingredients just until smooth and you no longer see any bits of flour.
- Spoon the batter evenly into the 12 cupcake liners, filling just about two-thirds full.
- Bake in the preheated oven for about 22 to 25 minutes. (Mine were ready in 22 mins.)
- When ready the cupcakes should spring back easily when gently pressed down or when a toothpick inserted in the middle comes out clean.
- Let the cupcakes cool completely before frosting.
DAIRY FREE VANILLA FROSTING
- Place the softened butter in the bowl of a stand mixer and sift in the powdered sugar.
- Start mixing on low speed and gradually increase until the butter and sugar come together.
- Mix in the milk and vanilla and when incorporated turn the mixer on high and continue beating for at least 5 minutes or until light and fluffy. (the longer you beat the icing, the fluffier it becomes)
- If you're tinting the frosting, dab a little colour of choice into the mixed frosting. (use a toothpick inserted in the concentrated icing gel to add the colour into the prepared icing)
- Note that the icing colour is optional. If you're new to using icing colouring, be sure to use a little at a time until you have the desired shade.
PIPING THE FROSTING
- Prepare two piping bags. One inserted with the #22 tip and the other with the #1M tip. Fill each of the piping bags with equal amounts of frosting.
- For the first layer of frosting, pipe small rosettes along the outer borders using the #22 tip.
- Repeat with a second layer of frosting using the #1M tip. Start piping in the centre of the cupcake and work up and around the first layer of frosting while creating one large rosette.
- Top with your favourite coloured sprinkles, serve and enjoy.
Those cupcakes look delicious, I made a vegan chocolate cake once and it was amazing, would never know it was vegan. This is a great vegan treat and Happy Birthday to your daughter.
Thank you for the sweet wishes !!! These babies were amazing 🙂
Thanks Suzanne, I think now I might just have enough confidence to try baking a whole vegan cake! They’re so incredibly delicious ?
Thank you, thank you, thank you Marisa! My niece is a vegan and it is my custom to send her care packages. She will absolutely love these cupcakes.
Hi Bella, these vegan cupcakes are everything a great cupcake should be, fluffy, moist and absolutely delicious. As an added bonus they’re super easy to make. Your niece will adore them 🙂
These are the prettiest cupcakes I’ve ever seen! I have a cousin’s birthday coming up and she’s turning sweet 16. I can’t wait to make your Vegan Chocolate cupcakes. I plan on cutting a heart out of strawberries to add to the top 😉
Ellie I am sure she will love them and the heart shaped strawberry will add a lovely touch. Happy sweet 16 to your cousin 🙂
These look great. I’m a bit puzzled about the vinegar, as I have never seen that in any kind of chocolate cake recipe before.
Hi Stefan, vinegar is used quite often in Vegan baked goods not only for its leavening agent in combination with the baking soda but also as a flavour enhancer. I have used white vinegar before especially in red velvet cupcakes but this is the first time using Apple cider vinegar and it worked just beautifully. The cupcakes had risen perfectly and are so yummy!! Thanks for your comment?
Interesting the use as a flavor enhancer. For leavening I’d simply use baking powder instead of soda.
Your photos are so drool worthy! Love that this is vegan… I will be giving it a try!
Thank you Annika, I am sure you will love them! ?
I wouldn’t have guessed Vegan when I saw these, but they look incredible! My Mom used to make a chocolate cake that had a tablespoon of vinegar…now I’ll have to see if I can find that recipe!
Mollie
I too would never have thought they would have risen so beautifully and really moist as well! I’m so glad I gave them a try! Hope you find your mom’s recipe and get a chance to put it up on your blog!?
Marisa,
They look great! Well done. 🙂
I am glad to hear you like them and thanks so much?
Hi Marisa,
You’re so welcome! 🙂
Hi Marisa! These look sooo yummy!! Vegan is something that I have been experimenting with myself, and I must say that I haven’t been disappointed. Everything I have tried has tasted delicious. Happy belated birthday to your daughter and thanks for sharing your recipe!!
Hi Rosa, these vegan cupcakes have surpassed all my expectations and am looking forward to trying out more recipes! Thanks so much for dropping by and commenting ?
those cupcakes are moist and fluffy looking! Just lovely Marisa!
They really are Lynn and they’ve surpassed all my expectations! Thanks so much for you comment?
Lovely
Looks good. I was looking to see if these were made with black beans. Sounds delicious.
There is no black beans in this recipe but totally delicious! Hope you get to give them a go, they are so worth it ?thanks for dropping by?