Coconut Cupcakes with Coconut Buttercream Frosting
These light and fluffy coconut cupcakes are bursting with bright coconut flavor! With ground shredded coconut, coconut milk, and coconut extract, these cupcakes have it all. Topped with coconut frosting, toasted shredded coconut, and malted candy eggs, these adorable cupcakes make the perfect Easter and springtime treat!

While I typically felt indifferent towards coconut, a number of years ago, I began to really appreciate the flavor of coconut. From pie, to layer cakes, old-fashioned coconut cake, and ice cream I found coconut recipes that speak to my soul.
And these coconut cupcakes really are the coup de grace; aside from being supremely soft and fluffy, they are absolutely packed with coconut flavor. These are a long-time favorite recipe!
Why You Are Going to LOVE These Cupcakes
There are layers upon layers of coconut flavor built on top of one another in these cupcakes. The cupcakes themselves have both ground sweetened coconut and coconut milk in them, and they would actually be perfect as-is, but we're going to add even more coconut flavor with coconut buttercream frosting.
I used my favorite vanilla frosting and added some coconut extract; it's a perfectly light and clean-tasting frosting. Not too heavy and definitely not too sugary.
These cupcakes are the perfect dessert for a spring holiday or get-together!

Key Ingredients
In addition to pantry staples like flour, baking powder, salt, butter, sugar, eggs, and vanilla, the following ingredients are really what make these coconut cupcakes shine:
- Shredded Coconut: Sweetened shredded coconut is ground finely into a powder and adds a delightful coconut flavor to these cupcakes.
- Coconut Milk: Use unsweetened coconut milk for this recipe. Canned coconut milk tends to separate so be sure to stir it well before using. You can find this in most grocery stores in the Asian or Hispanic section.
- Coconut Extract: We add this to the frosting to keep that coconut flavor going through the entire finished cupcake! You can find this in most grocery stores in the baking aisle, and it can also be purchased online.
How to Make the Coconut Cupcakes
Now that you have your ingredients for the cupcakes, let's get baking!
Step #1: Prep – Preheat the oven to 350°F. Line a standard muffin tin with paper cupcake liners.
Step #2: Grind Shredded Coconut – In a food processor, pulse the shredded coconut until finely ground; set aside.
Step #3: Prepare the Batter – Whisk together the dry ingredients, then whisk in the ground coconut. In the bowl of an electric mixer, cream the butter and sugar, then add the egg, egg white, and vanilla. Alternate adding the dry ingredients with the coconut milk.

Step #4: Bake the Cupcakes – Divide the batter between the lined cups. Bake until a tootpick inserted in center comes out clean, 18 to 20 minutes.

Step #5: Cool the Cupcakes – Let the cupcakes cool in the pan for 10 minutes, then move the cupcakes to a wire rack to cool completely.
Step #6: Make the Coconut Frosting – Whip the butter on medium-high speed for 5 minutes, then gradually add the confectioners’ sugar. Once all of the sugar is incorporated, add the vanilla and coconut extract. Whip until light and fluffy. Frost and decorate as desired (see ideas below).

Save This Recipe
Decorate the Cupcakes
Since we're getting close to Easter, I decided to do a festive little decoration with toasted coconut to look like nests and topped the cupcakes with Whoppers Robin Eggs. To make your cupcakes look like these nests:
- Frost the cupcakes using an offset spatula.
- Hold the cupcake by the base and roll the top into toasted shredded coconut (see toasting directions below)
- Place 3 Whoppers Robin Eggs on top.
If you want to make these coconut cupcakes for another celebration or a different time of year, you can decorate them by:
- Rolling the top in toasted coconut and leaving as is (see finished photos for an example of this).
- Sprinkling the top with large coconut flakes (toasted or untoasted) for a more dramatic look.
- Pipe the frosting on the cupcakes using the open star Ateco #828 tip and sprinkle with shredded coconut.

