Dinners

Coconut Butter Pecan Cake With Cream Cheese Frosting

Updated · By Patriot Kitchen

Total timeincludes chilling, rising or resting
2 hr 15 min
Prep
30 min
hands-on
Cook
30 min
oven or stovetop
Serves
12
as written

Jump to recipe Save

Coconut butter pecan cake is a three-layer butter cake with toasted pecans folded through the batter and a coconut cream cheese frosting. The crumb is tender and buttery, the pecans give it a deep toasted crunch, and the frosting carries the coconut without turning the cake heavy. It suits a weekend bake, a birthday, or a potluck where you need something that cuts into clean slices and holds up for a few hours on a table.

Serve it at room temperature with coffee or a glass of cold milk. The cake keeps its texture best on the day it is frosted, but it slices cleanly the next day if it has been refrigerated and brought back to room temperature for about 30 minutes.

What Makes the Cake Work

Three things carry this cake. First, the pecans are toasted before they go into the batter; raw pecans taste flat and turn soft in a wet batter, while toasted ones stay crisp at the edges and taste sweeter. Second, the coconut goes in two places: sweetened shredded coconut in the frosting and a small amount of coconut extract in the batter, so the flavor reads as coconut rather than as plain vanilla. Third, the cake uses cake flour or a flour-and-cornstarch blend, which gives a finer crumb than all-purpose flour alone.

The butter and eggs should be at room temperature before you start. Cold butter does not cream properly and cold eggs make the batter curdle when they are added. Set both out about 1 hour ahead, or put the eggs in a bowl of warm water for 10 minutes.

Ingredients

For the cake

  • 2 1/2 cups (300 g) cake flour, or 2 1/4 cups (280 g) all-purpose flour plus 1/4 cup (30 g) cornstarch
  • 2 1/2 tsp (10 g) baking powder
  • 1/2 tsp (3 g) fine salt
  • 1 cup (227 g) unsalted butter, softened
  • 1 3/4 cups (350 g) granulated sugar
  • 4 large eggs, at room temperature
  • 1 tsp (5 ml) vanilla extract
  • 1 tsp (5 ml) coconut extract
  • 1 cup (240 ml) whole milk, at room temperature
  • 1 1/2 cups (170 g) pecan halves, toasted and chopped

For the coconut cream cheese frosting

  • 8 oz (227 g) cream cheese, softened
  • 1/2 cup (113 g) unsalted butter, softened
  • 4 cups (480 g) powdered sugar, sifted
  • 1 tsp (5 ml) coconut extract
  • 1/4 tsp (1.5 g) fine salt
  • 1 1/2 cups (120 g) sweetened shredded coconut, plus 1/2 cup (40 g) for the top

Instructions

  1. Heat the oven to 350°F (175°C). Grease three 8-inch (20 cm) round cake pans, line the bottoms with parchment, and grease the parchment.
  2. Toast the pecans on a rimmed sheet pan at 350°F (175°C) for 8-10 minutes, until fragrant and one shade darker. Cool completely, then chop to about 1/4-inch (6 mm) pieces. Set aside 1/4 cup (28 g) for the top.
  3. Whisk the cake flour, baking powder and salt together in a bowl.
  4. Beat the butter and sugar in a stand mixer on medium-high for 3-4 minutes, until pale and fluffy. Scrape the bowl.
  5. Add the eggs one at a time, beating 20 seconds after each and scraping between additions. Beat in the vanilla and coconut extracts.
  6. With the mixer on low, add the flour mixture in three additions, alternating with the milk in two, starting and ending with flour. Mix only until the last streaks disappear.
  7. Fold in the chopped pecans by hand with a spatula.
  8. Divide the batter evenly among the three pans, about 1 3/4 cups (415 g) each. Smooth the tops.
  9. Bake at 350°F (175°C) for 24-28 minutes, until the centers spring back when pressed and a toothpick comes out with a few moist crumbs. Rotate the pans halfway through if your oven browns unevenly.
  10. Cool in the pans for 10 minutes, then turn out onto a rack and cool completely, about 45 minutes. Do not frost a warm cake.
  11. For the frosting, beat the cream cheese and butter on medium until smooth, about 1 minute. Add the powdered sugar in two additions on low, then the coconut extract and salt. Beat on medium for 1 minute, until spreadable. Fold in 1 1/2 cups (120 g) shredded coconut.
  12. Place one cake layer on a plate, spread about 2/3 cup (160 g) frosting over it, and top with the second layer. Repeat, then set the third layer on top and cover the top and sides with the remaining frosting.
  13. Press the reserved 1/2 cup (40 g) shredded coconut and 1/4 cup (28 g) pecans onto the top. Refrigerate for 30 minutes to set the frosting before slicing.

Swaps and Equipment

If you do not have cake flour, the all-purpose-plus-cornstarch blend above works; the crumb will be slightly coarser but the cake will still rise. For a dairy-free version, use a stick-style plant butter and a plant cream cheese, both at room temperature; the frosting will be softer, so chill it for 20 minutes before spreading. Coconut extract can be replaced with an equal amount of vanilla, but the coconut flavor will then come only from the frosting and the shredded coconut.

Three 8-inch (20 cm) round pans give the layers in the times above. Two 9-inch (23 cm) pans work as well; divide the batter between them and bake 28-32 minutes. A 9-by-13-inch (23-by-33 cm) sheet pan bakes in 30-35 minutes; cool it in the pan and frost the top only.

An offset spatula makes the sides easier to coat, but a butter knife works. A stand mixer is convenient for the butter and sugar; a hand mixer needs about 2 minutes longer at each creaming stage.

Storage and Make-Ahead

Refrigerate the frosted cake within 2 hours of finishing it. Covered, it keeps 3-4 days in the refrigerator. Bring slices to room temperature for about 30 minutes before serving; cold cream cheese frosting tastes flat.

The unfrosted layers can be wrapped in plastic and kept at room temperature for 1 day, or frozen for up to 2 months. Thaw wrapped at room temperature for about 2 hours before frosting. The frosting can be made 2 days ahead and refrigerated; soften it at room temperature for 30 minutes and beat it briefly before using.

Freeze frosted slices on a sheet pan until firm, then wrap each one and keep for up to 1 month. Thaw in the refrigerator overnight. Do not leave the cake out at room temperature for more than 2 hours, and discard any slice that has sat out longer.

Getting the Texture Right

If the batter looks curdled after the eggs go in, add 1 tbsp (8 g) of the flour mixture and beat until it smooths out. If the layers dome sharply, the oven is running hot; reduce by 25°F (15°C) and check at 22 minutes. A cake that pulls away from the pan and smells toasted is overbaked; start checking 2 minutes earlier next time.

For clean slices, chill the frosted cake for 30 minutes and use a long knife dipped in hot water and wiped dry between cuts. The pecans in the batter will drag if the cake is sliced warm.

Related

Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.

Spotted an error? Tell us and we will correct it (corrections policy).