They vegan chocolate cupcakes possess such an intensely dark chocolate smack that no one would even dream belongs to a cupcake that lacks customary cake ingredients like butter and eggs. And the secret to the airy texture is aquafaba, that trendy starchy liquid found in canned beans or chickpeas that’s been making appearances in vegan baked goods like crazy the last several years. It’s like a secret weapon for vegan baking. We know. It didn’t sound compelling to us, either. And then we tried it. Swear there’s not a trace of beaniness in these little lovelies. In fact, we can pretty much guarantee no one’s even going to know they’re vegan if you don’t tell them.–Angie Zoobkoff


Aquafaba is commonly made from chickpea water, although some people have used soy or neutral-tasting beans like cannellini as a base. Whipped into a stiff foam, it’s an excellent replacement for egg whites. The starchy liquid is a great binder directly from the can, but what really makes it magical is that it whips and creates a foam. Aquafaba is able to trap air, giving items structure at the same time it delivers a fluffy crumb and lift.

To measure the amount of aquafaba called for in a recipe, begin by vigorously shaking the unopened can of chickpeas. Next, drain the chickpeas through a fine-mesh strainer over a bowl, and reserve the beans for another use. Thoroughly stir the aquafaba and then measure. While it may not be visible to the naked eye, the starches in the chickpea liquid settle in the can—in order to take advantage of them, you’ll need to agitate them to ensure they’re evenly distributed throughout the liquid.

Vegan chocolate cupcakes, half frosted with vegan chocolate frosting, on a wire rack beside a bowl of frosting.

Vegan Chocolate Cupcakes

5 / 3 votes
Tender vegan chocolate cupcakes are given lift and moisture from aquafaba and coconut oil. The lush chocolate frosting is more creamy and chocolatey than you can imagine.
David Leite
Servings12 to 18 cupcakes
Calories372 kcal
Prep Time45 minutes
Cook Time20 minutes
Total Time4 hours


For the vegan chocolate frosting

For the vegan chocolate cupcakes

  • 1 1/3 cups all-purpose flour
  • 1 cup organic or granulated sugar
  • 3/4 teaspoon baking powder
  • 1/4 teaspoon baking soda
  • 1/2 teaspoon sea salt
  • 1 cup water
  • 1/2 cup Dutch-processed cocoa powder*
  • 1 ounce bittersweet chocolate, chopped
  • 1/4 cup coconut oil
  • 3/4 teaspoon vanilla extract
  • 1/4 cup aquafaba, (the drained liquid from one 15-ounce can of chickpeas)
  • 1 teaspoon cream of tartar


Make the vegan chocolate frosting

  • If you're making the vegan chocolate cupcakes using coconut cream, you can skip the first two steps and proceed with step 3.
    If you're making the cupcakes using coconut milk, pop the unopened cans into the refrigerator and leave them for at least 24 hours to ensure that two distinct layers form.
  • If you’re using coconut milk, skim cream layer from each can and measure out 3/4 cups cream (save any extra cream and the milky liquid for another use).
  • In a microwave safe bowl, combine coconut cream, chocolate chips, and salt and microwave in 30 second intervals at 50 percent power, whisking occasionally, until melted and smooth, 2 to 4 minutes. Alternately, in a saucepan set over low heat, stir together coconut cream, chocolate chips, and salt until melted and smooth. 
  • Transfer to bowl of stand mixer. Place plastic wrap directly against surface of chocolate mixture and refrigerate until cooled completely and texture resembles firm cream cheese, about 3 hours, stirring halfway through chilling. (If mixture has chilled for longer and is very stiff, let stand at room temperature to soften but still cool.)

Make the vegan chocolate cupcakes

  • Adjust oven rack to middle position and preheat oven to 400°F (200°C). Line a 12-cup muffin tin with paper or foil liners.
  • In a large bowl, whisk together flour, sugar, baking powder, baking soda, and salt.
  • In a microwave safe bowl, combine water, cocoa, chocolate, oil, and vanilla and microwave in 30 second intervals at 50 percent power, whisking occasionally, until melted and smooth, about 2 minutes. Alternately, in a saucepan set over low heat stir together the water, cocoa, chocolate, oil, and vanilla until melted and smooth, taking care not to burn the chocolate. Set aside to cool slightly.
  • Meanwhile, using a stand mixer fitted with whisk, whip aquafaba and cream of tartar on high speed until the mixture forms soft peaks, 3 to 9 minutes. Using a rubber spatula, stir chocolate mixture into flour mixture until batter is thoroughly combined and smooth, about 1 minute. Stir one-third of whipped aquafaba into batter to lighten, then gently fold in remaining aquafaba until no white streaks remain.
  • Divide batter evenly among prepared muffin cups. Bake until tops are set and spring back when pressed lightly, 16 to 20 minutes, rotating muffin tin halfway through baking.
  • Let cupcakes cool in muffin tin for 10 minutes, then move to wire rack and let cool completely, about 1 hour.
  • While the cupcakes are cooling, finish preparing the frosting. Using a stand mixer fitted with whisk attachment, whip at high speed until fluffy, mousse-like soft peaks form, 2 to 4 minutes, scraping down bowl halfway through whipping. Spread frosting evenly over cupcakes and serve. 



*Do not use natural cocoa powder in this recipe as it gives the cupcakes a rubbery, spongy texture.
**Not all brands of semisweet and bittersweet chocolate are vegan so check the ingredient list carefully of whatever brand you intend to use.
Vegan for Everybody Cookbook

