Coconut Carrot Cake

By Kate Shungu ● Updated April 1, 2026

Coconut Carrot Cake has coconut in both the cake AND in the cream cheese frosting. Between the coconut and the walnuts, it has a bit of crunch in every bite. If you love coconut, this is the cake for you!

slice of carrot cake with a thick white cream cheese frosting with coconut inside on top.
woman scooping pistachio salad into a parfait dish, with colorful vintage bowls in the background.
A Must-Try Carrot Cake for Coconut Fans

Coconut Carrot Cake has all the familiar flavors you expect from a classic carrot cake, with warm spices and plenty of freshly grated carrots. But the addition of shredded coconut and crunchy walnuts takes the texture to another level. 

What really sets this cake apart is the coconut in both the batter AND the frosting. The cream cheese frosting is rich and tangy, with a cup of shredded coconut that ties everything together nicely without overpowering the cake. If you like coconut, I highly recommend trying this recipe!

The cake is made in a 13×9-inch pan, but you could use a bundt pan, two 9-inch round cake pans, or even make them into cupcakes. The cake + frosting is quite rich, so you can get by with small slices if you like.

Enjoy! Kate
Jump to:

Kate’s Tips for Making the Cake

  • Get the cream cheese and butter out of the fridge when you start on the cake. They will be at room temperature when it’s time to make the cream cheese frosting.
  • Pre-shredded carrots from the grocery store won’t work for this cake (they’re too thick). Shred whole carrots on a box grater or with a food processor.
  • Along with coconut, there are walnuts in both the cake and the frosting. I loved it with walnuts, but you can substitute pecans if you prefer. Or leave out the walnuts entirely.

Ingredients

shredded carrots, coconut, flour, butter, eggs, and other ingredients.
  • I recommend a box grater or a food processor for shredding the carrots. I used the medium holes of a box grater.
  • I chose unsweetened coconut for this recipe, but the original recipe (from an old church cookbook) used sweetened coconut. Either is just fine!
  • Full-fat cream cheese makes the tastiest, most decadent frosting.

How to Make Coconut Carrot Cake

  1. Shred the carrots on a box grater. I use the medium holes.
  2. Cream together the oil and sugar, then beat in the eggs.
  3. Whisk together the flour, baking soda, salt, cinnamon, nutmeg, and cloves.
  4. Stir the flour mixture into the oil and sugar mixture.
  5. Stir in the shredded carrots and coconut.
  6. Pour into a 13×9-inch pan and bake for about 45 minutes at 350°F.

Making the Cream Cheese Frosting with Coconut

  1. Beat the softened cream cheese and softened butter together until light and creamy. Add the powdered sugar, vanilla, and salt, and beat until fluffy.
  2. Add the coconut and walnuts. Beat until combined.
  3. Spread the frosting over the cooled cake.
  4. Slice and serve!

Frequently Asked Questions

What type of coconut should I use?

Sweetened shredded coconut works great for a slightly sweeter cake, but you can use unsweetened if you prefer to control the sweetness.

Can I leave out the walnuts or use another nut?

Yes, you can omit the walnuts if needed. The cake will still be delicious, just a bit less textured. Chopped pecans are a great alternative and pair nicely with the coconut and cream cheese frosting.

Does the cake taste strongly like coconut?

No, the coconut adds a subtle flavor and extra texture rather than overpowering the classic carrot cake taste.

Can I make this into a layer cake or cupcakes?

You can bake the cake in two 9-inch round cake pans OR 24 muffin cups. The 9-inch cake layers will take about 35–40 minutes, and the cupcakes will take 20–24 minutes. There’s plenty of frosting for both of these options.

square slice of carrot cake with a coconut cream cheese frosting spread on top.

Storing and Serving the Cake

The cake can be served right away after frosting, or refrigerated until you’re ready to serve it. If you refrigerate it first, let it sit at room temperature for about 20–30 minutes before serving for the best texture. Any leftovers should also be stored in the fridge.

If you’d like to jazz up the top of the cake, you could sprinkle additional walnuts or toasted coconut on top. Or, you could make decorative frosting carrots to place on top, or purchase mini candy carrots.

📖 Recipe

slice of carrot cake with a thick white cream cheese frosting with coconut inside on top.

Coconut Carrot Cake Recipe (with Coconut Frosting)

Published by Kate
There's double the coconut in this classic carrot cake recipe! It's rich and tender, with a fluffy coconut cream cheese frosting on top.
No ratings yet
Prep Time 20 minutes
Cook Time 42 minutes
Total Time 1 hour 2 minutes
Course Dessert
Cuisine American
Servings 20 servings
Calories 518 kcal

Ingredients
  

For the cake:

  • 2 cups sugar
  • 1 cup vegetable oil
  • 4 eggs
  • 2 cups flour
  • 2 teaspoons baking soda
  • 1 teaspoon salt
  • 2 teaspoons cinnamon
  • 1 teaspoon ground nutmeg
  • 1 teaspoon cloves
  • 3 cups grated carrots loosely packed, about 12 oz
  • ½ cup finely chopped walnuts
  • ½ cup shredded coconut

For the frosting:

  • 8 oz cream cheese softened
  • ½ cup butter softened
  • 4 cups powdered sugar
  • 1 teaspoon vanilla
  • teaspoon salt
  • 1 cup finely chopped walnuts
  • 1 cup shredded coconut

Instructions
 

  • Preheat oven to 350°F.
  • In a large bowl, cream together the 2 cups sugar and 1 cup vegetable oil. Add 4 eggs one at a time, beating after each addition.
  • In a large bowl, whisk together the 2 cups flour, 2 teaspoons baking soda, 1 teaspoon salt, 2 teaspoons cinnamon, 1 teaspoon ground nutmeg, and 1 teaspoon cloves.
  • Stir the flour mixture into the sugar mixture until combined.
  • Fold in 3 cups grated carrots, ½ cup finely chopped walnuts, and ½ cup shredded coconut.
  • Pour into a greased 13×9-inch pan.
  • Bake for 42–46 minutes, or until a toothpick inserted into the center comes out clean. Cool for 10 minutes in the pan, then invert onto a wire rack to cool completely.
  • For the frosting, beat 8 oz cream cheese and ½ cup butter (both at room temperature) together until creamy. Add 4 cups powdered sugar, 1 teaspoon vanilla, and ⅛ teaspoon salt, and beat until fluffy. Stir in 1 cup finely chopped walnuts and 1 cup shredded coconut.
  • Spread over the top of the cake.
  • Chill until ready to serve. I like serving the cake at room temperature for the best texture of the cream cheese frosting.

Notes

I recommend removing the cake from the fridge 30 minutes before you plan to serve it for the best frosting texture.
Don’t want walnuts? Substitute pecans or leave out the nuts altogether. 
Cooking times for different pans:
  • Two 9-inch round cake pans: 35–40 minutes
  • 24 muffin cups for cupcakes: 20–24 minutes
  • Bundt pan: 45–48 minutes
There is plenty of frosting for any of these options. 

Nutrition

Calories: 518kcalCarbohydrates: 59gProtein: 5gFat: 31gSaturated Fat: 12gPolyunsaturated Fat: 11gMonounsaturated Fat: 6gTrans Fat: 0.3gCholesterol: 56mgSodium: 306mgPotassium: 183mgFiber: 3gSugar: 46gVitamin A: 3552IUVitamin C: 1mgCalcium: 39mgIron: 1mg
Keyword coconut carrot cake
Did You Make This Recipe?Please leave a star rating and comment!

More Treats for Coconut fans

Comments

No Comments

Leave a Reply

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

Recipe Rating