Coconut Cake

Jump to Recipe

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

This coconut cake is irresistibly moist with a beautiful crumb and rich coconut flavor. Slathered with homemade coconut frosting, it’s truly the best coconut cake recipe ever.

a slice of coconut cake with coconut frosting on a plate

This coconut cake recipe is truly one of the very best homemade cakes I have ever made.

It is one of those stick-to-your-fork moist cakes that keeps you coming back for more. It’s moist and fluffy at the same time with a rich coconut flavor. The luscious homemade coconut frosting is the chef’s kiss making this cake seriously out of this world delicious.

Plus, this recipe is extra special to me because it’s inspired by many, many years of pregnancy cravings for a coconut cake from a local bakery – and this version is even more delicious.

I’ve had “non cake people” (if you know what I mean) absolutely rave about this recipe and reminisce about how tasty it is years later. You just have to try this coconut cake, it will seriously change your life!

front view of a Coconut Cake with a slice cut out of it
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!
Please enable JavaScript in your browser to complete this form.

Coconut Cake Ingredients & Substitutions

overhead photo of the labeled ingredients in this Coconut Cake recipe
  • 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 cream, vanilla frosting, etc. if you prefer.
a slice of Coconut Cake on a plate with a fork and a bite taken out of it

How to Make Coconut Cake

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

Begin by preheating the oven to 350 degrees Fahrenheit (177 degrees Celsius) and lining two, 6×3” cake pans with parchment paper, then lightly greasing them.

See the photos below to see how I line my cake pans for easy removal. Simply trace the bottom of the pans on parchment paper and draw “handles” out opposite sides of the circles, then cut and put the pans.

two pans lined and greased to make Coconut Cake

Then, combine the flour, baking soda, baking powder and sea salt in a small bowl. I suggest combining these dry ingredients first to ensure they are evenly distributed throughout the batter when they’re added.

how to make coconut cake- dry ingredients in a bowl before mixing
how to make coconut cake- dry ingredients in a bowl after mixing

Next, melt the butter then whisk in coconut milk, sugar, canola oil, sour cream, eggs and vanilla. It’s important to whisk until the mixture is smooth and the sugar is dissolved.

how to make coconut cake- wet ingredients in a bowl before mixing
how to make coconut cake- mixed wet mixture in a bowl

Then, whisk in the in dry ingredients until smooth and there are no lumps of flours in the batter.

how to make coconut cake- adding dry ingredients to the wet ingredients
how to make coconut cake- cake batter in a bowl

Next, stir in the coconut. Please note, for the best texture use shredded coconut.

how to make coconut cake- adding coconut before mixing
how to make coconut cake- final cake batter in a bowl

Then, evenly divide the cake batter between the two prepared cake pans.

Bake the coconut cake for 30 to 35 minutes or until the top is set and a cake tester inserted in the center comes out clean. Let the cakes cool in the pan on a wire cooling rack until completely cooled.

how to make coconut cake- batter in two cake pans before baking
how to make coconut cake- baked cakes in two pans on a wire cooling rack

Once the cakes are completely cooled, lift them out of the cake pans and remove the parchment paper.

how to make coconut cake- two cake rounds on a wire cooling rack after being removed from the pans

Make Coconut Frosting

While the coconut cake is cooling, make the coconut frosting. Follow the instructions in this post: coconut frosting recipe.

how to make coconut cake- a bowl of coconut frosting

Frost & Chill

Then, spread a small amount of frosting on a cake plate and place one cake round on top of it. Spread or pipe coconut frosting on top of the first cake round, then put the second on top of the frosting.

frosting a Coconut Cake with coconut frosting

Spread the rest of the frosting over the two layers and decorate with additional shredded coconut, if desired.

Then, chill the assembled coconut cake in the refrigerator overnight. It gets even more moist as it sits so I recommend making this the day before you plan to serve it.

Coconut Cake frosted with coconut frosting and sprinkled with shredded coconut

Serve

