Addictive Recipes from a Self-Taught Baker

Coconut Carrot Cake Cupcakes

Super spiced and moist carrot cake cupcakes filled with shredded coconut and topped with creamy cream cheese frosting. Recipe on

Up until today, you couldn’t find a carrot cake cupcake recipe on my blog. Zero. Zip. Zilch. Considering carrot cake is simply known as “birthday cake” in my family, I’m ashamed. No miniature version of the world’s best cake flavor? Who even am I?

Super spiced and moist carrot cake cupcakes filled with shredded coconut and topped with creamy cream cheese frosting. Recipe on

In my defense though!! I published a recipe for them in Sally’s Baking Addiction. But let’s make room for carrot cake cupcakes on the website. They’re a long time coming and I have a feeling they’ll fit right in with this crowd.

(By the way. Remember when I told you hummingbird cake was better than carrot cake? I was pregnant and being silly. It’s obviously a tie.)

Carrot cake cupcake batter on

Let’s be honest. Carrot cake is only good if it’s SPICED and if it’s MOIST. Under-spiced carrot cake tastes like nothing. Dry carrot cake tastes like you forgot you were baking a cake and frosted a vegetable instead. Best not to stray from the recipe below.

From the oil and the brown sugar to the eggs and Greek yogurt, there are many moist-makers in these carrot cake cupcakes. Two stand out the most:


There are dry carrot shreds and there are wet carrot shreds. Carrots that you buy pre-shredded are much drier and thicker than freshly grated carrots. Use those and you’ll miss out on a ton of moisture, not to mention experience large chunks of carrot in each bite. Buy carrots and freshly grate them at home.


While the main player in this recipe is the carrot, we can’t ignore the coconut. Best to use sweetened shredded coconut in these cupcakes. Unsweetened is fine, but it’s typically drier and less flavorful than sweetened.

Not a fan of coconut? I got ya. Check out the recipe note below.

Carrot cake cupcake batter on

Coconut carrot cake cupcakes on

Carrot cake cupcakes are great, but they’re muffins without a swipe of cream cheese frosting. (Super moist and spiced and delish carrot cake muffins, ok?)

Cool, creamy, and smooth-as-silk cream cheese frosting complements the warm spices in carrot cake. Want to jazz it up? Try my brown butter cream cheese frosting or cinnamon cream cheese frosting. You can even add a little coconut extract to really amp up the coconut flavor.

Cream cheese frosting on

I used an Ateco 808 large round piping tip. Very easy frosting method used here. I show you exactly how I do it in this  piping tips video (at the :55 second mark).

The coconut carrot cake cupcakes taste even better after a few hours because the flavors have settled, mingled, and married. The moisture prevails and the cream cheese frosting sets into the tops. They’re the perfect treat to make ahead of time– even a day or 2 before. I had these in the fridge for a couple days before our friends came over for dinner last weekend. And, 2 days later, they tasted AWESOME.

Super spiced and moist carrot cake cupcakes filled with shredded coconut and topped with creamy cream cheese frosting. Recipe on

Super spiced and moist carrot cake cupcakes filled with shredded coconut and topped with creamy cream cheese frosting. Recipe on

Coconut Carrot Cake Cupcakes


  • 1 and 1/4 cups (156g) all-purpose flour (spoon & leveled)
  • 1 teaspoon baking powder
  • 1/2 teaspoon baking soda
  • 1/2 teaspoon salt
  • 1 teaspoon ground cinnamon
  • 3/4 teaspoon ground ginger
  • 1/4 teaspoon EACH ground nutmeg and ground cloves
  • 1/2 cup (120ml) vegetable oil, canola oil, or melted coconut oil
  • 1 cup (200g) packed light or dark brown sugar
  • 2 large eggs, at room temperature
  • 1/3 cup (75g) plain yogurt, sour cream, or unsweetened applesauce
  • 1 teaspoon vanilla extract
  • 1/2 teaspoon coconut extract (optional)
  • 1 cup (130g) freshly grated carrots (about 2 medium)
  • 1 cup (80g) sweetened shredded coconut*

