Soft and moist coconut cupcakes are topped with a tangy cream cheese frosting for the ultimate tropical dessert!

Taking a little trip to the tropics today and it’s all eyes on coconut! And cake, too, if that wasn’t obvious.
These coconut cupcakes really tick every dessert box. We’ve got a cake base that’s so soft it’s UNREAL along with tons of coconut flakes in every bite and a creamy, luxurious cream cheese frosting piped on top.
Definitely one of those desserts you’re gonna want to pull out for a special occasion, but they’re also easy enough for any ol time!

You don’t need to be a professional baker to nail these cupcakes, either. The batter is very simple and you don’t even need a stand mixer to mix it up.
Bottom line: everyone needs these cupcakes in their life.
These Coconut Cupcakes feature…
- An incredibly soft and moist texture with lots of flaked coconut
- A silky cream cheese frosting
- Golden toasted coconut sprinkled on top

Making the Cupcakes
(scroll down to the bottom of the post for the full recipe)
Ingredients You Will Need
- Unsalted butter
- Granulated sugar
- Eggs
- Vanilla extract
- All-purpose flour
- Cornstarch
- Baking powder
- Kosher salt
- Buttermilk
- Flaked coconut
- Cream cheese
- Powdered sugar
- Half and half cream
Choosing Your Coconut
I recommend using sweetened coconut flakes for these cupcakes. This specific type of coconut has a soft, non-chewy texture with plenty of coconut flavor that translates well in cake.

Tips for Perfect Coconut Cupcakes
- Bring butter, eggs, and buttermilk to room temperature – room temperature will help all these ingredients mix cohesively.
- Measure flour correctly – I use the spoon-and-level technique for measuring flour as this will prevent over-measuring your flour. Use a spoon to scoop flour into the measuring cup, then level with the back of a knife.
- Gently fold batter – use a light hand when mixing batter and gently fold so as not to overmix.
- Allow cupcakes to cool before frosting – the frosting will melt off if you try to frost them while the cupcakes are still warm.
Recipe Variations
Try these ideas for a different twist on these cupcakes.
- Add chocolate – fold 1/2 cup mini chocolate chips into batter.
- Make it fruity – fold 1/2 cup blueberries or raspberries into batter.
- Flavor the frosting – add either 2 teaspoons lemon zest, orange zest, or 1 tablespoon maple syrup to frosting.
- Use a different frosting – try a regular buttercream or chocolate frosting.
Storing Instructions
Once frosted these cupcakes may be stored in refrigerator up to 4 days. They do tend to dry out the longer they sit in the refrigerator so I recommend serving them within a few days of assembly and bring to room temperature before serving.
You can also store the frosting and cupcakes separately before assembly so the cupcakes are fresh for serving. Store the cupcakes in a sealed container at room temperature up to 4 days and the frosting in refrigerator up to 6 days (allow the frosting to soften at room temperature about 60 minutes before frosting).

One bite of these luxurious cupcakes and you’ll never be tempted to pick up a box mix again! Tropical coconut flavor shines throughout the entire cake portion and pairs so beautifully with the tangy cream cheese frosting.
Cupcake heaven right here, folks!
Save this recipe using the ‘save to recipe box’ button below. If you make it, please let us know! Leave a comment + star rating below, or take a photo and tag it on Instagram with #wholeandheavenlyoven.

Try these other delicious cupcakes for your next baking project!
Coconut Cupcakes With Cream Cheese Frosting
This recipe may included paid links. As an Amazon Associate, I earn a commission from qualifying purchases.
Ingredients
Coconut Cupcakes
- 1/2 cup unsalted butter, softened
- 1 cup granulated sugar
- 2 large eggs, room temperature
- 2 large egg yolks, room temperature
- 2 teaspoons vanilla extract
- 2 cups all-purpose flour (spooned and leveled)
- 2 tablespoons cornstarch
- 2 teaspoons baking powder
- 1/4 teaspoon kosher salt
- 1 cup buttermilk, room temperature
- 1 cup sweetened coconut flakes
Cream Cheese Frosting
- 5 tablespoons unsalted butter, softened
- 8 oz cream cheese, softened
- 3-1/2 cups powdered sugar
- 2 tablespoons half and half cream
- 1 teaspoon vanilla extract
- Toasted flaked coconut for topping
Instructions
Coconut Cupcakes
- Preheat oven to 350F and line a 12-cup muffin tin with paper wrappers. Set aside.
- Place butter and sugar in a large bowl (or a stand mixer fitted with paddle attachment) and use an electric mixer to beat on medium speed 2-3 minutes until smooth and creamy.
- Add eggs and egg yolks one at a time to butter mixture while beating constantly on medium speed, beating well after each addition. Mix in vanilla until smooth.
- In a medium bowl, combine flour, cornstarch, baking powder, and salt. Working in increments, fold 1/3 flour mixture and 1/3 of buttermilk into butter-sugar mixture until smooth and repeat 2 more times until all the flour and buttermilk has been added and batter is smooth. Fold in coconut.
- Fill muffin cups 3/4 full of batter and smooth tops. Bake cupcakes at 350F 20-25 minutes until a toothpick inserted in center of cupcake comes out clean. Cool cupcakes completely on a wire cooling rack.
Cream Cheese Frosting
- Place cream cheese and butter in a large bowl (or a stand mixer fitted with paddle attachment) and use an electric mixer to beat on medium speed 2-3 minutes until creamy.
- Add powdered sugar, half and half, and vanilla to cream cheese mixture and beat an additional 3-4 minutes until frosting is completely smooth and creamy. Refrigerate frosting until ready to frost cupcakes.
- Allow frosting to soften to room temperature if you refrigerated it before frosting cupcakes. Frost cupcakes and garnish with toasted coconut. Store cupcakes in refrigerator until ready to serve. Enjoy!
Notes
Nutrition
This post was updated with new recipe tips and photos on 2/20/25.
Lisa Barton @ Vintage Celebrations says
Looks like a lovely recipe Sarah, and as we don’t have the variety of boxed cake mixes here in the UK that you do in the US then am pleased to see it’s a recipe I can follow too!
Sarah says
Thanks, Lisa 🙂
Jennifer S. says
I think these will taste similar to my favourite doughnut at the local coffee shop so I’m definitely going to be trying these.
Sarah says
Let me know how they turn out, Jennifer!
Alli says
I love coconut! Your cupcakes look heavenly.
Sarah says
Thanks, Alli!
Gloria // Simply Gloria says
I love the coconut on these gorgeous cupcakes! We all know how things can get… you are just awesome! Hope this week gets better! (=
Sarah says
Thanks so much for your kind words, Gloria 🙂
Cor says
Hey,in 3 weeks time it is my boyfriend’s bdarhity, will definitely make it.So, I was wondering, since I can’t find shredded sweetened coconut, can I instead use simply shredded dried coconued (that kind of that is on Rafaello)?
Sarah says
Shredded coconut would be a fine substitute.