How to Toast Shredded Coconut
One of the easiest ways to add extra flavor and a slightly crunchy texture is by toasting your shredded coconut. This amplifies the coconut flavor and provides a slight crunch that adds a delightful contrast to the delicate crumb of these coconut cupcakes. To toast shredded coconut in the oven:
- Preheat the oven to 325°F.
- Spread the coconut shreds in an even, thin layer on a baking sheet.
- Bake for 5-10 minutes. Be sure to keep an eye on the coconut as it will burn easily. Remove the pan immediately.
How to Dye Shredded Coconut
Instead of toasting you can also try dying the shredded coconut. I love to use green, pink, and blue to mimic the look of the grass you can find in easter baskets. To dye the shredded coconut:
- Scoop shredded coconut into a bowl.
- Drop 1-2 drops of the desired color and stir to coat. Add more dye to achieve the desired tint of the color.
- Spread the dyed coconut on a piece of parchment paper and allow it to dry before using.
Alternative Frostings
If you are not feeling an extra layer of coconut in the frosting, try out one of these delicious frostings to top these homemade cupcakes:
- 7 Minute Frosting
- Vanilla Buttercream Frosting
- Cream Cheese Frosting
- The Best Chocolate Frosting
- Homemade Whipped Cream

Storing, Freezing, and Making Ahead
- Storing: Keep these coconut cupcakes ultra-fresh by storing them in an airtight container on the counter at room temperature for up to 3 days.
- Freezing the Cupcakes: Planning to freeze the cupcakes for later is a great way to make them in advance. Freeze cooled and un-frosted cupcakes in a freezer-safe gallon ziplock for up to 3 months. When you are ready to serve frozen cupcakes, remove them from the freezer and allow the cupcakes to sit at room temperature to thaw (about 2 hours).
- Freezing the Frosting: The frosting can be frozen in an airtight container for up to 2 months. Thaw in the refrigerator overnight then re-whip before using.
- Make-Ahead: You can bake these cupcakes up to 2 days in advance, stored at room temperature in an airtight container. You can also prepare the frosting up to 5 days in advance and store in the refrigerator in an airtight container. Let come to room temperature and rewhip before using.
More Coconut Recipes You Will Love:
If you make this coconut cupcake recipe and love it, remember to stop back and give it a 5-star rating - it helps others find the recipe! ❤️️

Coconut Cupcakes with Coconut Buttercream Frosting
Ingredients
For the Cupcakes:
- 1 cup (130 g) all-purpose flour
- 1¼ teaspoons baking powder
- ¼ teaspoon salt
- ⅓ cup (28 g) sweetened shredded coconut
- ½ cup (113 g) unsalted butter, at room temperature
- ¾ cup (149 g) granulated sugar
- 1 egg, at room temperature
- 1 egg white, at room temperature
- 1 teaspoon vanilla extract
- ½ cup (120 ml) unsweetened coconut milk, well-stirred
For the Frosting:
- 1 cup (227 g) unsalted butter, at room temperature
- 2½ cups (284 g) powdered sugar
- 2 teaspoons vanilla extract
- 1 teaspoon coconut extract
To Garnish:
- 1 cup (85 g) toasted coconut
- Whoppers Robin’s Eggs malted milk balls, optional
Instructions
- Preheat oven to 350 degrees F. Line standard muffin tins with paper liners.
- In a medium bowl, whisk together the flour, baking powder and salt. Pulse the shredded coconut in a food processor until finely ground and whisk into the flour mixture; set aside.
- With an electric mixer on medium-high speed, cream the butter and sugar together until pale and fluffy, about 3 minutes. Add the egg, egg white and vanilla extract and beat until completely combined, scraping down the sides of the bowl as needed. Reduce the mixer speed to low. Add the flour mixture in three batches, alternating with two additions of coconut milk, and beating until combined after each.
- Divide the batter evenly between the lined cups. Bake until a toothpick inserted in the center comes out clean, 18 to 20 minutes. Remove from the oven, let cool in the pan for 10 minutes, then remove to a wire rack to cool completely.
- Make the Frosting: Using the whisk attachment of a stand mixer, whip the butter on medium-high speed for 5 minutes, stopping to scrape the bowl once or twice. Reduce the speed to low and gradually add the powdered sugar. Once all of the powdered sugar is incorporated, increase the speed to medium-high and add the vanilla and coconut extracts, mixing until incorporated. Whip at medium-high speed until light and fluffy, about 2 minutes, scraping the bowl as needed.
- Garnish the Cupcakes: Using an offset spatula, spread a mound of frosting on top of each cupcake and create a well in the center. Place the toasted coconut in a shallow bowl. Roll the sides of the cupcake in the toasted coconut, then top with a few Robin's Eggs malted milk balls. The cupcakes should be stored in an airtight container at room temperature for up to 3 days.
Notes
- Equipment: Any standard 12-cup muffin pan will work for these cupcakes.
- Coconut Milk: Be sure to purchase canned coconut milk and not cream of coconut.
- Coconut Extract: This is readily available in most grocery stores in the baking aisle, but can also be purchased online.
- Whoppers Robin Eggs: Most grocery stores and places like Target stock these around Easter, but you can also buy them online.
- Toasted Coconut: To toast the coconut for topping the cupcakes, spread in an even layer on a baking sheet, and bake at 325 degrees F for 8 to 10 minutes, watching closely so it doesn’t burn. Remove from the pan immediately.
- Storing: Keep these coconut cupcakes ultra-fresh by storing them in an airtight container on the counter at room temperature for up to 3 days.
- Freezing: Planning to freeze the cupcakes for later is a great way to make them in advance. Freeze cooled and un-frosted cupcakes in a freezer-safe gallon ziplock for up to 3 months.
- Thawing cupcakes: When you are ready to serve frozen cupcakes, remove them from the freezer and allow the cupcakes to sit at room temperature to thaw (about 2 hours).
- Make-Ahead: You can bake these cupcakes fresh, up to 2 days in advance, or bake and freeze the cupcakes up to 3 months in advance and follow the thawing instructions before frosting and serving.
Did you make this recipe?
Leave a review below, then snap a picture and tag @thebrowneyedbaker on Instagram so I can see it!
Photography by Dee Frances
This recipe was originally published in April 2014.