Cream Cheese Frosting

  • 8 ounces (224g) full-fat block cream cheese, softened to room temperature
  • 1/2 cup (115g) unsalted butter, softened to room temperature
  • 3 cups (360g) confectioners' sugar, plus an extra 1/4 cup if needed
  • 1 teaspoon pure vanilla extract
  • 1/2 teaspoon coconut extract (optional)
  • 1/8 teaspoon salt
  • toasted coconut flakes for topping*


  1. Preheat the oven to 350°F (177°C). Line a 12-cup muffin pan with cupcake liners.
  2. Whisk the flour, baking powder, baking soda, salt, cinnamon, ginger, nutmeg, and cloves together in a large bowl. Set aside. Whisk the oil, brown sugar, eggs, yogurt, vanilla and coconut extract (if using) together until combined. Whisk in the carrots and coconut. Pour the wet ingredients into the dry ingredients and use a mixer or whisk until completely combined. Batter will be thick.
  3. Pour/spoon the batter into the liners - fill only 2/3 full to avoid spilling over the sides. Bake for 20-22 minutes, or until a toothpick inserted in the center comes out clean. For around 30 mini cupcakes, bake for about 12-13 minutes, same oven temperature. Allow the cupcakes to cool completely before frosting.
  4. Make the frosting: In a large bowl using a handheld or stand mixer fitted with a paddle or whisk attachment, beat the cream cheese and butter together on high speed until smooth and creamy. Add 3 confectioners' sugar, vanilla, coconut extract (if using) and salt. Beat on low speed for 30 seconds, then switch to high speed and beat for 2 minutes. If you want the frosting a little thicker, add the extra 1/4 cup of confectioners sugar (I add it).
  5. Frost cooled cupcakes however you'd like. I used an Ateco 808 large round piping tip for these pictured cupcakes. Top with coconut flakes.
  6. Store leftovers in the refrigerator for up to 5 days.

Make ahead tip: Cupcakes can be made ahead 1 day in advance, covered, and stored at room temperature. Frosting can also be made 1 day in advance, covered, and stored in the refrigerator until ready to use. Leftover cupcakes keep well covered tightly in the refrigerator for 3 days. Frosted or unfrosted cupcakes can be frozen up to 2-3 months. Thaw overnight in the refrigerator.

Recipe Notes:

Be sure to check out my 10 tips for baking the BEST cupcakes before you begin!

For extra coconut flavor, you can add 1/2 teaspoon coconut extract to both the cupcake batter and cream cheese frosting.

Don't use pre-shredded carrots found in the produce aisle. They're on the dry side. Rather, freshly grate 2 medium carrots to yield approximately 1 cup of moist carrot shreds.

I suggest sweetened shredded coconut in the cupcake batter. You can use unsweetened coconut, but unsweetened coconut tends to be drier and milder in flavor than sweetened. Keep that in mind if you make the switch. You can use either for the garnish on top, though. I used sweetened coconut flakes for the topping. To toast them, simply spread on a lined baking sheet and bake for 6-8 minutes at 300°F (149°C).

Not a fan of coconut? Leave it out! You can replace with 1 cup chopped nuts or raisins. Or if pineapple carrot cake is your thing, sub in 1 cup of crushed pineapple. If doing so, leave out the 1/3 cup yogurt.

What about pineapple coconut carrot cake cupcakes? We can do it! Sub 1/2 cup of crushed pineapple in for the 1/3 cup yogurt.

Want a cake instead? Follow my carrot layer cake (same-ish recipe, doubled). Add 2 cups of sweetened shredded coconut to the batter. You can leave in the nuts or skip them in that recipe.

Did you make a recipe?

Tag @sallysbakeblog on Instagram and hashtag it #sallysbakingaddiction.

© Sally’s Baking Addiction. All images & content are copyright protected. Please do not use my images without prior permission. If you want to republish this recipe, please re-write the recipe in your own words, or link back to this post for the recipe.


Here are some items I used to make today’s recipe.

KitchenAid Hand Mixer | Glass Mixing Bowls | Measuring Cups | Cupcake Liners | Cupcake Pan | Frosting BagsAteco #808 Tip | Marble Cake Stand

Some of the links above are affiliate links, which pay me a small commission for my referral at no extra cost to you! Thank you for supporting Sally’s Baking Addiction.

