Coconut Pecan Cake is a moist vanilla layer cake finished with that rich coconut-pecan custard frosting people usually associate with German chocolate cake. I like it because the cake stays soft and light, but the topping brings the deep, buttery sweetness.
The frosting is the whole point for me: toasty coconut, chopped pecans, and a thick custard base that spreads easily once it cools. It’s sweet, yes, but it also has a little salt and real vanilla, so it doesn’t taste flat.
I make this one for holidays, potlucks, and weekends when I want a layer cake that doesn’t need fancy decorating. It looks right at home with a cup of coffee, and it slices into neat layers once it has a little time to rest.

Why You’ll Love This Recipe
Classic but different: You get the familiar coconut-pecan custard frosting, but on a vanilla cake that keeps the whole thing feeling lighter.
That frosting: It’s thick, buttery, and a little chewy from the coconut, with crunch from the pecans.
No fussy decorating: I usually leave the sides a little “naked,” which is traditional here and honestly easier.
Great for gatherings: This is the kind of cake people recognize right away, and it serves a full 12 slices without feeling skimpy.
Make it your own: Toast the coconut and pecans if you want more depth, or bake thinner layers if you like more frosting in every slice.
Ingredients You’ll Need
Cake
- All-purpose flour: I use regular AP flour here. It bakes up soft but still strong enough to hold the frosting.
- Granulated sugar: Keeps the cake sweet and tender. Nothing fancy needed.
- Unsalted butter: Butter gives this cake the best flavor, and using unsalted lets you control the salt.
- Eggs: Room-temp eggs mix in smoother and help the layers bake up evenly.
- Buttermilk: This is what makes the crumb extra tender. Kefir works too if that’s what you have.
- Whole milk: I like the mix of buttermilk and whole milk for a soft cake that isn’t too tangy.
- Baking powder: Gives the cake most of its lift. Make sure it’s fresh.
- Baking soda: Helps the buttermilk do its job and keeps the texture light.
- Fine salt: Don’t skip it. It keeps the cake from tasting one-note sweet.
- Vanilla extract: Use a vanilla you like the taste of, since it’s a main flavor here.
- Nonstick spray: Helpful insurance for layer cakes, especially around the edges.
- Flour for dusting pans: Keeps the layers from sticking, even if the pans are older or a little scratched.
Coconut Pecan Frosting
- Evaporated milk: This is the classic base for this frosting. It gives you that custardy texture without being heavy.
- Granulated sugar: Sweetens and thickens as it cooks. I stick with white sugar here.
- Egg yolks: Yolks make it rich and help it set up properly as it cools.
- Unsalted butter: Stirred in at the end for a smooth, glossy finish.
- Vanilla extract: A little extra vanilla makes the frosting taste more like “real dessert” and less like plain sugar.
- Sweetened shredded coconut: The sweetened kind is traditional and gives the frosting its chewy texture.
- Pecans: Chop them so the cake slices cleanly. I like a mix of small bits and a few bigger pieces.
- Fine salt: Just enough to keep the custard from tasting overly sweet.

Recipe Instructions
- Preheat the oven: Heat the oven to 350°F. Grease and flour two 9-inch round cake pans, then line the bottoms with parchment.
- Mix the dry ingredients: Whisk the flour, baking powder, baking soda, and salt in a medium bowl until evenly combined.
- Cream the butter and sugar: Beat the butter and sugar until light and fluffy, scraping the bowl as needed.
- Add the eggs: Beat in the eggs one at a time, mixing after each. Mix in the vanilla.
- Add the dry ingredients: Add the dry ingredients in two additions, alternating with the buttermilk and whole milk. Mix just until smooth and you don’t see streaks of flour.
- Bake: Divide the batter evenly between the pans. Bake for about 30 minutes, until a toothpick comes out clean and the centers spring back lightly.
- Cool the cakes: Cool in the pans for 10 minutes, then turn out onto a rack to cool completely.
- Cook the frosting base: Whisk the evaporated milk, sugar, egg yolks, and salt in a saucepan over medium heat. Cook, whisking constantly, until thickened and just bubbling.
- Finish the frosting: Remove from heat and stir in the butter and vanilla until melted. Fold in the coconut and pecans.
- Cool the frosting: Let the frosting cool to a spreadable consistency, stirring occasionally as it thickens.
- Frost the cake: Level the cakes if needed, then spread frosting between the layers and over the top and sides (or leave the sides semi-naked if you prefer).
- Rest and slice: Let the cake sit for about 30 minutes before slicing so you get cleaner layers.

