If you have been searching for a coconut cake recipe that delivers bakery-worthy height, an ultra-tender crumb, and real coconut flavor in every bite, this classic three-layer cake is the one to bookmark. Made with canned coconut milk, whipped egg whites, and rich cream cheese frosting, it bakes up light and plush without ever feeling heavy or dry.
Whether you are planning a holiday centerpiece, a spring brunch, or a special birthday celebration, this coconut layer cake recipe looks impressive on a cake stand and tastes even better the next day. Pressed sweetened shredded coconut coats the outside for that signature snowy finish, while a hint of coconut extract ties the cake and frosting together.

Why This Coconut Cake Recipe Works
- Coconut milk in the batter: Full-fat canned coconut milk adds rich moisture and natural coconut flavor without weighing down the crumb.
- Whipped egg whites: Folding beaten egg whites into the batter creates a lighter, fluffier texture than whole eggs alone.
- Cream cheese and butter frosting: Combining cream cheese with unsalted butter balances the sweetness of the powdered sugar and shredded coconut.
- Cake flour: Using cake flour keeps the crumb fine, soft, and delicate.
Special Equipment / Tools Needed
- Three 8-inch round cake pans
- Parchment paper
- Stand mixer or hand mixer
- Offset spatula (for frosting)
- Wire cooling racks
- Instant-read thermometer (optional, for checking internal cake temperature)
Ingredients
For the Coconut Cake:
- 2 ¾ cups cake flour
- 1 tablespoon baking powder
- ½ teaspoon salt
- 1 cup unsalted butter, softened to room temperature
- 2 cups granulated sugar
- 5 large egg whites, room temperature
- 1 teaspoon pure vanilla extract
- ½ teaspoon coconut extract
- 1 cup full-fat canned coconut milk, well shaken and at room temperature
- ½ cup sweetened shredded coconut
For the Cream Cheese Frosting & Coating:
- 16 ounces cream cheese, softened to room temperature
- 1 cup unsalted butter, softened to room temperature
- 5 cups powdered sugar
- 1 teaspoon pure vanilla extract
- ½ teaspoon coconut extract
- Pinch of salt
- 2 ½ cups sweetened shredded coconut (for coating the outside of the cake)

5. Instructions
- Prep the pans and oven: Preheat your oven to 350°F (175°C). Grease three 8-inch round cake pans, line the bottoms with parchment paper, and lightly grease the parchment.
- Whisk the dry ingredients: In a medium bowl, whisk together the cake flour, baking powder, and salt. Set aside.
- Cream butter and sugar: In the bowl of a stand mixer fitted with the paddle attachment, beat the softened butter and granulated sugar on medium-high speed for 3 minutes until pale and fluffy.
- Add egg whites and extracts: Beat in the egg whites a little at a time until fully incorporated, scraping down the sides of the bowl as needed. Mix in the vanilla extract and coconut extract.
- Alternate dry ingredients and coconut milk: Reduce the mixer speed to low. Add the flour mixture in three additions, alternating with the coconut milk (begin and end with the flour). Mix just until combined, then gently fold in the ½ cup of shredded coconut with a spatula.
- Bake: Divide the batter evenly among the three prepared pans. Bake for 24 to 28 minutes, or until a toothpick inserted into the center comes out clean and the tops spring back lightly when touched.
- Cool completely: Let the cakes cool in the pans for 10 minutes, then turn them out onto wire racks, remove the parchment paper, and cool completely to room temperature before frosting.
- Make the frosting: Beat the softened cream cheese and butter together on medium speed until completely smooth and creamy, about 2 minutes. Gradually add the powdered sugar, vanilla extract, coconut extract, and salt. Beat on medium-high speed for 2 minutes until light and fluffy.
- Assemble and coat: Place one cake layer on a serving plate or cake stand and spread about ¾ cup of frosting evenly on top. Repeat with the second and third layers. Spread a thin crumb coat over the top and sides, chill for 15 minutes, then apply the remaining frosting. Gently press the 2 ½ cups of shredded coconut onto the sides and top of the cake.