Adapted From

Vegan for Everybody

Buy On Amazon


Serving: 1 cupcakeCalories: 372 kcalCarbohydrates: 45 gProtein: 4 gFat: 21 gSaturated Fat: 15 gMonounsaturated Fat: 4 gTrans Fat: 1 gCholesterol: 2 mgSodium: 150 mgFiber: 4 gSugar: 27 g

Nutrition information is automatically calculated, so should only be used as an approximation.

Tried this recipe?Mention @leitesculinaria or tag #leitesculinaria!
Recipe © 2017 America’s Test Kitchen. Photo © 2017 Carl Tremblay. All rights reserved.

Recipe Testers’ Reviews

There are no vegans in our household, but I love a cupcake, so I decided to try this recipe. These chocolate cupcakes are excellent. They’re moist, fluffy, and very soft, deep chocolate-y flavor that’s just sweet enough. I never knew you could get such a great cake texture without an egg in sight!

They rose beautifully and we’re perfectly baked at 20 mins. I used almond milk and included the optional espresso powder. I used store-bought frosting so can’t comment on that part of the recipe.

I’ve been hearing a lot about vegan baking with aquafaba, but I’ve been a bit dubious of using that creamy substance from a can of beans in my baked goods. However, after making this recipe, I’m a convert. I thought these chocolate cupcakes were moist and had a rich flavor.

The chocolate frosting made with coconut fat was also delicious! I think you could get creative with this recipe and add some dissolved espresso powder to the frosting to make a lovely mocha flavor. Also, I filled a few of my cupcakes with raspberry jam before adding the frosting and they were delicious.

Chickpea liquid as an egg replacement? I’ve seen a lot of vegan oddities, but I admit I’ve never even heard of this one. I was half expecting it to not even work or for the cupcakes to taste like hummus (kind of like those black bean brownies that everyone keeps telling themselves taste just like regular brownies). But I’ll be darned, the aquafaba and cream of tartar whipped up really quickly and looked just like whipped egg whites and folded right into the thick chocolate batter. They baked up just as instructed and had a lovely texture.

And the chocolate frosting…oh, this frosting. Holy moly. I love me some home made buttercream, but this is so rich, creamy, and simple that it’ll be tempting to make again for other baked goods. I cheated a little and used Trader Joe’s canned coconut cream so that I didn’t have to refrigerate coconut milk over night, and it worked perfectly–a can and a half was the perfect amount. You really can’t argue with something that’s just mix, nuke, mix…I had a ton left over since I made the whole recipe and I’m not ashamed to say that I ate some out of a bowl, all by itself, for dessert last night. Exquisite!

This recipe was not unlike a typical chocolate cupcake recipe in terms of its process, and I doubt anyone would even notice that they’re vegan. The cupcakes are moist but not too tender or crumbly. They hold up well to being frosted and stay together when being eaten, which means your guests can eat them one-handed over the carpet without leaving too much of a literal crumb trail.

If you’re concerned about the highly polarizing flavor of coconut taking over your frosting, fear not. It’s barely detectable next to mounds of dark chocolate.

About David Leite

I count myself lucky to have received three James Beard Awards for my writing as well as for Leite’s Culinaria. My work has also appeared in The New York Times, Martha Stewart Living, Saveur, Bon Appétit, Gourmet, Food & Wine, Yankee, Los Angeles Times, Chicago Tribune, The Washington Post, and more.

Hungry For More?

Spaghetti Carbonara

This spaghetti carbonara recipe tosses pasta with eggs, cheese, guanciale, pancetta or bacon, and pepper to form a creamy sauce. Quick and easy.

25 mins

Ina Garten’s Mashed Potatoes with Lemon

If Ina believes mashed potatoes need a little acidity to smooth out the richness, so be it. Here’s our new go-to approach to this oh-so-comforting side dish.

40 mins

Leave a comment

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

Recipe Rating


  1. 5 stars
    I was skeptical of this recipe because I’m not vegan. So I thought, why on earth would I enjoy a vegan cupcake? Boy, was I wrong. These chocolate cupcakes were moist, rich, and decadent. They were a lot of work…but for a lot of payoff. We had a host of frat boys over for dinner and not one of them could tell the cupcakes were vegan.

    I melted the chocolate in our microwave using the melt function and whisking at 30-second intervals for 1 minute and 50 seconds. The aquafaba whipped beautifully. Baking time was perfect. I had extra batter—-not enough for 24 cupcakes but definitely more than 12 cupcakes.

    And I would absolutely make the vegan chocolate frosting again, even for non-vegan cupcakes. I think this is one of the best frostings I’ve ever made. My boss is dairy-free and I think she would LOVE this frosting since she loves chocolate ganache and misses it. I might even use it as a macaron filling for her in the future. I piped the frosting onto the cupcakes and they looked absolutely perfect. The frosting held its shape and texture really well, even for a hot, moderately humid day.

    We had leftovers and they lasted a few days—-my husband thinks they were as good on day three as they were fresh from the oven. It was an easy-to-work-with-frosting that made for a decadent experience. I am converted. Plus, I learned about aquafaba, and that is the sort of thing I love most about baking!

    1. Ashley, I love everything you shared about this recipe. Thank you! We couldn’t agree more, although it’s always nice to hear that someone else had the same experience. Many kind thanks and we look forward to hearing which recipe on the site you try next!