Some of my tips!
This is the part that really makes a difference. If you only read one section, make it this one because this is where I share the little trick that helps the recipe turn out so well.
Recipe Tips & Tricks
Use room-temperature dairy and eggs. This batter mixes up smoother and you’re less likely to overmix trying to get it uniform. The layers also bake a little more evenly.
Don’t let the custard boil hard. Keep it at a gentle bubble and whisk the whole time. A hard boil can push the yolks too far and make the frosting grainy.
Toast the coconut and pecans if you have time. It adds a deeper flavor and makes the frosting taste less sugary. Just watch closely so the coconut doesn’t scorch.
Let the frosting cool before you spread it. Warm frosting will slide around and soak into the cake too much. It should feel thick, like a loose jam.
Level the layers if they dome. It’s not about perfection, just stability. A flat top helps the frosting stay where you put it.
Make some touches!
There are plenty of easy ways to serve this depending on the occasion. Keep it simple, or add a few small touches to make it feel a little more special.
Serving Suggestions
- Coffee: This cake is really good with plain black coffee or a latte. The bitterness helps with the sweet frosting.
- Fresh berries: Strawberries or raspberries are nice on the side if you want something fresh on the plate. I usually keep them simple and not too sweet.
- Whipped cream: A small spoonful of lightly sweetened whipped cream is nice if you’re serving thinner slices. It’s also good if the cake has been chilled.
- Extra toasted nuts: Sprinkle a few toasted pecans on top right before serving for a little crunch. It makes the slices look finished without any decorating work.
Save it for later
This section covers how to store leftovers and what parts of the recipe you can prepare ahead of time.
Storage and Make Ahead
Store the cake covered at room temperature for 1 day. After that, I move it to the fridge so the frosting stays in good shape.
Refrigerate leftovers for up to 5 days. The cake will firm up a bit when chilled, so I like to let slices sit at room temp for 20 to 30 minutes before serving.
You can make the frosting ahead and keep it in the fridge, then bring it back to room temperature so it spreads easily. Stir it well before frosting the cake.
If you want to freeze individual slices, wrap them well and freeze. Thaw in the fridge overnight, then let them warm up a bit on the counter before eating.

A few quick answers
This section covers a few extra details that may help before you head to the recipe card.
Recipe FAQs
Is this the same as German chocolate cake?
It has the same style of coconut-pecan custard frosting, but the cake layers here are vanilla instead of chocolate. I like the vanilla base because it makes the frosting stand out more.
Can I use three pans for thinner layers?
Yes. Use three cake pans for thinner layers and start checking them around 18 minutes; they usually finish in the 18 to 22 minute range depending on your oven.
What can I use instead of buttermilk?
Kefir works well as a straight swap. You can also make sour milk by adding a little vinegar or lemon juice to regular milk and letting it sit for a few minutes.
Why is my coconut pecan frosting runny?
Most of the time it just needs more cooling time. It thickens a lot as it sits, so give it a stir every so often and wait until it’s spreadable.
How do I keep the frosting from curdling?
Keep the heat moderate and whisk constantly, especially as it starts to thicken. I also make sure it doesn’t come to a hard boil, which is where it can go wrong.
You might also like
Before you go, take a look at a few other recipes below the recipe card. They use similar ingredients in a different way and are worth saving too.

Coconut Pecan Cake
INGREDIENTS
Cake
- 2.5 cups all purpose flour
- 2 cups granulated sugar
- 1 cup unsalted butter softened
- 4 large eggs room temperature
- 1 cup buttermilk room temperature
- ½ cup whole milk room temperature
- 2.5 tsp baking powder
- ½ tsp baking soda
- ¾ tsp fine salt
- 2 tsp vanilla extract
- nonstick spray for pans
- 2 tbsp flour for dusting pans.
Coconut Pecan Frosting
- 1 cup evaporated milk
- 1 cup granulated sugar
- 4 large egg yolks
- ½ cup unsalted butter
- 1.5 tsp vanilla extract
- 2 cups sweetened shredded coconut
- 1.5 cups pecans chopped
- ¼ tsp fine salt.
INSTRUCTIONS
Cake
- Heat oven to 350 F and grease and flour two 9 inch round pans then line bottoms with parchment
- whisk flour baking powder baking soda and salt until uniform
- beat butter and sugar until light and fluffy then beat in eggs one at a time and mix in vanilla
- add dry ingredients in two additions alternating with buttermilk and milk and mix just until smooth
- divide batter evenly and bake until a toothpick comes out clean and centers spring back then cool in pans 10 minutes and turn out to cool completely.
Coconut Pecan Frosting and Assembly
- Whisk evaporated milk sugar egg yolks and salt in a saucepan over medium heat then cook whisking constantly until thickened and just bubbling
- remove from heat and stir in butter and vanilla until melted then fold in coconut and pecans
- cool frosting to a spreadable consistency stirring occasionally
- level cakes if needed then spread frosting between layers and over top and sides or leave sides semi naked for a traditional finish
- rest cake 30 minutes before slicing for clean layers.
