Food

How to Make Coconut Cake at Home: A Simple Recipe

By Hayride Live · Updated

Total time
1 hr 30 min
Prep
30 min
Cook
35 min
Serves
12

Jump to recipe

A classic coconut cake combines a tender white cake with coconut milk and shredded coconut, finished with a cream cheese frosting. This version uses sweetened shredded coconut in the batter and on top, with a standard mixing method that works for most home ovens.

Ingredients

  • For the cake:
  • 3 cups (375 g) all-purpose flour
  • 1 tbsp baking powder
  • 1/2 tsp salt
  • 1 cup (225 g) unsalted butter, softened to room temperature
  • 1 1/2 cups (300 g) granulated sugar
  • 4 large eggs, at room temperature
  • 1 cup (240 ml) coconut milk (canned or carton, full-fat or light)
  • 1 tsp vanilla extract
  • 1 cup (100 g) sweetened shredded coconut
  • For the cream cheese frosting:
  • 8 oz (225 g) cream cheese, softened
  • 1/2 cup (115 g) unsalted butter, softened
  • 3 cups (360 g) powdered sugar
  • 1 tsp vanilla extract
  • 1 cup (100 g) sweetened shredded coconut for decorating

Instructions

  1. Preheat your oven to 350°F (175°C). Grease and flour two 9-inch (23 cm) round cake pans, or line the bottoms with parchment paper circles.
  2. Whisk the flour, baking powder, and salt together in a medium bowl. Set the dry ingredients aside.
  3. Beat the softened butter and sugar in a large bowl with an electric mixer on medium-high speed for 3 minutes until light and fluffy. Scrape down the sides of the bowl.
  4. Add the eggs one at a time, beating well after each addition. Mix in the vanilla extract.
  5. Reduce the mixer speed to low. Add the flour mixture in three parts, alternating with the coconut milk in two parts (begin and end with the flour). Mix just until combined; do not overmix.
  6. Fold in the 1 cup (100 g) of shredded coconut with a spatula until evenly distributed.
  7. Divide the batter evenly between the two prepared pans. Smooth the tops with a spatula.
  8. Bake at 350°F (175°C) for 30 to 35 minutes, until a toothpick inserted into the center comes out clean. Cool the cakes in the pans for 10 minutes, then turn them out onto a wire rack to cool completely.
  9. Make the frosting while the cakes cool. Beat the cream cheese and butter in a bowl on medium speed until smooth. Add the vanilla extract.
  10. Gradually add the powdered sugar, mixing on low speed until incorporated, then increase speed to medium-high and beat for 2 minutes until fluffy.
  11. Place one cooled cake layer on a serving plate. Spread about 3/4 cup (175 ml) of frosting over the top. Place the second cake layer on top.
  12. Frost the top and sides of the entire cake with the remaining frosting. Press the remaining 1 cup (100 g) of shredded coconut onto the sides and top of the cake.

Prepare the Pans and Check Doneness

Greasing the pans thoroughly is critical because coconut cake batter is moist and can stick. Use a solid vegetable shortening or butter and a dusting of flour, or use a baking spray that contains flour. To check doneness, insert a wooden toothpick or thin skewer into the center of the cake; it should come out clean or with just a few moist crumbs, not wet batter. The edges of the cake should pull away slightly from the sides of the pan.

Fix Common Coconut Cake Problems

Most issues with coconut cake come from temperature or mixing errors. Use this table to identify the cause and solution.

Symptom Likely Cause Fix for Next Time
Dense or tough texture Overmixing the batter or cold ingredients Use room temperature eggs and butter; mix only until ingredients are blended.
Cake is dry Overbaking or too much flour Check the cake 5 minutes before the timer; spoon flour into the measuring cup and level it off rather than scooping.
Cake sinks in the middle Underbaking or opening the oven door too early Keep the oven door closed for the first 25 minutes; test the center with a toothpick.
Frosting is runny Warm ingredients or too much liquid Ensure the cream cheese and butter are cool room temperature (not melted); refrigerate the frosting for 15 minutes before spreading.

Decide on Your Coconut Texture

The type of coconut you use changes the cake’s texture. Use this list to choose the right product.

  • Sweetened shredded coconut: The standard choice for most American coconut cakes. It is moist, soft, and contains added sugar, which helps keep the cake tender.
  • Unsweetened shredded coconut: Has a chewier texture and a more pronounced natural coconut flavor. It works well if you prefer a less sweet cake.
  • Flaked coconut: Larger, flat pieces that create a distinct texture on the frosting. These are best reserved for decoration on the outside of the cake.

Store the Finished Cake

Cover the finished cake and store it at room temperature for up to 2 days. Because the frosting contains cream cheese, refrigerate the cake if you need to keep it longer than 2 days. Place the cake in an airtight container or cover it carefully with plastic wrap; it keeps in the refrigerator for up to 5 days. Bring the cake to room temperature for 30 minutes before serving to soften the frosting and bring out the flavor. Do not leave the cake at room temperature for more than 2 hours if the kitchen is very warm (above 90°F / 32°C).

Spotted a mistake? Tell us and we will correct it. How we write and check articles.