Tessa’s Recipe Rundown
Taste: Chocolate and coconut is such a fantastic combo!
Texture: The cupcakes are crazy tender, moist, and rich while the creamy frosting is perfectly balanced by the hint of crunch in the toasted coconut.
Ease: Easy peasy!
Pros: Fun spring recipe for whenever the “Mounds” craving hits.
Cons: None.
Would I make this again? Definitely!
This post may contain affiliate links. Read our disclosure policy.
These Chocolate Coconut Cupcakes are absolute heaven!
I talk often — and admittedly think even more often — about chocolate flavor pairings.
My go-to is usually chocolate with MORE CHOCOLATE.
But sometimes, you need to switch things up. I recently realized that I tend to enjoy coconut more in savory dishes than sweet ones.
I thought these Chocolate Coconut Cupcakes would be a perfect simple recipe to work on.
My goal was to use coconut in as many forms as possible so it would be able to match the intensity of the chocolate flavor.
You’ll see there’s coconut oil, coconut milk, coconut extract, and shredded coconut. Each of those ingredients offer not only a lovely coconut flavor but also (aside from the extract) a crucial texture component!
Give these cupcakes a try for any springtime parties, birthdays, or just a delicious weekend bake.
Sprinkle of Science
How to Make Chocolate Coconut Cupcakes
Why Combine Chocolate, Cocoa, and Boiling Water?
Not only does this melt the chocolate, but the boiling water helps to ‘bloom’ the cocoa powder, which helps it release its flavor compounds for a richer chocolate experience.
Do I Have to Use Dutch-Process Cocoa Powder?
For best results, I find Dutch-Process Cocoa Powder creates more moist and tender cupcakes with a deeper color. Dutch-process tends to have more fat content and is less starchy than most grocery store natural cocoa powder products. Basically, you’re less likely to have dry cupcakes when using Dutch-process cocoa. If you don’t have or can’t find Dutched cocoa, check out the paragraph just below.
How to Use Natural Cocoa Powder Instead
Use the same amount of natural unsweetened cocoa powder in place of the Dutch-Process and omit the vinegar from the recipe. Learn more about Dutch-Process vs. Natural Cocoa powder here.
How to Bake with Coconut Oil
- For this recipe, virgin coconut oil not only adds a rich texture but an extra hit of coconut flavor.
- Since the oil needs to be melted to incorporate into the batter, I find it easiest to measure melted. You can simply pop your glass container of coconut oil in the microwave without the metal lid and nuke until the top layer melts enough for the recipe.
- By the way, I also have a great Coconut Oil Chocolate Chip Cookie recipe and a Coconut Oil Brownie recipe to enjoy more of that coconut oil!
What if I Don’t Have Coconut Oil?
While coconut oil is best, you can use vegetable or canola oil instead. Just make sure it’s fresh and has no off aroma.
How to Bake with Coconut Milk
- Be sure to use canned full-fat coconut milk for best results. Anything else will create cupcakes that are drier and not as rich.
- Since canned coconut milk tends to separate, vigorously shake the can before opening. If it’s still very separated, whisk until somewhat smooth before adding it to the batter. It doesn’t have to be perfect, it’ll all blend together eventually. You just want to make sure you’re getting a good amount of both the fat solids and liquid, not too much of just one.
Tips for the Best Coconut Buttercream
- Start with just 1/2 a teaspoon coconut extract, adding more if needed, to taste. You can always add more, but you can’t take it away!
- If your buttercream is too thick, add a little more cream.
- If your buttercream is too thin, add a little more powdered sugar to thicken.
Help! I Don’t Have Any Butter or I Need to Make This Dairy-Free
The Chocolate Coconut Cupcake base is actually butter-free and can be dairy-free if you use dairy-free chocolate. Feel free to experiment with vegan butter in the buttercream, or instead, use whipped coconut cream in place of the coconut buttercream for a totally dairy-free treat.
Can This Recipe Be Made Into a Cake?
Almost any cupcake recipe can be turned into cake. Check out my full guide on how to convert cupcakes into cake (and vice versa!).
How to Store Chocolate Coconut Cupcakes or Make Ahead of Time
- Unfrosted: Store unfrosted Chocolate Coconut Cupcakes in an airtight container at a cool room temperature (about 67°F) for up to 2 days. Airtight plastic or glass containers work better than resealable bags to prevent the tops from getting all sticky.
- Frosted: Store frosted cupcakes in an airtight container for up to 8 hours at room temperature, or in the refrigerator for up to 2 days. Let come to room temperature before serving.
- If you need to prep these cupcakes further in advance, check out my freezing instructions below.
How to Freeze Chocolate Coconut Cupcakes
- Wrap cupcakes individually in plastic wrap (this prevents freezer burn and taste transference).
- Place cupcakes inside a freezer bag on a shelf in your freezer where they won’t get smashed, or in an airtight container.
- Freeze for up to 3 months.
- To thaw: Unwrap the cupcakes and allow to defrost at room temperature for about 1 to 2 hours. I don’t recommend defrosting in the fridge overnight in plastic as it tends to create a more sticky top, causing the frosting to slide off.
- Coconut Buttercream: Freeze the buttercream in an airtight container for up to 3 months. Defrost in the fridge overnight and re-whip in the stand mixer until light and fluffy again. Add a tablespoon or two of powdered sugar to thicken, or a splash more cream to thin, as needed.
More Cupcake Recipes You’ll Love:
- The Best Chocolate Cupcakes
- Ultimate Nutella Cupcakes
- Mint Chocolate Cupcakes
- Chocolate Blackout Cupcakes
- Red Velvet Cupcakes
Become a Baking Genius!
Sign up for our free email newsletter for NEW recipes & baking science secrets.
Chocolate Coconut Cupcakes
Ingredients
For the chocolate cupcakes:
- 5 ounces (142 grams) bittersweet chocolate, finely chopped
- 1/3 cup (28 grams) Dutch-process cocoa
- 1/2 cup boiling water
- 3/4 cup (95 grams) all-purpose flour
- 1/2 cup (100 grams) granulated sugar
- 1/4 cup (50 grams) packed light brown sugar
- 1/2 teaspoon salt
- 1/2 teaspoon baking soda
- 1/2 cup full-fat canned coconut milk, shaken well or whisked until somewhat smooth
- 1/4 cup melted virgin coconut oil
- 2 large eggs plus one egg yolk, at room temperature
- 2 teaspoons white vinegar
- 1 teaspoon vanilla extract
For the coconut buttercream:
- 3 cups (375 grams) powdered sugar, sifted
- 8 ounces (227 grams) unsalted butter, at room temperature
- 1/4 teaspoon fine salt
- 1/2 to 1 teaspoon coconut extract
- 2 tablespoons full-fat canned coconut milk
For the toppings:
- 1 cup (85 grams) shredded sweetened coconut
Instructions
Make the cupcakes:
- In a medium heatproof bowl, add the chocolate and cocoa powder. Pour hot water over mixture. Cover and let stand for 5 minutes. Whisk mixture gently until thick and smooth, then set aside to cool completely.
- Meanwhile, preheat the oven to 350°F. Line a standard 12-cup muffin tin with liners.
- In a small bowl, whisk together the flour, sugar, brown sugar, salt, and baking soda.
- Whisk the coconut milk, coconut oil, eggs, egg yolk, vinegar, and vanilla into the cooled chocolate mixture until smooth. Stir in the flour mixture until smooth, being careful not to overmix.
- Using a spring-loaded scoop, divide the batter evenly among prepared muffin cups. Bake until cupcakes are set and firm to the touch, about 17 to 20 minutes.
- Let cupcakes cool in pan on a wire rack for 10 minutes before removing from pan to cool completely, about 1 hour. Cupcakes can be stored in an airtight container at room temperature for up to 1 day.
Make the frosting:
- In the bowl of a stand mixer fitted with the paddle attachment, mix together the sugar and butter. Mix on low speed until well blended and then increase the speed to medium and beat for another 3 minutes. Add the salt, coconut extract, and coconut milk and beat on medium for 1 minute, adding more cream if needed or more powdered sugar to thicken.
Toast the coconut:
- Place the coconut in a medium skillet set over medium heat. Stirring constantly, toast until golden brown. Remove and let cool.
To assemble:
- Use an offset spatula to spread the frosting onto each cupcake. Sprinkle with the cooled toasted coconut. Serve or store for 1 day at room temperature or up to 2 days covered in the fridge.
This post was originally published in 2022 and has been updated with additional baking tips. Photos by Ashley McLaughlin.
Such a delicious cupcake.
Rich, chocolate cake flavor. Plenty of coconut flavor in the frosting. Tastes like a Mounds candy bar.
Ate 3 in one day! Thanks!
So happy you loved this recipe!
These cupcakes are delicious! I made these & 4 other kinds for a wedding. They requested coconut in the cupcake which was delicious! I did add an extra tablespoon of coconut milk to the frosting as well as 1 tablespoon of cream because the frosting was thick, this mad it easy to decorate
Wonderful! I’m so pleased these cupcakes were a hit and that you chose to use my recipe to celebrate with! 🙂
I made this as an Easter treat for my neighbors and everybody absolutely loved it. The chocolate flavor was great (I used extra dark cocoa powder). I will definitely make this again.
So nice of you to share with your neighbors, Christine! I’m sure they love where they live 🙂
I made these cupcakes for my Easter gathering. These cupcakes, in addition to being so cute and festive, taste absolutely fabulous. The frosting is very good and creamy, but the cake is moist with a very nice crumb and texture. What stands out the most is the rich chocolatey flavor kissed by a gentle hint of coconut. I’m an experienced home baker, and this cupcake is one of the best I’ve ever made or even purchased from a bakery! Thanks so much, Tessa, for developing this marvelous recipe!!!!!!
Wow, Jane, thank you for the ultimate compliment! You just made my day 🙂 I’m absolutely thrilled you love these cupcakes!
Hi Tessa,
Sometimes I see that a recipe calls for baking powder and baking soda. Can you please tell me the function of baking soda? And can it be left out if it is not for hand?
Hi Farrah, I discuss baking powder and baking soda in this post. I do not recommend making this recipe without it as it is a crucial ingredient in helping the cupcakes rise. Good luck!
What would be a good substitute for the coconut oil?
Hi Carla, I talk about that in the pink box above the recipe 🙂
It’s amazing!! My family loves it! Whenever i bake them, my mom is always anxiously waiting for them to come out of the oven and once the cupcakes are cool enough to touch half of them are gone within fifteen minutes!
The cupcakes are soft, spongy and moist on the inside. The top is slightly crispy. They keep well fo quite a number of days. Three days later kept at room temperature and they are still as moist and spongy as day one!
Definitely recommend it!!! Especially love it because it has coconut, which my mom loves!! 11/10 for me!!!
Would the same measurements yield a 13×9 cake?
Can you use coconut cream instead of milk?
I used coconut cream and they turned our great!
Gorgeous! Deliciously chocolatey just the right hint of coconut.
I had made this cupcake for my kid’s birthday and I love it. My husband thought the same lol, he ate four when I was done and not watching him haha
They are so yummy! I will definitely put it on my favorite recipe list. Thank you so much
Could I use vanilla extract instead of coconut extract in the frosting? Do you think it’ll still taste a little like coconut?
This cupcake was amazing! Can’t believe I have tried cupcakes for the first time and trust me, it was a hit in my family. Your recipe’s are amazing, waiting for the new one.