Serve the coconut cake at room temperature or slightly cold. This recipe is a delicious option for a birthday or wedding cake.

a slice of Coconut Cake being removed from the cake

Store/Freeze

Store leftover coconut cake in the refrigerator for up to 5 days.

Or you can freeze the entire cake or individual slices. I suggest flash-freezing the cake/slices, then wrapping them tightly in plastic wrap and storing them in an airtight container. Thaw overnight in the refrigerator before serving – do not microwave.

a fork taking a bite out of a slice of Coconut Cake on a plate

Coconut Cake Recipe FAQS

Can I double this recipe?

Yes, double the ingredients and bake in two 9″ round cake pans.

Is there a substitute for canola oil?

You can use coconut oil in place of canola oil if you prefer.

Can I freeze the entire cake?

Yes, make and frost the coconut cake then put it in the freezer until completely frozen. Then wrap it tightly in plastic wrap and foil and freeze for up to 1 month. Thaw slowly overnight in the refrigerator.

a slice of Coconut Cake on a plate with a fork and a bite taken out of it

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, and Youtube – be sure to tag @joyfoodsunshine and use the hashtag #joyfoodsunshine so we can see your creations!

Coconut Cake Recipe

Laura
This coconut cake is irresistibly moist with a beautiful crumb and rich coconut flavor. Slathered with homemade coconut frosting, it's truly the best coconut cake recipe ever.
No ratings yet
Course cake, Dessert
Cuisine American
Servings 16 Servings
Calories 290
Prep Time20 minutes
Cook Time30 minutes
Cooling1 hour
Total Time1 hour 50 minutes

Ingredients 
 

Coconut Cake

Instructions 

  • Preheat oven to 350 degrees Fahrenheit (177 degrees Celsius). Line two, 6” x 3” cake pans with parchment paper and lightly grease.
  • 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, canola oil, sour cream, eggs and vanilla.
  • Whisk in dry ingredients until smooth.
  • Add coconut and stir until evenly distributed throughout the batter.
  • Pour an equal amount of batter into each of the prepared cake pans.
  • Bake for 30 to 35 minutes or until the top is set and a cake tester inserted in the center comes out clean.
  • Remove cakes from the oven and let cool completely on a wire cooling rack.
  • Lift the cooled cakes out of the cake pans and remove the parchment paper.

Make the Coconut Frosting

Assemble & Chill Overnight

  • Then, spread a small amount of frosting on a cake plate and place one cake round on top of it. Spread or pipe coconut frosting on top of the first cake round, then put the second on top of the frosting. Spread the rest of the frosting over the two layers.
  • Chill in the refrigerator overnight This cake gets more moist as it sits overnight, so please make sure to plan accordingly.

Serve

  • Coconut cake is best served room temperature, so I suggest removing the cake from the refrigerator 2 hours before serving.

Video

Notes

*Nutrition information calculated for the cake alone without frosting.
Ingredient Substitutions
Note: it’s best if all ingredients are at room temperature.
  • 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. avocado or olive oil can work in place of canola.
  • 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 cream, vanilla frosting, etc. if you prefer.
Store/Freeze
Store leftover coconut cake in the refrigerator for up to 5 days.
Or you can freeze the entire cake or individual slices. I suggest flash-freezing the cake/slices, then wrapping them tightly in plastic wrap and storing them in an airtight container. Thaw overnight in the refrigerator before serving – do not microwave.

Nutrition

Calories: 290kcal | Carbohydrates: 33g | Protein: 3g | Fat: 17g | Saturated Fat: 10g | Polyunsaturated Fat: 1g | Monounsaturated Fat: 4g | Trans Fat: 0.2g | Cholesterol: 38mg | Sodium: 180mg | Potassium: 108mg | Fiber: 1g | Sugar: 21g | Vitamin A: 229IU | Vitamin C: 0.3mg | Calcium: 21mg | Iron: 2mg

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!

try these recipes


latest recipes

Post a Comment or Ask a Question!

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

Recipe Rating