Hi, have made these cupcakes several times now as they are so YUMMY! I am now making it as a double layer cake and was thinking of adding a layer of raspberry jam and fresh cream in the middle… has anyone tried this, do you think it will work?
Hi Renee, That sounds delicious! Let me know how it turns out!
Hi Michelle,
It was delicious! I made it the afternoon before. I did 4 batches (split into to 9″ pans) so it turned out to be a very tall cake (looked great). Between the layers I did a light spread of raspberry jam and a thick layer of whipped cream (with a dash of vanilla extract and sugar). As I did it the night before it stayed in the fridge over night. I took it out 2 hours before eating and it was like a mud cake texture. Absolutely divine!!!! Thanks for such a delicious recipe!!
I love this recipe and so does my friends who likes coconut.
One of my friends doesn’t take coconut so can I replace the coconut milk with milk and do not add the shredded coconut too?
Hi Anne, You could certainly try! I haven’t done it so I don’t know how it will turn out; let me know!
Thanks so much for sharing this delightful recipe! I’m hoping to make these this weekend, and wanted your opinion on whether I could substitute coconut oil for butter? I wasn’t sure if that would affect the consistency or flavor greatly. I will also be omitting the coconut extract in the frosting since I don’t have any on hand. Thoughts?
Hi Daniela, I have not substituted coconut oil for the butter so I can’t guarantee how they would turn out. If you try it, let me know!
Hi Michelle, Thanks for your speedy reply! I’ll give it a go and report back :)
Thank you for the recipe! I tried it and absolutely love the finished product. Cupcakes are very light and moist. I would recommend doubling the recipe if more than a dozen is needed. The recipe makes just shy of a dozen both times I’ve made it, (11 cupcakes). I would definitely bake them again! :-)
I only have sweetened coconut milk on hand. Do you have any suggestions on the amount of sugar to use in the batter since I’ll be cutting back on the sugar bc of the sweetened coconut milk.
Hi Jen, I really don’t know, as there’s no way to tell how much sugar is in the coconut milk. Keep in mind, as well, that removing sugar from the batter could impact the final texture.
Amazing! The cake was really moist, and the frosting was incredibly creamy and delicious. I topped them with Cadbury Mini Eggs. Everyone loved them. Thanks for a great recipe!
Yummy sounding recipe, thank you. These look perfect for my upcoming Easter dessert! One quick question: the shredded coconut for the cake is listed specifically as “sweetened;” however, the toasted coconut for the garnish is not specified as sweetened or unsweetened. What did you use/what do you prefer? Wasn’t sure if sweetened coconut on top of the coconut frosting would be TOO sweet… or just even more amazing! :-) Thanks!
Hi Ashley, I really don’t think it matters, but I used sweetened on top. Enjoy!
Hi there – the egg quantity isnt listed. I am baking atm and would really love to try these out
Hi Sina, It is listed… 1 egg and 1 egg white… under the ingredients.
Hi!can i u used dessicated coconut for this recipe.
Hi Alice, Yes, I think that would work just fine.
Thank you! Absolutely lovely. A definite keeper!
I am a coconut lover and these are my dream. I’m headed to the kitchen to make them a reality. Thanks so much for the recipe!
is there any substitute for coconut milk ?
Hi Sabina, Not for this recipe, since that is what contributes to the coconut flavor in the cupcakes.
i have coconut milk powder, please tell me how to use it in this recipe.
Hi Sabina, I have never used coconut powder, so unfortunately I can’t give any recommendations without knowing how it might affect the taste or texture of the cupcakes.
why vanilla extract and not coconut extract in the batter?
Because they are already tremendously infused with pure coconut flavor through the coconut milk and actual shredded coconut.
hello michelle, planning on making these this weekend for the family and my family and i are huge coconut lovers but not so much big on frosting. is the cupcake it self (without frosting) have a strong coconut flavor?
Hi Emma, I wouldn’t classify the cupcake flavor as strong. It definitely tastes like coconut but not as much so as the frosting. You could always use less frosting per cupcake.
Hi Michelle, when u pulse the coconut flakes to add to the flour, after the cupcakes bake will u still be able to taste the crunchiness of the coconut flakes?
Hi Shannice, No, the purpose of pulsing it into the flour is so that the cupcakes have a consistent texture, while maintaining a coconut flavor. That is why the extra toasted coconut is added to the top of the cupcakes.
I love this cake! I keep making it and getting lots of compliments ( I top it with a whitechocolate buttercream and toasted coconut and almonds) This is a nice moist cake. Thank you!
Can sweetened be substituted with unsweetened coconut??
I think you could do that without an issue, yes.
Can i use margarine instead of butter ?
Hi Dia, I would not recommend that.
Can i use a hand mixer to make the frosting?
Hi Jamie, Yes, I think that would work just fine.
After you add the flour in three batches, you then add the milk in two batches right??
Hi Raneisha, No, you add them in alternating fashion, i.e. Add ⅓ of flour, add ½ of milk, add ⅓ of flour, add remaining ½ of milk, then remaining ⅓ of flour.
so the recipe calls for 1 cup coconut milk.
No, not 1/3 cup or 1/2 cup… one-third of the flour mixture, one-half of the milk, etc.
I made these after my friend made them and said they were THE BEST CUPCAKES she has ever had, and I too fell in love. The frosting is out of this world light and fluffy and whippy. The cake is dense and moist and delicious. I am wondering if this recipe is ok to double, as one dozen just isn’t enough?
Thanks for yet another fantastic recipe!
Hi Jana, I have not doubled this particular recipe, but I think it should be fine.
It worked! I doubled the recipe and it turned out perfect. It made 24 regular size cupcakes and 24 mini cupcakes. :)
I made these for Easter and they were so so good! They were also very easy to make and decorate and of course so adorable. I just barely mixed all the ingredients together and baked til the tops were JUST set, and the cupcakes came out very light and fluffy. However I got the most comments on the frosting and how light and fluffy that was too! All the whipping really paid off and made a difference in the texture. I ended up popping a finished one (w/o the candy) in the microwave for some unknown reason to try it slightly warm and it was INCREDIBLE when warm. Like I almost cried incredible. Such a good recipe and decorating idea, thanks!
MMMMMmmm!!!! So delicious! A success in my family! Thanks for this recipe!
great recipe ;)
Thanks for sharing great recipe :)
Online cake delivery in hyderabad
Awesome recipe. And so pretty! I made 2 batches!
Just getting ready to make these for Easter. Your directions say to whisk the flour, baking powder and salt, however, I don’t see salt listed in the ingredients. Could you please tell me how much? Thanks!!
Hi Jenny, It’s up there in the ingredient list. You need ¼ teaspoon.
Thanks for adding it in. I used the recipe that was emailed to me on 4/16 and it wasn’t included on that version. Made they today and they turned out great!
looking forward to making these, but am wondering if the coconut milk called for is the kind in the can or the cartons in the dairy section?
Hi Michelle, I bought it in a can, in the Hispanic section.
thanks much! I had some of the coconut milk left over, so I put a little of it in with the frosting. I also added lemon curd to the cupcake before frosting and the lemon and coconut was a nice combo.
I am a coconut fiend! I love it in everything, cookies, smoothies, bread, chicken, salad, everything. Loving this post and looking forward to making these!
http://hotdogfoodblog.blogspot.com/
these look so great for easter!