Go Back
Tall white coconut layer cake covered in shredded coconut with one slice cut.

Best Coconut Cake Recipe

This coconut cake recipe makes a tall, white coconut cloud cake with coconut milk in the crumb and a snowy coat of coconut over cream cheese frosting. It is light to eat, keeps beautifully, and tastes of coconut in every single bite.
Prep Time 30 minutes
Cook Time 30 minutes
Cooling Time 40 minutes
Total Time 1 hour 40 minutes
Servings: 12 servings
Course: Dessert
Cuisine: American
Calories: 820

Ingredients
  

For the Cake
  • 3 cups 360 g all-purpose flour, spooned and leveled
  • 1 tablespoon baking powder
  • ½ teaspoon fine salt
  • 1 cup 226 g unsalted butter, softened to room temperature
  • 2 cups 400 g granulated sugar
  • 4 large eggs room temperature
  • 1¼ cups 300 ml canned full-fat coconut milk, well stirred, room temperature
  • 1 teaspoon vanilla extract
  • 1 teaspoon coconut extract
  • 1 cup 85 g sweetened shredded coconut, finely shredded
For the Coconut Cream Cheese Frosting
  • 8 oz 226 g cream cheese, softened
  • ½ cup 113 g unsalted butter, softened
  • 4 cups 480 g powdered sugar, sifted
  • 2 to 3 tablespoons coconut milk
  • 1 teaspoon vanilla extract
  • ½ teaspoon coconut extract
  • Pinch of fine salt
For the Cloud Coat
  • 2 cups 170 g sweetened shredded coconut

Equipment

  • 2 9-inch (23 cm) round cake pans Line the bottoms with parchment
  • 1 Stand mixer The long creaming step is easiest here; a hand mixer works
  • 1 Large rimmed tray or sheet pan To catch coconut while you press on the coat
  • 1 Instant-read thermometer Optional, to check a hot-running oven
  • 1 Wire cooling racks Two, one per layer
  • 1 Offset spatula For smooth frosting under the coat
  • 1 Serrated knife For clean slices through the coconut coat

Method
 

Prep and mix
  1. Heat the oven to 350°F (175°C). Grease two 9-inch (23 cm) round pans, line the bottoms with parchment, and grease the parchment so the soft layers release whole.
    Two round cake pans lined with parchment circles and a bowl of flour beside them.
  2. Whisk the flour, baking powder, and salt in a medium bowl until evenly combined, about 30 seconds.
    Flour and baking powder being whisked in a glass bowl.
  3. Beat the butter and sugar for 4 to 5 minutes until very pale and fluffy. This long creaming is where the light, cloud-like crumb comes from, so do not shorten it.
    Very pale fluffy butter and sugar in a stand mixer bowl.
  4. Beat in the eggs one at a time, letting each disappear before the next, then beat in the vanilla and coconut extracts. Scrape the bowl well.
    Cake batter in a mixing bowl with eggs being added.
Build the batter and bake
  1. Stir the coconut milk until the cream and liquid are fully combined again. Add the flour mixture and coconut milk to the batter in turns, starting and ending with flour, mixing on low only until each addition disappears, taake the crumb stays tender.
    White cake batter with a jug of coconut milk and a bowl of flour beside it.
  2. Fold the 1 cup (85 g) of shredded coconut through the batter by hand with a spatula, so the shreds stay whole and spread evenly.
    A spatula folding shredded coconut through pale cake batter.
  3. Divide the batter between the pans and bake for 28 to 32 minutes, until the tops are pale golden, spring back when pressed, and a toothpick in the center comes out clean or with a few dry crumbs.
    Two pale golden coconut cake layers in their pans with a toothpick beside them.
  4. Rest the layers in the pans for 10 minutes, then turn them out onto racks, peel off the parchment, and cool completely, about 40 minutes, taake the soft layers never tear under the frosting.
    Two pale coconut cake layers cooling on wire racks.
Frost and coat
  1. Beat the cream cheese and butter together until completely smooth. Add the powdered sugar gradually, then the coconut milk a spoonful at a time, the extracts, and the salt, beating just until smooth and spreadable.
    A bowl of smooth white cream cheese frosting with soft swirls.
  2. Frost the first layer, stack the second, and cover the top and sides of the cake with the remaining frosting.
    A coconut cake layer being spread with white frosting on a turntable.
  3. Serve: Working over a tray, press the 2 cups (170 g) of shredded coconut over the whole cake with your palm until it is completely white and no frosting shows. Slice with a serrated knife and serve at cool room temperature, after a short rest out of the fridge.
    Coconut cloud cake fully coated in shredded coconut with one slice cut.

Notes

  • WHY stir the coconut milk: it separates in the can into thick cream and thin liquid. Unstirred, one layer bakes rich and the other bakes watery.
  • Coconut milk swap: whole milk plus 1 extra teaspoon of coconut extract works, but the crumb will be a little less moist and the flavor a little lighter. Carton coconut drink is too thin for this cake.
  • No coconut extract? The cake still works with vanilla alone; add the zest of one lime to the batter to keep the flavor bright.
  • Storage: refrigerate covered for up to 5 days because of the cream cheese frosting. Let slices rest at room temperature 20 to 30 minutes before serving.
  • Make ahead: bake and wrap the layers a day early and chill; frost and coat on the day. The finished cake also improves overnight in the fridge.
  • Freezing: the finished cake freezes up to 1 month, well wrapped. Thaw overnight in the fridge.
  • UK / Australia terms: powdered sugar = icing sugar; all-purpose flour = plain flour; shredded coconut is sold as desiccated or shredded coconut, choose the moist shredded kind, not the very dry powder; a 350°F oven = 175°C = Gas Mark 4.