Ingredients
Cake
- 4 ounces unsweetened baking chocolate, finely chopped
- ¼ cup Dutch-processed cocoa powder, sifted
- ½ cup boiling water
- 2 cups unbleached all-purpose flour
- ¾ teaspoon baking soda
- ¾ teaspoon salt
- 12 tablespoons unsalted butter, softened
- 1¼ cups granulated sugar
- ⅔ cup packed light brown sugar
- 4 large eggs, at room temperature
- 1 teaspoon pure vanilla extract
- ¾ cup full-fat sour cream, at room temperature
Coconut-Pecan Filling
- 2 large egg yolks
- ¾ cup evaporated milk (6 fluid ounces)
- ½ cup granulated sugar
- 2 tablespoons packed light brown sugar
- 3 tablespoons unsalted butter, cut into pieces
- ⅛ teaspoon salt
- 1½ teaspoons pure vanilla extract
- 1¼ cups sweetened shredded coconut
- 1¼ cups chopped pecans, toasted
Chocolate Buttercream Frosting
- ½ cup unsalted butter, softened
- 1¾ cups powdered sugar
- ¼ cup unsweetened cocoa powder
- 1½ tablespoons heavy cream, at room temperature
- Pinch of salt
- 1 teaspoon pure vanilla extract
Instructions
- Make the coconut filling: In a medium saucepan, whisk the egg yolks until smooth, then slowly whisk in evaporated milk. Add the granulated sugar, brown sugar, butter pieces, and salt. Cook over medium-high heat while whisking constantly for about 6 minutes, until the mixture comes to a boil and thickens.
- Cool the filling: Pour the custard into a clean bowl, whisk in the vanilla extract, then stir in the shredded coconut. Let the mixture cool until it is just barely warm.
- Chill filling: Press plastic wrap directly onto the surface of the filling and refrigerate for at least 2 hours or until completely chilled. Keep the toasted pecans separate to maintain their crunch.
- Prep oven and pan: Position an oven rack to the lower-middle level and preheat the oven to 350°F (175°C). Grease a 9x13-inch metal baking pan with nonstick cooking spray.
- Prepare chocolate mixture for cake: Place chopped baking chocolate and cocoa powder in a heatproof bowl. Pour boiling water over it and let sit for 2 minutes. Whisk until completely smooth, then set aside to cool to room temperature.
- Combine dry ingredients: In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.
- Make cake batter: Add the softened butter, granulated sugar, and brown sugar to a stand mixer fitted with a paddle attachment. Beat on medium-low speed for 30 seconds, then increase to medium-high and beat for 4 minutes until light and fluffy, scraping down the bowl halfway through.
- Add eggs and vanilla: Add eggs one at a time, mixing well after each addition, then add the vanilla extract and beat for another 45 seconds.
- Add chocolate mixture: With the mixer on low, slowly pour in the cooled chocolate mixture. Increase speed to medium and mix for 30 seconds until combined.
- Incorporate dry ingredients and sour cream: Turn mixer to low and add the flour mixture in three additions, alternating with the sour cream in two additions. Mix each addition just until combined to avoid overmixing.
- Finish batter: Use a rubber spatula to fold and ensure no streaks of flour remain at the bottom of the bowl.
- Bake the cake: Spread the batter evenly into the prepared pan and smooth the top with an offset spatula. Bake for 30-35 minutes, or until a toothpick inserted into the center comes out clean or with a few moist crumbs.
- Cool cake: Transfer the pan to a wire rack and let the cake cool completely, about 1 hour.
- Make chocolate buttercream frosting: Beat the softened butter for 2 minutes until creamy. Add the powdered sugar, cocoa powder, heavy cream, salt, and vanilla extract. Mix on low for 30 seconds, then increase speed to high and beat for 1 minute until light and smooth.
- Assemble cake: Stir the toasted pecans into the chilled coconut filling. Spread the coconut-pecan mixture evenly over the cooled cake, leaving a small border around the edges. Pipe the chocolate buttercream around the edge of the cake and optionally pipe swirls across the top for serving markers.
- Serve: Allow the assembled cake to sit at room temperature for about 20 minutes before slicing and serving.
Notes
- Toasting pecans separately keeps them crunchy in the filling.
- Using Dutch-processed cocoa powder provides a deeper chocolate flavor.
- Make sure eggs and sour cream are at room temperature for better mixing.
- Press plastic wrap directly onto the coconut filling surface to prevent a skin from forming.
- Allowing the filled and frosted cake to rest before serving lets flavors meld nicely.
- Store leftovers covered in the refrigerator for up to 3 days.
- Prep Time: 45 minutes
- Cook Time: 35 minutes
- Category: Dessert
- Method: Baking
- Cuisine: American
