Zimt

Coconut Cake with Cream Cheese and Pecans Recipe

· 7 min read · Cakes

In this article
  1. Ingredients
  2. Instructions
  3. Tips
  4. Serving Suggestions
  5. Variations
  6. Storage and Reheating
  7. Frequently Asked Questions

This coconut cake with cream cheese and pecans is a three-layer Southern-style layer cake: tender coconut sponge, a tangy cream cheese frosting that keeps the sweetness in check, and toasted pecans pressed around the sides and scattered on top. It works because the cream cheese cuts the richness of the coconut and butter, the pecans add crunch against the soft crumb, and the whole thing is sturdy enough to slice and travel well. If you have ever found coconut cake too sweet or too dry, this version fixes both problems.

Ingredients

For the cake

  • 2 3/4 cups (330 g) all-purpose flour
  • 2 teaspoons baking powder
  • 1/2 teaspoon baking soda
  • 1 teaspoon fine salt
  • 1 cup (225 g) unsalted butter, softened
  • 1 3/4 cups (350 g) granulated sugar
  • 4 large eggs, room temperature
  • 1 teaspoon vanilla extract
  • 1 teaspoon coconut extract (optional but recommended)
  • 1 cup (240 ml) full-fat coconut milk, well shaken
  • 1/2 cup (120 ml) buttermilk, room temperature
  • 1 1/2 cups (120 g) sweetened shredded coconut

For the frosting and finish

  • 16 oz (450 g) full-fat cream cheese, softened
  • 1 cup (225 g) unsalted butter, softened
  • 5 cups (600 g) powdered sugar, sifted
  • 2 teaspoons vanilla extract
  • 1/4 teaspoon fine salt
  • 1 1/2 cups (150 g) pecan halves, toasted and chopped
  • 1 cup (80 g) sweetened shredded coconut, lightly toasted, for the top

Instructions

  1. Prep. Heat the oven to 350°F (175°C). Grease three 8-inch round cake pans, line the bottoms with parchment, grease the parchment, and dust with flour. Tap out the excess.
  2. Mix the dry ingredients. Whisk the flour, baking powder, baking soda, and salt together in a bowl and set aside.
  3. Cream the butter and sugar. Beat the butter and granulated sugar on medium-high for 4 to 5 minutes, until pale and fluffy. Scrape the bowl once.
  4. Add the eggs. Beat in the eggs one at a time, mixing about 20 seconds after each and scraping down the sides. Stir in the vanilla and coconut extracts.
  5. Combine the liquids. Whisk the coconut milk and buttermilk together in a small jug. Stir the shredded coconut into the flour mixture so it does not clump.
  6. Alternate and finish the batter. On low speed, add the flour mixture in three additions alternating with the milk mixture in two, starting and ending with the flour. Mix only until the last streaks disappear, then fold in any dry bits by hand with a spatula.
  7. Bake. Divide the batter evenly between the pans (about 2 cups each) and smooth the tops. Bake 24 to 28 minutes, until the centers spring back and a toothpick comes out with a few moist crumbs. Rotate the pans halfway through if your oven bakes unevenly.
  8. Cool. Cool the layers in the pans for 10 minutes, then turn out onto a rack, peel off the parchment, and cool completely, about 1 hour. Warm cake will melt the frosting.
  9. Toast the pecans and coconut. Spread the pecans on a sheet pan and toast at 350°F (175°C) for 7 to 9 minutes, until fragrant. Toast the coconut for the topping for 4 to 6 minutes, stirring every minute, until golden at the edges. Cool both completely.
  10. Make the frosting. Beat the cream cheese and butter on medium until smooth, about 2 minutes. Add the powdered sugar one cup at a time on low, then the vanilla and salt. Beat on medium-high for 2 minutes until light and spreadable. Do not overbeat once it looks smooth, or it can turn loose.
  11. Fill and stack. Place one layer on a plate or cake board. Spread about 3/4 cup frosting over it and scatter 3 tablespoons of chopped pecans on top. Repeat with the second layer, then set the third layer cut side down.
  12. Crumb coat. Spread a thin coat of frosting over the top and sides, scraping it nearly bare. Chill 20 to 30 minutes to set the crumbs.
  13. Finish the cake. Apply the remaining frosting in an even layer. Press the chopped pecans around the lower half of the sides with your palm, then pile the toasted coconut in the center of the top and ring it with the remaining pecans.
  14. Chill before serving. Refrigerate 30 to 60 minutes so the layers settle and the cake slices cleanly. Bring it out 20 minutes before serving for the best texture.

