German Chocolate Cake Frosting
How to Make Classic German Chocolate Cake Frosting
This is the real deal German chocolate cake frosting: a cooked coconut-pecan filling that’s rich, gooey, and nothing like the buttercream you’re used to. It comes together on the stovetop in under 20 minutes, and the payoff is that signature caramel-like layer.

Once you spread it between chocolate cake layers, the frosting sets into a soft, fudgy filling that holds its shape and tastes like the best part of the cake. If you’ve ever scraped the frosting off a slice first, this recipe is for you.
Why This Frosting Works
The magic is a quick stovetop custard. Evaporated milk, sugar, egg yolks, and butter cook together until thick and glossy, building a deep caramel flavor without any candy thermometer.
Stirring in shredded coconut and chopped pecans gives the frosting its signature chew and crunch. It’s sweet but balanced, and it spreads easily while still warm, then sets up just enough to stay put between layers.
Ingredients

- 1 cup (240 ml) evaporated milk: full-fat gives the richest result
- 1 cup (200 g) granulated sugar
- 3 large egg yolks: save the whites for another use
- ½ cup (113 g) unsalted butter: cut into pieces so it melts evenly
- 1 teaspoon vanilla extract
- ⅛ teaspoon salt
- 1½ cups (120 g) sweetened shredded coconut
- 1 cup (110 g) pecans: chopped; toasting them deepens the flavor (see tip below)
Variations / Substitutions
- Brown sugar: Swap half or all of the granulated sugar for dark brown sugar for a deeper molasses note. The frosting will be a little softer.
- Pecans: Walnuts work here, but the flavor shifts toward earthy instead of buttery. Toast them before using.
- Unsweetened coconut: It’s much drier, so the frosting may feel slightly less luscious. Let it sit a few extra minutes off the heat to absorb moisture.
- Dairy-free: This recipe depends on evaporated milk and butter, so I haven’t found a reliable substitute. For the cake layers, though, a good chocolate cake recipe with oil is already dairy-free.
White German Chocolate Cake Cheesecake is an easy way to put this frosting to good use.
How to Make German Chocolate Cake Frosting
Step 1: Mix the Custard Base

Whisk the 1 cup evaporated milk, 1 cup sugar, 3 egg yolks, and ½ cup butter together in a medium saucepan. Set the pan over medium heat and keep whisking until the butter melts and the mixture looks smooth, about 3 minutes. Don’t walk away here — starting on steady medium heat helps the sugar dissolve without scalding.
Step 2: Cook the Frosting

Bring the mixture to a gentle boil, still whisking. Once bubbles appear all over the surface, turn the heat down to medium-low. Cook, stirring constantly with a wooden spoon or heatproof spatula, until the frosting thickens and coats the back of the spoon, 10 to 12 minutes. You’ll know it’s ready when you drag the spoon through and the path stays visible for a second before filling back in. Off the heat, stir in the 1 teaspoon vanilla and ⅛ teaspoon salt.
Step 3: Fold in the Coconut and Pecans

Add the 1½ cups coconut and 1 cup pecans to the hot frosting. Fold everything together until no dry shreds remain. The frosting will look loose at this point — that’s fine. Let it cool in the pan for about 15 minutes, stirring once or twice, until it thickens to a spreadable, oatmeal-like consistency.
Step 4: Spread the Frosting on the Cake

Spoon the warm frosting over your cooled cake layers and spread it evenly with an offset spatula. If it stiffens before you’re done, set the pan over low heat for 30 seconds and stir. The frosting will set as it cools, so work from the center outward and let it spill over the edges just a little for that classic look.
Tips for the Best German Chocolate Frosting
- Toast the pecans (and coconut if you like). Spread them on a sheet pan at 350°F (175°C) for 6 to 8 minutes, stirring once, until fragrant. It adds a toasted note that cuts through the sweetness.
- Stir constantly once the custard boils.: A few unattended seconds can lead to scorched spots on the bottom of the pan.
- Make it ahead.: Cool the frosting completely, cover, and refrigerate up to 3 days. Let it come to room temperature and stir well before spreading.
- Double it for a 3-layer cake.: The recipe as written makes about 2 cups, enough for a standard 2-layer 8-inch or 9-inch cake.
- Use a nonstick pan if you have one.: It makes cleanup easier and helps prevent any stubborn bits from sticking.
Cake size and frosting quantity:
| Cake Size | Frosting Needed | Multiply Recipe By |
|---|---|---|
| 2-layer 8 or 9-inch | 2 cups | 1x |
| 3-layer 8 or 9-inch | 3 cups | 1.5x |
| 9×13 sheet cake | 4 cups | 2x |
Keeping Frosting Fresh
- Refrigerate: Store leftover frosting in an airtight container for up to 5 days. It will firm up a lot when cold, so let it sit at room temperature for 30 minutes before using.
- Reheating: Rewarm in a saucepan over low heat, stirring often, or microwave in 15-second bursts until spreadable again.
Frequently Asked Questions
Can I make German chocolate frosting ahead of time?
Yes. Cool it, cover, and refrigerate for up to 3 days. Bring to room temperature before spreading, warming gently if needed.
Why did my frosting turn out grainy?
Graininess usually means the sugar didn’t fully dissolve. Next time, whisk more in the beginning and avoid boiling too hard — a gentle simmer is all you need.
Can I freeze this frosting?
Yes. Freeze in a zip-top bag or container for up to 2 months. Thaw overnight in the fridge, then rewarm slowly while stirring to bring back the texture.
I only have unsweetened coconut. Will it work?
It will, but the frosting will be drier and less rich. Let it sit a few extra minutes before spreading so the coconut softens.
Do I have to use evaporated milk?
Yes. Regular milk won’t give you the same thick, caramelized result because it contains more water. Evaporated milk is key.

German Chocolate Cake Frosting Recipe
Ingredients
Method
- In a medium saucepan, whisk together the evaporated milk, sugar, egg yolks, and butter. Place over medium heat and cook, whisking, until the butter melts and the mixture is smooth, about 3 minutes.
- Bring to a gentle boil, then reduce heat to medium-low. Cook, stirring constantly, until thickened enough to coat the back of a spoon, 10 to 12 minutes. Remove from heat; stir in vanilla and salt.
- Fold in the coconut and pecans. Let the frosting cool for about 15 minutes, stirring occasionally, until it thickens to a spreadable consistency.
- Spread the warm frosting onto cooled cake layers. It will set as it cools.
