Coconut Cupcakes

Jump to Recipe

This post may contain affiliate links. Please read our disclosure policy.

These coconut cupcakes are irresistibly moist with a beautiful crumb and rich coconut flavor. Slathered with homemade coconut frosting, they’re truly the best cupcakes ever.

Close-up of a coconut cupcake with a bite taken out, showing a moist vanilla crumb topped with creamy coconut frosting and shredded coconut, in a white paper liner.

Just like my famous coconut cake, these coconut cupcakes are truly some of the very best cupcakes I’ve ever made or eaten.

They’re some of those stick-to-your-fork moist cupcakes that keep you coming back for more. They’re moist and fluffy at the same time with tons of coconut, without it being overpowering.

The irresistible homemade coconut frosting piped or slathered on top is the chef’s kiss that makes them out of this world delicious.

Close-up of a coconut cupcake, showing a moist vanilla crumb topped with creamy coconut frosting and shredded coconut, in a white paper liner. Other cupcakes surround it on a white plate.
Want to save this recipe?
Enter your email below, and I’ll send the link straight to your inbox. Plus, you’ll receive cooking & baking tips & recipes weekly!

Coconut Cupcakes: Ingredients & Substitutions

Overhead view of labeled ingredients for coconut cupcakes arranged on a light surface, including all-purpose flour, granulated sugar, shredded coconut, coconut milk, sour cream, canola oil, melted salted butter, eggs, vanilla, baking powder, baking soda, and salt.
  • All-purpose flour. you can use gluten-free flour to make this gluten-free.
  • Granulated sugar. white sugar or organic cane sugar are the best choices.
  • Salted butter. unsalted butter works well.
  • Full-fat coconut milk. I use canned coconut milk. You can use a lite version but I recommend full fat.
  • Canola oil. coconut oil is a great substitute for canola oil.
  • Sour cream. full-fat greek yogurt is a good substitute.
  • Shredded Coconut. I suggest unsweetened shredded coconut for the best results.
  • Coconut Frosting. Use this recipe for the best coconut frosting. Or you can make vanilla butter creamvanilla frosting, etc. if you prefer.
Close-up of a coconut cupcake with a bite taken out, showing a moist vanilla crumb topped with creamy coconut frosting and shredded coconut, in a white paper liner and sitting on a light-colored wire cooling rack.

How to Make

Let’s walk through how to make coconut cupcakes, and don’t forget to watch the video.

Begin by preheating the oven to 350 degrees Fahrenheit (177 degrees Celsius). Then, line two, standard cupcake pans with cupcake liners and lightly grease them.

Making coconut cupcakes: overhead photo of a white speckled 12-cup muffin tin lined with white paper liners and sitting on a countertop.

Next, combine the flour, salt, baking soda and baking powder together in a medium bowl and set the dry ingredients aside.

Making coconut cupcakes: overhead photo of dry ingredients for coconut cupcakes being added to a clear mixing bowl.
Making coconut cupcakes: overhead photo of dry ingredients for coconut cupcakes added to a clear mixing bowl and mixed together.

Then, melt the butter in a large bowl. Once it’s melted, whisk in the coconut milk, sugar, canola oil, sour cream, eggs and vanilla until smooth.

Making coconut cupcakes: overhead photo of wet ingredients for coconut cupcakes added to a clear mixing bowl.
Making coconut cupcakes: overhead photo of wet ingredients for coconut cupcakes added to a clear mixing bowl.

Then, whisk in the flour mixture until the batter is smooth.

Making coconut cupcakes: overhead photo of wet ingredients for coconut cupcakes added to a clear mixing bowl and mixed together.
Making coconut cupcakes: overhead photo of wet and dry ingredients for coconut cupcakes being combined in a clear mixing bowl.

Stir int he shredded coconut. I like to add it after the flour mixture to ensure the flour is completely incorporated and there are no lumps.