Recipe Tips and Tricks
- Use room-temperature ingredients: Room-temperature butter, egg whites, and coconut milk emulsify smoothly, preventing a curdled batter and ensuring an even rise.
- Measure cake flour accurately: Spoon the flour into your measuring cup and level it off with a knife rather than scooping directly from the bag.
- Chill before slicing: Giving the frosted cake 30 minutes in the refrigerator helps the cream cheese frosting firm up for clean, neat slices.
- Food Safety Tip: Because this cake is made with eggs and topped with cream cheese frosting, bake the cake layers thoroughly until the center reaches a safe internal temperature of 160°F (71°C) and do not leave the frosted cake sitting out at room temperature for more than 2 hours. Keep it refrigerated at 40°F or below per FoodSafety.gov egg and perishable food guidelines.
Variations and Substitutions
- Toasted Coconut Finish: Toast the 2 ½ cups of shredded coconut in a dry skillet over medium heat for 4 to 5 minutes until golden brown, then cool completely before pressing onto the cake.
- Pineapple Coconut Cake: Spread a thin layer of drained crushed pineapple or pineapple curd between the cake layers along with the frosting.
- 9-Inch Pans: You can bake this batter in two 9-inch round cake pans instead of three 8-inch pans. Increase the bake time by 4 to 6 minutes and test with a toothpick.
- Coconut Cupcakes: Line two 12-count standard muffin tins with cupcake liners (this batter yields about 24 cupcakes). Fill each liner about two-thirds full and bake at 350°F (175°C) for 18 to 22 minutes, or until a toothpick inserted into the center comes out clean. Cool completely on wire racks, then pipe or spread the cream cheese frosting on top and dip or sprinkle with the sweetened shredded coconut.
What to Serve With Coconut Cake
- Freshly brewed coffee, espresso, or hot tea
- Fresh berries, such as sliced strawberries or raspberries, on the side
- A scoop of vanilla bean ice cream for extra indulgence

Storage and Leftovers
- Refrigerator: Store the frosted coconut cake covered in the refrigerator for up to 5 days. Let slices sit at room temperature for 15 to 20 minutes before serving so the butter and cream cheese soften slightly.
- Freezer: Wrap unfrosted, completely cooled cake layers tightly in plastic wrap and foil, and freeze for up to 3 months. Thaw overnight in the refrigerator before frosting.
FAQs
Can I make this coconut cake ahead of time? Yes. You can bake the cake layers 1 to 2 days ahead, wrap them tightly at room temperature, and frost the day of serving. The assembled cake also holds up well in the fridge for up to 24 hours before an event.
Can I use light coconut milk instead of full-fat? Full-fat canned coconut milk is strongly recommended for the best moisture and richness. Light coconut milk has more water and will produce a slightly drier crumb.
What if I only have all-purpose flour? If you do not have cake flour, measure 2 ¾ cups of all-purpose flour, remove 5 ½ tablespoons, and replace them with 5 ½ tablespoons of cornstarch. Sift together twice before using.

More Recipes You’ll Love
- Pink Ombre Cake
- Individual Pineapple Upside-Down Cakes
- Easy Kit Kat Cake Recipe
- Easy Berry Trifle with Cool Whip

Classic Coconut Cake
Equipment
- 3 Three 8-inch round cake pans
- Offset spatula
Ingredients
- 2 ¾ cups cake flour
- 1 tablespoon baking powder
- ½ teaspoon salt
- 1 cup unsalted butter (softened)
- 2 cups granulated sugar
- 5 large egg whites (room temperature)
- 1 teaspoon pure vanilla extract
- ½ teaspoon coconut extract
- 1 cup full-fat canned coconut milk (room temperature, shaken)
- ½ cup sweetened shredded coconut
- 16 ounces cream cheese (softened)
- 1 cup unsalted butter (softened, for frosting)
- 5 cups powdered sugar
- 1 teaspoon pure vanilla extract (for frosting)
- ½ teaspoon coconut extract (for frosting)
- Pinch of salt (for frosting)
- 2 ½ cups sweetened shredded coconut (for coating)
Instructions
- Preheat oven to 350°F (175°C). Grease three 8-inch round cake pans and line bottoms with parchment paper.
- Whisk together cake flour, baking powder, and salt in a medium bowl.
- Beat 1 cup butter and granulated sugar on medium-high speed for 3 minutes until light and fluffy.
- Add egg whites gradually, mixing well after each addition. Stir in vanilla and coconut extracts.
- On low speed, alternate adding the flour mixture and coconut milk in three parts, starting and ending with flour. Fold in ½ cup shredded coconut.
- Divide batter evenly among the pans and bake 24 to 28 minutes until a toothpick comes out clean. Cool in pans 10 minutes, then transfer to wire racks to cool completely.
- Beat cream cheese and 1 cup butter until smooth. Gradually beat in powdered sugar, vanilla extract, coconut extract, and salt until fluffy.
- Frost between the layers, apply a thin crumb coat, chill 15 minutes, then frost the outside and press 2 ½ cups shredded coconut all over the cake.
Notes
- Shake the canned coconut milk well before measuring so the cream and liquid are combined.
- Store the finished cake covered in the refrigerator for up to 5 days due to the cream cheese frosting.
- For a toasted coconut variation, toast the coating coconut in a dry skillet over medium heat for 4 to 5 minutes and cool completely before pressing onto the cake.
- Cupcake Option: Divide the batter into 24 lined cupcake cups (two-thirds full) and bake at 350°F (175°C) for 18 to 22 minutes.