Super spiced and moist carrot cake cupcakes filled with shredded coconut and topped with creamy cream cheese frosting. Recipe on


  1. Hi Sally, would these work in as little bundt cakes? If so, what would the time be for baking and how full do we fill the little cakes? Love all your recipes and all you do for this group! You’re little girl is so adorable!

    • Hi Teara! Thank you so much! These carrot cake cupcakes would be wonderful as mini bundt cakes. Fill the mini bundt cake pan cavities 2/3 full. I’m unsure of the exact bake time, but my mini pound cakes take about 20-25 minutes in that specific pan.

  2. Hi Sally, carrot cake isn’ something you will see every day where I live. I had it once during a holiday in Ireland and always wanted to bake some myself, but somehow I never got around to do it – until today! My better half wanted “anything with cream cheese frosting “ and I was about to bake pumpkin cupcakes (again, your awesome recipe!) when those turned up in my inbox.
    I cut the sugar by half (I know you’re not supposed to do this because of the sugar’s influence on the texture, but it didn’t do any damage here) and also halved the frosting. They are great! I still like the pumpkin cupcakes a tiny little bit better, but you cannot actually compare them and I am definitely baking the carrot-coconut-version again! I used yogurt, but I will try applesauce next time, I imagine this could add a more “fruity” taste. 

  3. Sally, these look amazing! Actually I am (well, locally:-)))) well-known for my carrot cake, it’s definitely my favourite! To the extent I was actually looking for a recipe with both carrot and coconut!! I’m so grateful I found your website) you are now my go-to place for baking ideas!!

  4. I just made these with gluten free flour as we have Celiac disease in the family. Amazingly moist and delicious. An excellent recipe.

  5. Beautiful cupcakes, and that frosting looks absolutely dreamy!

  6. Hi Sally do you know which of these unsalted butter is the best for any type of buttercream frosting or cakes:

  7. Oh wow Sally, these look fantastic! My whole family is a huge fan of carrot cake, so I will for sure have to try them in cupcake form. Perfect for Easter coming up! And the toasted coconut on top is perfection! 

  8. Carrot cupcakes are my weakness!!! 🙂

  9. Oh my God! you really got me here lovely Sally , this is so @#$% beeep good and worth trying it, I looove all your cupcakes with passion!

  10. These are absolutely AMAZING!! I have had carrot cake only one other time and didn’t like it at all. I haven’t tried a recipe on your site that I don’t absolutely love, so I gave this a try. I am definitely going to make these again. Although, I am going to add some chopped nuts next time to give it a slight crunch. Thanks Sally for all your amazingly delicious recipes.

  11. These are so freaking fantastic, I am a bit in love with them. I made 16 of these little guys yesterday, because a friend was coming over in the evening. One had to be tested right out of the oven, because you know, what if they wouldn’t be good? (haha, yeah right…)

    I have three left, and we were two people, thats how good they were. I didn’t make the frosting though, as I felt they were already so good, and I think we wouldn’ve have managed to eat 13 cupcakes between the two of us with Icing on top. Or at least while still being able to say, hey it has carrots, it’s healthy.

    BIG thumbs up, too bad I ate them too quickly, didn’t even take a pic 🙁

  12. THIS! Recipe just just made my day! Nearly every recipe I make comes from your website and I get rave reviews when I make your carrot cake! I always wish there was a cupcake version so I can taste test I can’t wait to make these little gems today! 

  13. How are these different than if I made your pineapple carrot cake into cupcakes?

  14. I made these for work today. I did make the pineapple, carrot, coconut version. My coworkers loved these!! I had some pineapple on hand and only had Greek yogurt. The frosting was so delicious. That is the only part I can test due to being gluten free. I did have quite if bit of frosting left which was dangersous so I had to hurry up and throw it away before I ended up having a bowl of frosting for dessert. I’m sure it was a sin somewhere to throw such delicious frosting away, but it saved me 20lbs.  Thanks so much for your delicious recipes!!

    • Haha – I know how you feel about not wanting to waste leftovers but being so tempted by them! 🙂 I’m so happy to hear that they went over so well with your coworkers!

Leave a Reply

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