Tips

  • Use full-fat dairy and room-temperature ingredients. Low-fat cream cheese and cold butter both produce a frosting that slumps or curdles. Take the cream cheese, butter, eggs, and buttermilk out of the fridge 1 to 2 hours ahead.
  • Do not overmix the batter. Once the flour goes in, every extra turn of the mixer builds gluten and makes the cake tough. Fold the last bit in by hand.
  • Toasting is not optional. Raw pecans taste flat and slightly bitter next to sweet frosting. Toasting for 7 to 9 minutes brings out their oils and keeps them crisp under the moisture of the cake.
  • Weigh your flour if you can. Scooping from the bag can pack in an extra half cup, which dries the cake out. If you have no scale, spoon the flour into the cup and level it with a knife.

Serving Suggestions

Serve slices at cool room temperature with strong coffee, hot tea, or a glass of cold milk. It is rich enough to stand alone, but a spoonful of lightly sweetened whipped cream or a few fresh raspberries on the plate balance the sweetness. For a party, cut 12 to 14 thin slices rather than 8 thick ones; the frosting is generous and the cake is tall. It also works as a celebration cake for birthdays and holidays, and the pecans make it look finished without any piping skill.

Variations

  • Sheet cake version: Bake the batter in a 9x13-inch pan for 32 to 38 minutes and frost the top only. Scatter the pecans and toasted coconut over the surface.
  • Lemon-coconut: Add 1 tablespoon lemon zest to the batter and 1 teaspoon fresh lemon juice to the frosting for a sharper edge.
  • Chocolate-pecan: Fold 1 cup of mini chocolate chips into the batter and drizzle 3 ounces of melted dark chocolate over the finished cake.
  • No coconut extract: Use 2 teaspoons vanilla total and add 1/4 cup extra shredded coconut to the batter. The flavor will be milder but still distinct.
  • Nut-free: Replace the pecans with toasted coconut only, pressing it around the sides as well as on top.

Storage and Reheating

Because of the cream cheese, the frosted cake must be refrigerated. Keep it covered in the fridge for up to 4 days; after that the pecans soften and the frosting picks up fridge odors. Let it sit at room temperature for 20 to 30 minutes before serving so the frosting loosens. Unfrosted cake layers keep wrapped tightly at room temperature for 2 days, or frozen for up to 2 months; thaw overnight in the fridge. Frosting alone keeps in a sealed container in the fridge for 5 days and must be re-whipped briefly before use. Whole frosted cake can be frozen for up to 1 month: freeze it uncovered for 1 hour to firm the frosting, wrap well, and thaw in the fridge overnight. Do not microwave slices, as the frosting will break; a few seconds at low power is the most it will tolerate. Never leave a cream cheese frosted cake out at room temperature for more than 2 hours.

Frequently Asked Questions

Can I make this cake ahead of time?

Yes. Bake and cool the layers up to 2 days ahead, wrap tightly, and refrigerate or freeze them. The frosting can be made 3 to 5 days ahead. Assemble the cake no more than a day before serving so the pecans stay crisp.

Why did my cream cheese frosting turn runny?

Usually because the cream cheese or butter was too warm, or the frosting was beaten too long after the sugar went in. Chill the bowl and beaters for 15 minutes, use full-fat cream cheese straight from a block rather than a tub, and stop mixing as soon as it is smooth.

Can I use unsweetened shredded coconut?

Yes, and it will make the cake less sweet. If you swap it in, add 2 to 3 tablespoons of sugar to the batter to keep the crumb tender and the flavor balanced.

How do I know when the layers are done?

A toothpick inserted in the center should come out with a few moist crumbs, not wet batter, and the center should spring back when pressed gently. If it jiggles, give it 3 more minutes and check again.

Can I bake this in two pans instead of three?

Yes. Use two 9-inch pans and bake 30 to 34 minutes, then split the cooled layers horizontally if you want three. The cake will be slightly flatter but the taste is the same.

Is it safe to eat the batter?

No. This batter contains raw flour and raw eggs, so it should not be tasted or eaten before baking. Heat-treat flour to 165°F (74°C) before using it in anything eaten raw.