Making coconut cupcakes: overhead photo of wet and dry ingredients for coconut cupcakes combined in a clear mixing bowl and mixed together.
Making coconut cupcakes: overhead photo of shredded coconut being added to the cupcake batter in a clear mixing bowl.
Making coconut cupcakes: overhead photo of completed cupcake batter in a clear mixing bowl and ready to scoop.

Measure a heaping ¼ cup of batter into the well of each muffin tin.

Making coconut cupcakes: overhead photo of a white speckled 12-cup muffin tin lined with white paper liners, each of which has been filled with cupcake batter.

Then, bake the coconut cupcakes in the preheated oven for 17 to 20 minutes, or until the tops are set and very lightly browned, and a cake tester inserted in the center comes out clean.

Making coconut cupcakes: overhead photo of completed, baked cupcakes sitting in a 12-cup muffin tin.
Making coconut cupcakes: close-up photo of completed, baked cupcakes sitting in a 12-cup muffin tin on top of a black wire cooling rack.

After baking, let the coconut cupcakes cool in the pan on a wire cooling rack for at least 10 minutes. Then, use a spoon to lift them out of the muffin pan and transfer them to a wire cooling rack to cool completely.

Optional. You can transfer the coconut cupcakes to a baking sheet and put them in the freezer to cool/harden before frosting. I prefer frosting frozen cakes/cupcakes.

Making coconut cupcakes: overhead photo of completed, baked coconut cupcakes sitting on a black wire cooling rack.

While the cupcakes are cooling, make the coconut frosting by following this recipe.

Making coconut cupcakes: close-up photo of homemade coconut frosting in a white speckled bowl with a whisk being held near the bowl.

Then pipe or slather the frosting on top of each cupcake. If desired, sprinkle the top with more coconut or sprinkles. Then, chill the cupcakes in the refrigerator overnight. These coconut cupcakes taste even better the second day.

Close-up of a coconut cupcake, showing a moist vanilla crumb topped with creamy coconut frosting and shredded coconut, in a white paper liner. Other cupcakes surround it on a light-colored wire cooling rack.

Serve

Serve the cupcakes at room temperature for the best flavor and texture.

Close-up of a coconut cupcake, showing a moist vanilla crumb topped with creamy coconut frosting and shredded coconut, in a white paper liner. Other cupcakes surround it on a white plate.

Store/Freeze

Store leftover coconut cupcakes in an airtight container in the refrigerator for up to 1 week, or in the freezer for up to 1 month. Thaw slowly at room temperature – do not microwave the cupcakes.

Close-up of a coconut cupcake with a bite taken out, showing a moist vanilla crumb topped with creamy coconut frosting and shredded coconut, in a white paper liner. Other cupcakes surround it on a light surface.

Coconut Cupcakes Recipe FAQS

How do I get strong coconut flavor in coconut cupcakes?

This recipe has the perfect coconut flavor from coconut milk and shredded coconut. If you want an even stronger flavor, you can add coconut extract to the batter along with the vanilla.

Can I use sweetened or unsweetened coconut in coconut cupcakes?

This recipe calls for unsweetened coconut, you can use sweetened it will just make the cupcakes sweeter.

Can I make coconut cupcakes ahead of time?

Yes absolutely. They are the best when stored in the fridge overnight.

What frosting pairs best with coconut cupcakes?

This is the best coconut frosting and works the best on these cupcakes. Or you can make vanilla butter creamvanilla frosting, cream cheese frosting, etc. if you prefer.

Can I toast the coconut for topping cupcakes?

You do not have to, but if you like the toasty flavor you can toast the coconut on the stovetop or in the oven.

Can I make coconut cupcakes gluten-free?

Yes. Use a 1:1 gluten-free all-purpose flour blend designed for baking.

Close-up of a coconut cupcake with a bite taken out, showing a moist vanilla crumb topped with creamy coconut frosting and shredded coconut, in a white paper liner. Other cupcakes surround it on a light surface.

