Coconut and lime is perhaps my favorite combo of all tropical flavors. The bright pop of lime against the soft coconut background always keeps me coming back for more. These Coconut-Lime Cupcakes will do just that, so you might want to double the recipe before they disappear! These cupcakes are perfectly tender and topped with a coconut and lime cream cheese frosting. In short: perfection!

Ingredients Needed
This is just a preview of ingredients and method, keep scrolling for full printable recipe.
Cupcakes
- Boxed cake mix – Yellow or white. We like Duncan Hines.
- Eggs
- Vegetable oil
- Sour cream – Full fat is best.
- Vanilla extract
- Coconut extract
- Fresh lime zest
- Shredded coconut – Sweetened or unsweetened. Find them near the chocolate chips on the baking aisle.
Frosting and Garnishes
- Cream cheese – Full fat. Normally I say low fat is ok, but this frosting truly has better texture with full fat.
- Butter – Always use real butter if you can.
- Powdered sugar
- Fresh lime juice
- Coconut extract
- Lime zest – For garnish.
- Shredded coconut – For garnish. You can toast it first if you’d like!

How to Make Coconut-Lime Cupcakes
- You’ll start by making your cupcakes. Mix up a dry cake mix (disregard the ingredients and instructions on the package), a few eggs, some vegetable oil, sour cream, vanilla and coconut extracts, and the zest of one lime.
- That gets whipped up really well then you’ll gently mix in some coconut shreds, divide the batter among 24 cupcake liners, and bake until a toothpick inserted in the center comes out clean.
- To make the frosting, you’ll whip some cream cheese and butter until fluffy, then add powdered sugar, a little lime juice, and coconut extract and whip to combine.
- Once cupcakes are completely cool, frost with frosting and sprinkle a little shredded coconut and lime zest on for garnish.

Storing and Other Tips
- Store cupcakes in an airtight container in the refrigerator (must be refrigerated for storage due to cream cheese frosting) and enjoy within 3-4 days for best results.
- Make sure you don’t overbake your cupcakes or they will be dry. Keep a close eye on them and check for doneness as soon as they look like they are getting close!
- If you’d like to toast your coconut before using as a garnish, spread coconut out on a baking sheet or oven-safe dish and bake for about 2-5 minutes, stirring every 30-60 seconds at 375°F until it reaches a nice golden brown. For more details see this How to Toast Coconut post.

Frequently Asked Questions
Yes! Change up the add ins and extracts however you like. This is a great basic cupcake recipe. The same is true for the cream cheese frosting!
Definitely! For best results I’d recommend storing the cupcakes and frosting separately (frosting in the fridge because of the cream cheese). When ready to frost, set your frosting out for about 30 minutes to come to room temperature, rewhip briefly, and frost as desired.
The cupcakes themselves will freeze well. I would recommend making the frosting fresh when you’re ready to decorate and serve.
You bet! I don’t have baking times for you, but I would recommend using the times listed on the back of the cake mix box as a general guideline, then just keep a close eye on things and test for doneness with a toothpick inserted into the center of the cake.

Coconut-Lime Cupcakes
Ingredients
Cupcakes
- 1 yellow or white cake mix we’re hopelessly devoted to Duncan Hines
- 3 large eggs
- ½ cup vegetable oil
- 1 cup sour cream
- ½ teaspoon vanilla extract
- 2 teaspoons coconut extract
- zest of 1 medium lime
- 1 cup coconut
Coconut-Lime Cream Cheese Frosting
- 3 8-ounce packages full-fat cream cheese softened (normally I’d say low-fat is fine, but in this case, it would be too runny)
- ¾ cup butter softened
- 3 cups powdered sugar
- juice of 1 medium lime
- 2 teaspoons coconut extract
Garnish
- sweetened coconut
- lime zest
Instructions
- Preheat oven to 350℉. Disregard the instructions on the cake mix box. Line 2 12-cup muffin tins with cupcake liners and set aside.
- In a large bowl or the bowl of a heavy-duty mixer, combine all the cake ingredients except for the coconut: cake mix, eggs, oil. sour cream, vanilla and coconut extracts, and lime zest. Mix on low for 30 seconds or until all the ingredients are roughly combined and then mix on high for 3 minutes. Add the coconut and mix until just combined.
- Evenly distribute the batter among the lined muffin tin. Bake for 16-22 minutes or until a pick inserted into the center of a cupcake comes out clean and the tops are very lightly golden. Be SURE not to overbake these cupcakes because they will taste stale. Remove from oven and allow to cool completely.
- While the cupcakes are cooling, prepare the frosting. Combine the cream cheese and butter in a large bowl or the bowl of a heavy-duty mixer. Whip until light and fluffy. Add remaining ingredients and mix until well-combined. Transfer to a piping bag and swirl the icing over the cooled cupcakes. Garnish with a sprinkling of coconut and a little lime zest. Cover and refrigerate any leftovers. Makes 24 cupcakes.
Notes
- Store cupcakes in an airtight container in the refrigerator (must be refrigerated for storage due to cream cheese frosting) and enjoy within 3-4 days for best results.
- Make sure you don’t overbake your cupcakes or they will be dry. Keep a close eye on them and check for doneness as soon as they look like they are getting close!
- If you’d like to toast your coconut before using as a garnish, spread coconut out on a baking sheet or oven-safe dish and bake for about 2-5 minutes, stirring every 30-60 seconds at 375°F until it reaches a nice golden brown. For more details see this How to Toast Coconut post.














Questions & Reviews
What did I do wrong??? My frosting was very runny – not at all like it looks it your picture. But the flavor of the cake with the frosting was very tasty!
I don’t know, that’s weird! Sometimes I’ve noticed though, that different brands of cream cheese react differently in recipes, it could be that.
I made these for my sisters birthday this past weekend. My mom tood one bite and started singing “you put the lime in the coconut and mix it all up”. They all said tha should be the name of the cupcakes put the lime in the coconut cupcakes!! They were deliscious!!!
I made these Saturday and loved them!! I am not a big coconut fan, so I used a little less than what it called for and it really let the lime come through. Will be making these again for sure 🙂
I wasn’t the biggest coconut fan either until I started using unsweetened coconut from the local food co-op. The difference is amazing and I’ll never use sweetened coconut again. Better flavor, not too sweet, and nothing I bake with it is ever dry.
I am pretty sure I just gained 5 pounds reading that post. Looks great!
If I never lose any of this fourth baby weight I will have the 2 of you to blame… 🙂
I made a cupcake loosely based on Sara’s Lime Coconut Macadamia Nut Cookies that is very similar to this, just add some toasted macadamia nuts to the top of your already-in-the-liners cake batter before you bake and voila! Thanks for the hints on the coconut cake, I’ve always struggled with your same issues. Love you both! Good job incubating! … in the summer, in Lousiana…
my husband gives me lingerie for our anniversary… hint taken 😉
these look delicious, i’m making them!!!
I’m all in for coconut-lime!! Thx!
oh JOY! and YUM! I’m loving this week!!! And I’m totally with you on numbers 1-through 3!
Cheers to my tropical-treat-providing-bloggy-friends!