There was a time when I didn’t consider myself a fan of coconut cake. That was until I had a truly exceptional one—soft, moist, and bursting with coconut flavor in every bite. This recipe is designed to recreate that experience, but in a simple, beginner-friendly way. If you love tropical flavors, crave a dessert that feels both indulgent and light, and want a foolproof baking project, this coconut cake is for you.
Not only is this cake delicious, but it’s also easy to make with a straightforward method that guarantees success. Whether you’re new to baking or looking for a dependable recipe, this moist coconut cake will become a staple in your kitchen.

Why This Coconut Cake is Special
This cake stands out for its incredible texture and rich coconut flavor, achieved with a few key techniques:
- Coconut Milk for Moisture: Instead of just using coconut flavoring, this recipe incorporates coconut milk, which gives the cake a rich, natural taste while keeping it soft.
- The Creaming Method: By beating butter, oil, and sugar together before adding other ingredients, you create an airy batter that results in a light and fluffy cake.
- Shredded Coconut for Texture: This adds an irresistible chewiness to the cake while enhancing the coconut flavor.
- Coconut Cream Cheese Frosting: Instead of a plain buttercream, this frosting is tangy, creamy, and balances the sweetness of the cake perfectly.
Ingredients and Their Roles
Each ingredient in this recipe plays a key role in achieving the perfect cake.
- Flour: Provides structure to the cake. All-purpose flour works best, but you can substitute with cake flour for a softer texture.
- Cornstarch: Lightens the texture of the cake, making it fluffier.
- Baking Powder: Helps the cake rise by creating air pockets in the batter.
- Salt: Balances the sweetness and enhances the coconut flavor.
- Butter & Vegetable Oil: The combination keeps the cake moist while adding richness.
- Sugar: Provides sweetness and helps with browning.
- Eggs: Bind the ingredients together and add structure.
- Coconut Milk: Enhances the coconut flavor and keeps the cake incredibly moist.
- Vanilla & Coconut Extract: Adds depth to the flavor. If you don’t have coconut extract, a bit of almond extract works as a substitute.
- Shredded Coconut: Brings texture and intensifies the coconut flavor.
- Cream Cheese, Butter, and Powdered Sugar: The base for the frosting, creating a creamy and slightly tangy contrast to the cake.
Ingredient Substitutions
- Dairy-Free Option: Use coconut oil instead of butter and dairy-free cream cheese for the frosting.
- Sweeter Cake: Use sweetened shredded coconut, but reduce the sugar slightly.
- Lighter Version: Replace part of the butter with applesauce or Greek yogurt.
How to Make This Moist Coconut Cake
Step 1: Preheat your oven to 320°F (160°C) with the fan on. If your oven doesn’t have a fan setting, increase the temperature to 350°F (175°C). Grease two 8-inch cake pans and line the bottoms with parchment paper to prevent sticking.
Step 2: In a mixing bowl, sift together flour, cornstarch, baking powder, and salt. Mix well and set aside.
Step 3: In another bowl, beat together butter, vegetable oil, and sugar using an electric mixer for about 2 minutes until the mixture is light and fluffy.
Step 4: Add the eggs one at a time, mixing well after each addition. This helps create a smooth and airy batter.
Step 5: Mix in the vanilla extract, coconut extract, and half of the coconut milk. Stir until combined.
Step 6: Gently fold in half of the dry ingredients using a spatula. Then, add the remaining coconut milk, followed by the remaining dry ingredients. Fold gently to avoid overmixing, which can make the cake dense.
Step 7: Stir in the shredded coconut and mix just until combined. Do not overmix.
Step 8: Divide the batter evenly between the prepared cake pans. Bake for 33 minutes, or until a toothpick inserted in the center comes out clean.
Step 9: Let the cakes cool in the pans for 15-20 minutes, then transfer them to a wire rack to cool completely before frosting.
Making the Coconut Cream Cheese Frosting
Step 1: Beat butter for a few minutes until light and fluffy.
Step 2: Gradually add powdered sugar in batches, mixing on low speed.
Step 3: Add cold cream cheese, vanilla extract, and coconut extract. Mix just until smooth—do not overmix, as this can make the frosting too soft.
Assembling the Cake
Step 1: Place one cake layer on a serving plate. Spread a generous layer of frosting over the top.
Step 2: Place the second cake layer on top and apply another generous amount of frosting over the top and sides. Use a cake scraper or knife to smooth out the frosting.
Step 3: Gently press shredded coconut onto the sides and top of the cake for decoration and extra texture.
Beginner Tips and Notes
- How to Avoid a Dry Cake: Be careful not to overmix the batter or overbake the cake. The coconut milk helps retain moisture, but proper mixing and baking are key.
- How to Tell if the Cake is Done: Insert a toothpick in the center; if it comes out clean, the cake is ready.
- What If My Frosting is Too Soft? If your cream cheese frosting is too runny, chill it in the fridge for 30 minutes and then rewhip it.
Serving Suggestions
This cake pairs beautifully with:
- A cup of hot tea or iced coffee for a cozy afternoon treat.
- A side of fresh tropical fruit like mango, pineapple, or berries.
- A drizzle of melted chocolate for a decadent touch.
Storing Leftovers
- Room Temperature: If unfrosted, the cake can stay fresh at room temperature for up to two days.
- Refrigerator: Due to the cream cheese frosting, store the cake in an airtight container in the fridge for up to 5 days.
- Freezing: Wrap unfrosted cake layers tightly and freeze for up to 3 months. Thaw at room temperature before frosting.
Try This Recipe and Share Your Experience
Baking is all about experimenting, learning, and enjoying the process. I’d love to hear how your coconut cake turns out! Did you make any fun variations? Leave a comment below and let’s talk all things cake.
For more beginner-friendly baking tips, be sure to check out my other recipes. Happy baking!
FAQ About Moist Coconut Cake
Can I use sweetened shredded coconut instead of unsweetened?
Yes, but it will make the cake sweeter. If using sweetened shredded coconut, consider reducing the sugar slightly to balance the flavors.
Can I make this cake without coconut extract?
Absolutely! While coconut extract enhances the flavor, you can substitute it with almond extract for a slightly nutty note or simply rely on the coconut milk and shredded coconut for natural flavor.
Why is my cake dense instead of light and fluffy?
Overmixing the batter or using too much flour can lead to a dense cake. Be sure to gently fold in the dry ingredients and measure the flour correctly using the spoon-and-level method.
More Cake Recipes
Print
Moist Coconut Cake
- Total Time: 1 hour 43 minutes
- Yield: 12 servings 1x
- Diet: Vegetarian
Description
This moist coconut cake is a rich and flavorful dessert made with coconut milk, shredded coconut, and a creamy coconut cream cheese frosting. Its soft texture and balanced sweetness make it a perfect treat for any occasion.
Ingredients
For the Cake
- 2 ¼ cups (280g) all-purpose flour
- ¼ cup (30g) cornstarch
- 1 tbsp baking powder
- ½ tsp salt
- ½ cup (113g) unsalted butter, room temperature
- 5 tbsp (66g) vegetable oil
- 1 ⅔ cups (332g) white granulated sugar
- 3 large eggs, room temperature
- 1 ½ tsp vanilla extract
- 1 tsp coconut extract
- 1 ¼ cups (275g) canned coconut milk
- 1 cup (80g) shredded unsweetened coconut
For the Coconut Cream Cheese Frosting
- 1 cup (225g) unsalted butter, room temperature
- 4 ½ cups (570g) powdered sugar
- 1 ½ cups (335g) cold, firm cream cheese
- 1 ½ tsp vanilla extract
- 1 tsp coconut extract
- 1 ½ cups (120g) shredded unsweetened coconut (for decorating)
Instructions
- Preheat and Prepare: Set the oven to 320°F (160°C) with the fan on. If your oven doesn’t have a fan setting, increase the temperature to 350°F (175°C). Grease two 8-inch cake pans and line the bottoms with parchment paper to prevent sticking.
- Mix Dry Ingredients: In a large bowl, sift together the flour, cornstarch, baking powder, and salt. Use a whisk or fork to combine evenly, then set aside.
- Cream Butter and Sugar: In a separate mixing bowl, beat the butter, vegetable oil, and sugar using an electric mixer for about 2 minutes until the mixture is light and fluffy.
- Incorporate Eggs: Add the eggs one at a time, mixing well after each addition to ensure the batter remains smooth and airy. Scrape down the sides of the bowl as needed.
- Add Coconut Flavor: Stir in the vanilla extract, coconut extract, and half of the coconut milk, mixing just until combined.
- Combine Dry and Wet Ingredients: Gently fold in half of the dry ingredients using a spatula. Then, add the remaining coconut milk, followed by the rest of the dry ingredients. Fold carefully to avoid overmixing, which can lead to a dense cake.
- Add Shredded Coconut: Stir in the shredded coconut and mix just until evenly distributed throughout the batter. Do not overmix.
- Bake the Cake: Divide the batter evenly between the prepared cake pans. Bake for about 33 minutes or until a toothpick inserted in the center comes out clean.
- Cool Completely: Allow the cakes to cool in the pans for 15-20 minutes before transferring them to a wire rack to cool completely before frosting.
- Prepare the Frosting: In a mixing bowl, beat the butter for a few minutes until light and fluffy. Gradually add the powdered sugar in three batches, mixing on low speed until fully incorporated.
- Incorporate Cream Cheese: Add the cold cream cheese, vanilla extract, and coconut extract. Mix until smooth but avoid overmixing to keep the frosting firm.
- Assemble the Cake: Place one cake layer on a serving plate and spread a generous amount of frosting over the top. Place the second layer on top and frost the top and sides evenly.
- Decorate with Coconut: Gently press shredded coconut onto the sides and top of the cake to add texture and enhance the coconut flavor.
Notes
- If the frosting becomes too soft, refrigerate it for 30 minutes before using.
- For extra coconut flavor, toast the shredded coconut before pressing it onto the cake.
- If making cupcakes, reduce the baking time to 18-22 minutes.
- Prep Time: 10 minutes
- Cook Time: 33 minutes
- Category: Dessert
- Method: Baking
- Cuisine: American
Nutrition
- Serving Size: 1 slice
- Calories: 672
- Sugar: 41g
- Sodium: 493mg
- Fat: 43g
- Saturated Fat: 28g
- Unsaturated Fat: 11g
- Trans Fat: 1g
- Carbohydrates: 114g
- Fiber: 2g
- Protein: 10g
- Cholesterol: 115mg