If you make and love my recipes, it would mean so much to me if you would leave a comment and rating! And don’t forget to follow along on Instagram, Pinterest, Facebook, TikTok and Youtube – be sure to tag @joyfoodsunshine and use the hashtag #joyfoodsunshine so I can see your creations!

Coconut Cupcakes

Laura
These coconut cupcakes are irresistibly moist with a beautiful crumb and rich coconut flavor. Slathered with homemade coconut frosting, they're truly the best cupcakes ever.
No ratings yet
Course cake, cupcakes, Dessert
Cuisine American
Servings 24 Cupcakes
Calories 384
Prep Time10 minutes
Cook Time20 minutes
Cooling/Chilling1 day 1 hour
Total Time1 day 1 hour 30 minutes

Video

Ingredients 
 

Coconut Frosting

Instructions 

  • Preheat oven to 350 degrees Fahrenheit (177 degrees Celsius)
  • Line 2 standard muffin pans with liners and lightly grease. Set aside.

Make the Cupcakes

  • In a small bowl combine flour, baking soda, baking powder and sea salt, set aside.
  • In a large bowl, melt butter. Whisk in coconut milk, sugar, canola oil, sour cream, eggs and vanilla until smooth.
  • Then, whisk in dry ingredients until smooth and there are no lumps.
  • Add coconut and stir until evenly distributed throughout the batter.
  • Measure a heaping ¼ cup of batter into the well of each muffin tin.
  • Bake in the preheated oven for 17 to 20 minutes, or until the tops are set and very lightly browned, and a cake tester inserted in the center comes out clean.
  • Let the coconut cupcakes cool in the pan on a wire cooling rack for at least 10 minutes. Then, use a spoon to lift them out of the muffin pan and transfer them to a wire cooling rack to cool completely.
  • Optional. Transfer them to a baking sheet and put them in the freezer to cool/harden before frosting.

Make the Frosting

  • In the bowl of a standing mixer, or in a large bowl with a handheld mixer, beat butter until smooth.
  • Then add vanilla, sea salt and 2 cups powdered sugar and beat until smooth.
  • Next, add coconut milk and the rest of the powdered sugar (3 cups) and beat until combined.
  • Beat in coconut.

Frost, Chill & Serve

  • Pipe or spread the frosting on top of each cupcake.
  • Chill the cupcakes in the refrigerator overnight.
  • Remove from the refrigerator at least 1 hour before serving. They are best served room temperature.

Notes

Ingredient Substitution Notes
  • All-purpose flour. you can use gluten-free flour to make this gluten-free.
  • Granulated sugar. white sugar or organic cane sugar are the best choices.
  • Salted butter. unsalted butter works well.
  • Full-fat coconut milk. I use canned coconut milk. You can use a lite version but I recommend full fat.
  • Canola oil. coconut oil is a great substitute for canola oil.
  • Sour cream. full-fat greek yogurt is a good substitute.
  • Shredded Coconut. I suggest unsweetened shredded coconut for the best results.
  • Coconut Frosting. Use this recipe for the best coconut frosting. Or you can make vanilla butter creamvanilla frosting, etc. if you prefer.
Store/Freeze
Store leftover coconut cupcakes in an airtight container in the refrigerator for up to 1 week, or in the freezer for up to 1 month. Thaw slowly at room temperature – do not microwave the cupcakes.

Nutrition

Serving: 1cupcake w/frosting | Calories: 384kcal | Carbohydrates: 49g | Protein: 2g | Fat: 21g | Saturated Fat: 13g | Polyunsaturated Fat: 1g | Monounsaturated Fat: 5g | Trans Fat: 0.5g | Cholesterol: 46mg | Sodium: 203mg | Potassium: 93mg | Fiber: 1g | Sugar: 40g | Vitamin A: 389IU | Vitamin C: 0.2mg | Calcium: 17mg | Iron: 1mg

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

Did you enjoy this recipe? Have a question? Leave a comment below!

latest recipes

Post a Comment or Ask a Question!

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

Recipe Rating