Posted on — Leave a comment

German Chocolate Cake Frosting Recipe: Gooey, Coconut-Pecan & Easy

Caramel-amber German chocolate frosting in a dark bowl with moist shredded coconut and chopped pecans, with a spoonful held above the bowl.

German chocolate frosting—also called German chocolate icing or coconut-pecan frosting—is the cooked topping and filling used on a classic German chocolate cake. What makes it special is the contrast: soft coconut, toasted pecans and buttery caramel-like custard against the chocolate cake underneath.

In the classic coconut-pecan version, the frosting itself contains no chocolate; the chocolate belongs in the cake. The tricky part is knowing when the custard is ready. Cook time gets you close, but texture tells you when to move on.

Two finish lines: First, thicken the custard on the stove. Then let the finished coconut-pecan frosting cool until a spoonful holds a soft mound instead of spreading into a puddle.

German Chocolate Cake Frosting Recipe

A gooey homemade coconut-pecan frosting made with evaporated milk, egg yolks, brown sugar, butter, moist shredded coconut and toasted pecans.

Prep10 minutes
Pecan Toast6–8 minutes
StovetopAbout 10–15 minutes
CoolAbout 45–60 minutes
Ready to SpreadAbout 1¼–1½ hours
YieldFilling + top for one 3-layer 9-inch cake

Equipment

  • Medium heavy-bottomed saucepan
  • Whisk
  • Heatproof silicone spatula or wooden spoon
  • Wide heat-safe bowl or shallow dish for cooling
  • Small baking sheet for the pecans
  • Optional but useful: digital kitchen scale, instant-read thermometer and fine-mesh strainer

Ingredients

  • 4 large egg yolks
  • 12 fl oz / about 355 ml full-fat evaporated milk
  • 250 g packed light brown sugar, approximately 1 cup plus 3 tablespoons
  • ¾ cup / 170 g unsalted butter, cut into pieces
  • ½ teaspoon fine salt
  • 1½ teaspoons / 7.5 ml vanilla extract
  • 180 g sweetened shredded coconut, about 2 to 2¼ cups depending on the shred and how loosely it is packed
  • 170 g pecan halves, about 1½ cups after chopping

Check the can: Use evaporated milk, not sweetened condensed milk. Measure 12 fl oz / about 355 ml since can sizes can vary. For the difference in sugar and viscosity, see evaporated vs condensed milk ↓.

1. Toast the pecans

Heat the oven to 350°F / 175°C. Spread the pecan halves on a baking sheet and toast for 6–8 minutes.

Take them out when the kitchen starts to smell distinctly nutty and the pecans have deepened only slightly in color. They can move from fragrant to scorched quickly, so aroma is more useful here than dramatic browning.

Move them off the hot pan, let them cool briefly, then chop them into small but distinct pieces.

2. Whisk the custard base before heating

In the saucepan, whisk the egg yolks and evaporated milk together until smooth. You should not see streaks or little pieces of yolk.

Whisk in the brown sugar and salt, then add the butter. Mixing the yolks thoroughly into the cold milk helps them warm evenly once the pan goes on the stove, which lowers the chance of little cooked egg pieces later.

3. Cook until the custard coats the spoon

Set the saucepan over medium to medium-low heat and stir continuously, scraping across the bottom and into the corners.

At first, the butter melts and the sugar dissolves into a smooth, fairly loose mixture. That early looseness is normal. As it heats, keep any bubbling gentle and continue stirring.

Expect roughly 10–15 minutes on the stove, although your pan and burner may make it a little faster or slower.

How to recognize the cooked stage

The frosting is ready to leave the heat when all three are true:

  • The custard looks glossy and noticeably thicker.
  • It coats the back of your spoon or spatula, and a line drawn through that coating stays open.
  • A spatula dragged across the bottom leaves a clean trail for a moment before the custard flows back over it.

Brown sugar makes this version darker from the start, so judge doneness by the way it moves and coats the spoon rather than by color.

If you use an instant-read thermometer, the egg mixture should reach at least 160°F / 71°C. The USDA recommends 160°F for dishes containing eggs. Use the thermometer for the safety check; use the physical cues above for texture.

See a few cooked egg pieces? If the rest of the mixture still looks smooth, take the pan off the heat and strain it through a fine-mesh strainer before adding the coconut and pecans. A panful of recognizable scrambled egg is better restarted.

Take it off while it still flows. The base must thicken in the saucepan, but it should not already look like cold frosting. Coconut, pecans and cooling will give it more body.

Caramel custard in a stainless saucepan with a spatula leaving a clean trail that is beginning to close at the edges.
Look at the edges of the pan trail, not just the empty center. A properly cooked German chocolate frosting base begins easing back over the exposed pan; instant closure means it is still thin, while a trench that barely moves signals too much reduction.

If the cooked stage still feels ambiguous, compare all five consistency stages ↓.

4. Add the vanilla, coconut and pecans

Remove the saucepan from the heat and stir in the vanilla. Fold in the shredded coconut and toasted chopped pecans until everything is coated in the glossy custard.

The mixture should immediately look fuller, with the coconut and pecans suspended through the custard instead of sitting in a pool of liquid.

Shredded coconut and chopped pecans being folded into caramel custard with a red spatula in a stainless saucepan.
As you fold, glossy custard should work into the spaces between the coconut and pecans. If you still see dry-looking pockets, keep folding gently; don’t put the pan back on the heat.

5. Transfer it out of the saucepan

Scrape the frosting into a wide heat-safe bowl or shallow dish. Getting it out of the hot pan slows the cooking and helps it cool more evenly.

Give it a stir once or twice while it cools, then leave it alone to thicken.

6. Cool until a spoonful holds its shape

For same-day cake assembly, allow roughly 45–60 minutes at room temperature. A shallow dish will cool faster than a deep bowl, and a warm kitchen will take longer.

For a layer cake, the frosting is ready when it no longer feels warm and a spoonful sits in a soft mound instead of flattening into a puddle. Scoop through it and it should fold over itself slowly, with glossy custard still visible between the coconut and pecans. This frosting often looks least convincing while it is still warm.

Close-up of cooled coconut-pecan frosting with a spoon pressing into a soft, moist mound that holds its shape.
A useful final check is the spoon mark: ready-to-spread coconut-pecan frosting leaves a defined scoop with rounded, moist edges. A puddle is still too loose; a sharp, dry ridge suggests the mixture has gone too firm.

If the frosting stays loose after it has cooled, use the runny frosting diagnosis ↓ before adding anything to the batch.

Make sure the cake layers are cool too. Warm cake and warm filling make a slippery combination.

German Chocolate Frosting Consistency: 5 Stages

Use the visual below to decide whether the frosting needs more heat, more cooling, or simply time after the coconut and pecans go in.

Five stages of German chocolate frosting showing thin custard, ready-off-heat custard, coconut and pecans added, ready-to-spread frosting, and an overly thick final state.
Use the five stages as a reverse diagnosis as well as a cooking guide. If a batch still resembles the loose “solids added” stage while it is warm, it may simply need more cooling. A hot batch already resembling “too far,” however, needs to leave the heat immediately.
StageWhat to look for
Too earlyThin and sauce-like. A spatula trail disappears almost immediately. Keep cooking and stirring.
Ready to leave the heatGlossy and clearly thicker. It coats the spoon and leaves a brief trail across the pan. Remove it while it still flows.
Coconut and pecans addedFuller and chunkier, with glossy custard holding the coconut and nuts together. Transfer it out of the hot pan.
Ready to spreadCool, gooey and scoopable. A spoonful holds a soft mound and slowly folds over itself.
Too farVery stiff while still hot, moving almost as one mass, or starting to look dry, rough or separated. Remove it from the heat immediately.

The egg yolks thicken the milk mixture during cooking, coconut and pecans add bulk, and the butter firms as everything cools. Cooling can take a properly cooked frosting from soft to spreadable, but it cannot reliably turn an undercooked sauce into a stable cake filling.

German Chocolate Frosting Troubleshooting

Why is my German chocolate frosting runny?

German chocolate frosting is usually runny because it is still warm or because the custard did not cook long enough. If it reached the cooked stage, give it time to cool; if it came off the stove too early, it needs more cooking.

Three bowls comparing undercooked, warm, and cooled German chocolate frosting, showing increasingly thicker coconut-pecan textures.
Watch what the frosting does after the spoon moves away. Undercooked German chocolate frosting levels into a low pool, while a correctly cooked warm batch leaves more visible ridges around the coconut and pecans. Once cooled, those ridges become a soft mound.

Still warm? That may be completely normal. If your cake layers are already cooling on the counter, resist adding extra ingredients just because the frosting still looks loose.

If it came off the stove thin like sauce and the coconut and pecans have not been added yet, return it to medium-low heat and keep stirring until it reaches the cooked stage described in the recipe.

Already stirred in the coconut and pecans? If the frosting remains loose after cooling, gentle reheating over low heat can sometimes help. Stir slowly and watch closely—the coconut makes the base harder to judge, and it will firm again as it cools.

If the frosting is still loose after cooling

If a fully cooled batch is still pouring, check the basics:

  • Did the base reach the cooked stage before the coconut went in?
  • Did you use the full measured amount of evaporated milk?
  • Was the full-fat evaporated milk replaced with another dairy?
  • Were all 4 egg yolks included?
  • Were the coconut and pecans measured correctly?

A brief chill can help a correctly cooked batch that is simply softer than you want. Check the cooking and measurements before adding powdered sugar, melted chocolate or cornstarch; those ingredients change the frosting itself.

Why did my German chocolate frosting get too thick?

Frosting that feels very firm straight from the refrigerator may be completely fine once it loses the chill. Let it sit at room temperature briefly and stir before deciding it needs fixing.

Frosting that was already very stiff while still hot probably cooked too long. Move it out of the saucepan straight away. If it is only a little too firm while still warm, a teaspoon of warm evaporated milk at a time may loosen it; stir well after each addition and stop as soon as it spreads comfortably.

I can see little pieces of cooked egg

A few pale flecks can often be strained out before the coconut and pecans go in. If much of the pan has turned into recognizable scrambled egg, starting again is the better use of your time.

The frosting looks grainy, curdled or oily

These problems can look similar at first, but they do not always need the same response.

Four German chocolate frosting texture problems showing pale cooked-egg flecks, an overly thick mixture, visible separated oil, and fine grittiness.
The location of the defect helps identify it: cooked egg appears as isolated pale flecks, grittiness roughens the custard itself, and true oil separation forms distinct greasy pools around the solids. Normal custard gloss remains an even coating.
  • Very thick and rough: the frosting may have cooked too long. Get it off the heat; continuing to reduce it will only make it stiffer.
  • Oily separation: take the pan off the heat. If the separation is slight, gentle stirring as it cools may help it come back together.
  • Fine grittiness: poorly dissolved sugar or overcooking can contribute.

If the frosting remains coarse, greasy or visibly separated after cooling, restarting is usually more reliable than trying to force it back together. Moderate heat and steady stirring are the best prevention.

The filling is sliding out between the cake layers

German chocolate filling usually slides because the cake or frosting is too warm, the filling layer is too thick, or both.

If the filling is already squeezing out, the fix is usually temperature and assembly rather than remaking the frosting.

Chocolate cake layers with coconut-pecan filling sitting close to the cake edge, plus a smaller example showing excessive filling bulging outward.
Let the cake edge be your guide. A good German chocolate cake filling layer reaches the edge roughly flush with the crumb; if the coconut-pecan filling already projects outward before stacking, the next layer is likely to squeeze it farther out.
  • Cool the cake layers before assembling.
  • Wait until the frosting is cool and scoopable.
  • Spread a moderate filling layer all the way to the edge, but do not build a thick bulge that gets squeezed outward when the next cake layer goes on.
  • Chill the assembled cake briefly before moving or decorating it further.

Planning the layers before you stack? See how much frosting one batch gives you ↓.

Ingredient Choices That Change the Frosting

Why evaporated milk works here

Evaporated milk gives the custard concentrated dairy with less water than ordinary milk, helping it thicken without the heavy sugar load of sweetened condensed milk. Use the measured amount in the recipe rather than assuming every can is the same size.

Ordinary whole milk contains more water and will not behave the same way in a direct one-for-one swap. For this formula, evaporated milk is the dependable choice.

Egg yolks do the thickening

Egg yolks supply much of the thickening as well as richness, so an egg-free version needs a different thickening system rather than simply leaving them out.

Coconut and pecans

For the recipe as written, use moist sweetened shredded coconut. Moist unsweetened shredded coconut can work as a less-sweet variation, although the final set may differ slightly depending on the product. Fine desiccated coconut produces a drier, less chewy frosting; if it is your only option, add it gradually rather than automatically using the full weight. Chop unusually long coconut strands a few times before adding them.

Three samples comparing moist sweetened shredded coconut, moist unsweetened shredded coconut, and fine desiccated coconut.
Shred size changes more than appearance. Moist shredded coconut leaves flexible strands and open spaces for custard, while fine desiccated coconut packs more densely, so equal-looking volumes can give the frosting very different body.

Keep the coconut untoasted here for its soft chew against the crisp pecans. Walnuts can stand in for pecans if needed; the flavor changes, but the texture still works.

Why this version uses brown sugar

Many classic coconut-pecan frostings use granulated sugar. Light brown sugar gives this version a deeper caramel note. Butter adds richness and helps the frosting settle into a soft, spoonable texture as it cools; vanilla and salt keep the sweetness from tasting one-dimensional.

Evaporated Milk vs Sweetened Condensed Milk

The cans are easy to confuse, but their sugar content and viscosity are different enough that you should not swap them can-for-can in this recipe.

Evaporated milk pouring in a thin stream beside sweetened condensed milk falling in a thick ribbon into separate clear glasses.
The pour makes the difference visible: evaporated milk falls in a fluid stream, whereas sweetened condensed milk ribbons and piles on itself. That thickness comes with much more sugar and milk solids, so it cannot replace evaporated milk 1:1 in German chocolate frosting.
Evaporated milkSweetened condensed milk
Concentrated milk without a large amount of added sugarConcentrated milk with a substantial amount of sugar already dissolved into it
This recipe adds 250 g brown sugar separatelyA condensed-milk frosting needs much less or no additional sugar, depending on the recipe
Use the measured amount called for in this recipeNeeds a formula designed around the sugar already in the can

Opened condensed milk by mistake? Save it for our Magic Cookie Bars, where condensed milk, coconut and pecans are supposed to be together.

How Much German Chocolate Frosting Do You Need?

Before assembling a three-layer cake, reserve a generous portion for the top and divide the rest evenly between the two filling layers. You want enough coconut-pecan filling to see a generous layer when the cake is sliced without building either layer so thick that it gets pushed out at the edges.

Three-layer chocolate cake with two coconut-pecan filling layers and frosting on top, with a wedge removed to reveal the interior.
Use the cut face as the quality check: two similarly generous coconut-pecan filling bands give every slice a consistent bite without forcing filling beyond the cake edge. Leaving the sides bare also keeps the dark chocolate cake in balance with the sweet topping.
UseWhat one batch gives you
Three-layer 9-inch cakeTwo filling layers plus a generous coconut-pecan top.
Two-layer 8- or 9-inch cakePlenty for the center and top, with room for a thicker finish.
9×13-inch cakeA generous layer across the top.
Filling, top and fully covered sidesMake additional frosting or use a smoother frosting on the exterior. The chunky coconut-pecan mixture is harder to control on vertical sides.

Using coconut-pecan frosting on cakes and cupcakes

Shredded coconut and chopped pecans make this frosting chunky on purpose. For cupcakes, spoon it on and shape it with the back of a spoon or a small offset spatula. For piped borders, rosettes or birthday-cake swirls, use a smooth frosting instead. The chocolate buttercream in our chocolate cake recipe is made for that job.

Do you have to frost the sides? No. German chocolate cake is commonly finished with coconut-pecan frosting between the layers and on top, with the chocolate cake left visible around the sides. Covering the sides works best with cool cake and cool frosting and gives a deliberately textured finish.

How to keep the finished cake from tasting too sweet

German chocolate frosting is meant to be sweet, but the finished cake does not need to feel heavy or cloying.

  • For a less-sweet batch, use the moist unsweetened shredded coconut variation described above.
  • Keep the salt in the recipe.
  • Toast the pecans so their nutty flavor can stand up to the sweet custard.
  • For the least-sweet finish, leave the sides bare and use the coconut-pecan frosting between the layers and on top.
  • If you prefer frosted sides, choose something tangier rather than another very sweet buttercream. Our chocolate cream cheese frosting is one option.

Halving or doubling the batch

For a half batch, halve every ingredient—including using 2 egg yolks—and use a smaller saucepan so the shallow mixture does not reduce too aggressively.

For a double batch, use a larger, wider saucepan. More frosting takes longer to heat and reduce, so the original 10–15 minute stovetop window will change. Watch for the same cooked stage rather than trying to double the minutes.

Have some frosting left? Spoon it over fudgy brownies, blondies, cupcakes or cookie bars, or add a small spoonful to vanilla or chocolate ice cream.

Make Ahead and Storage

Can you make German chocolate frosting ahead?

Yes. For same-day cake assembly, cool it at room temperature until it reaches the spreadable stage in the recipe. For another day, transfer it to a shallow container and refrigerate it promptly; it does not need to sit out until fully cool first.

How long does it keep?

Keep the frosting refrigerated and use it within 3–4 days. Do not leave it at room temperature for more than 2 hours, or more than 1 hour if the room is above 90°F / 32°C.

Once a cake is filled with coconut-pecan frosting, store the assembled cake covered in the refrigerator as well. The frosting will feel much firmer once chilled.

How to soften refrigerated frosting

Let cold coconut-pecan frosting stand at room temperature briefly, then stir gently. Spreading it straight from the refrigerator can tug at or tear a tender cake layer.

Chilled coconut-pecan frosting holding a firm spoon trench compared with the same frosting softened to a smoother, more spreadable consistency.
Cold firmness and overcooking are not the same problem. Chilled German chocolate frosting can hold a deep spoon trench, but after warming slightly it should relax into rounded, spreadable folds. If it stays rough and rigid, temperature alone probably is not the issue.

Once softened, it should be gooey and spoonable again, with soft coconut and toasted pecans held in a rich custard that spreads easily and stays where you put it.

Posted on — Leave a comment

German Chocolate Cake Recipe: Moist, Rich & From Scratch with Coconut-Pecan Frosting

Three-layer chocolate cake on a brass stand with two coconut-pecan filling layers, coconut-pecan frosting on top, and exposed chocolate cake sides.

A good slice of German chocolate cake gives you soft chocolate layers, glossy coconut-pecan filling, toasted nuts and a top that looks generously covered rather than plastered smooth. The filling holds its place when you cut the cake, then stays creamy once the fork goes through it.

For plenty of people, this is also the cake somebody asks for by name, especially for a birthday. They already know the exposed chocolate layers and coconut-pecan top they are hoping to see, which makes getting both the cake and the filling right matter even more.

This German chocolate cake recipe makes both parts from scratch: three chocolate layers and a cooked coconut-pecan frosting, with no cake mix or canned frosting. German’s Sweet Chocolate supplies the familiar sweet-chocolate flavor, while a little natural cocoa adds more chocolate depth.

Pay closest attention to the frosting. A timer can tell you when to start looking; the saucepan tells you when to stop.

Three things matter most:

  1. Keep the chocolate balanced. German chocolate cake has a gentler chocolate profile than devil’s food, but the layers still need enough depth to stand beside the filling.
  2. Pull the frosting from the heat while it still looks a little soft. It thickens considerably as it cools, so waiting for it to look fully set in the saucepan can take it too far.
  3. Cool everything before stacking. Warm cake and warm custard are a recipe for sliding layers.

German Chocolate Cake Recipe

Three chocolate layers made with German’s Sweet Chocolate, natural cocoa and buttermilk, finished with a cooked coconut-pecan frosting.

Yield
1 three-layer 9-inch cake

Serves
14–16

Oven
350°F / 177°C

Cake bake
Begin checking around 26 minutes

Final chill
45–60 minutes

Plan on
About 4 hours including cooling

Equipment

  • Three 9-inch / 23-cm round cake pans, ideally about 2 inches / 5 cm deep
  • Electric hand mixer or stand mixer
  • Medium heavy-based saucepan
  • Digital kitchen scale, strongly recommended
  • Instant-read thermometer for checking the frosting’s egg-safety temperature

Chocolate Cake

  • 4 oz / 113 g German’s Sweet Chocolate, finely chopped
  • ½ cup / 120 ml hot brewed coffee, or hot water
  • 2¼ cups / 270 g all-purpose flour
  • ⅓ cup / 30 g natural unsweetened cocoa powder
  • 1 teaspoon baking powder
  • 1 teaspoon baking soda
  • 1 teaspoon fine salt
  • ¾ cup / 170 g unsalted butter, softened but not greasy
  • 1¾ cups / 350 g granulated sugar
  • ¼ cup / 60 ml neutral oil
  • 4 large eggs, at room temperature
  • 2 teaspoons / 10 ml vanilla extract
  • 1 cup / 240 ml buttermilk, at room temperature

Coconut-Pecan Frosting

  • 4 large egg yolks
  • 1 can (12 fl oz / about 355 ml) evaporated milk
  • 250 g packed light brown sugar, approximately 1 cup plus 3 tablespoons
  • ¾ cup / 170 g unsalted butter, cut into pieces
  • ½ teaspoon fine salt
  • 1½ teaspoons / 7.5 ml vanilla extract
  • 2¼ cups / about 180 g sweetened shredded coconut, preferably a moist baking-style shred
  • 170 g pecan halves, toasted before chopping; approximately 1½ cups once chopped

Before You Start

  • Chocolate: the familiar BAKER’S German’s Sweet Chocolate bar is around 48% cacao. When it is unavailable, a sweet or semisweet baking bar around 45–55% cacao is the closest fallback suggested here. A very dark bar will give the cake a more intense, bitter chocolate character.
  • Cocoa: use natural unsweetened cocoa powder. Dutch-process cocoa changes the acidity and the way the leavening behaves.
  • Coconut: choose sweetened shredded coconut with some moisture left in it. Very fine, dry desiccated coconut absorbs liquid differently and can make the filling firmer.

Method

1. Prepare the Pans

Heat the oven to 350°F / 177°C. Grease three 9-inch / 23-cm round cake pans, line the bottoms with parchment, then lightly grease the parchment.

Light-colored metal pans give the most predictable bake. Dark pans can set and brown the edges sooner.

Arrange the pans with enough space for air to circulate around them. If you need two racks, stagger the pans so one is not directly above another.

2. Melt the Chocolate

Put the chopped German’s Sweet Chocolate in a heatproof bowl. Pour over the hot coffee and leave it for about 2 minutes, then stir until smooth.

Hot coffee being poured over chopped sweet baking chocolate in a bowl as the chocolate begins to melt.
After pouring in the hot coffee, give the chopped sweet baking chocolate a brief moment to absorb the heat before stirring. That short rest does some of the melting for you, making it easier to reach a smooth mixture without unnecessarily working it.

Let the chocolate mixture cool until warm rather than hot before adding it to the butter mixture. Coffee deepens the chocolate flavor without making the finished cake taste noticeably of coffee. Hot water works too.

3. Mix the Dry Ingredients

Whisk together the flour, cocoa powder, baking powder, baking soda and salt until the cocoa is evenly dispersed.

4. Build the Batter

Beat the softened butter and sugar for about 2–3 minutes, until creamy and slightly lighter. Beat in the oil.

Add the eggs one at a time, mixing well after each addition. Beat in the vanilla and scrape the bottom and sides of the bowl.

With the mixer on low, slowly add the warm chocolate-coffee mixture and mix until the color is even.

5. Add the Flour and Buttermilk

Add the dry mixture in three additions, alternating with the buttermilk in two additions. Begin and end with the dry ingredients. Keep the mixer on low and stop when the last streaks of flour are almost gone.

Finish with a few folds by hand, scraping the bottom of the bowl so no pockets of flour remain.

What you are looking for: a smooth, glossy batter that is softer than a traditional butter-cake batter. Resist the urge to add more flour just because it looks loose.

Thick, glossy chocolate cake batter falling in a ribbon from a spatula into a mixing bowl.
Watch how the batter falls from the spatula: it should form a smooth ribbon that settles back into the bowl rather than dropping in stiff clumps. That flowing texture is the useful visual cue here.

6. Divide and Bake

Divide the batter evenly among the three pans. A scale makes even layers easier: weigh the finished batter and divide the total by three.

Chocolate cake batter divided in similar amounts among three round metal cake pans.
Equal batter depth does more than produce prettier layers. It helps all three 9-inch cakes reach doneness in roughly the same window, reducing the chance that a shallow layer dries out while a deeper one is still baking through.

Begin checking around 26 minutes. The centers should no longer wobble, the tops should spring back lightly when touched, and a toothpick inserted near the center should come out without wet batter. A few moist crumbs are fine.

Cool the cakes in their pans for about 10 minutes, then turn them onto racks, remove the parchment and let them cool completely.

Three round baked chocolate cake layers cooling separately on wire racks.
A wire rack cools more than the tops: air can circulate beneath the chocolate cake layers instead of trapping heat and steam against their bases. That airflow helps the crumb finish cooling without leaving the undersides unnecessarily damp.

7. Toast the Pecans

While the layers cool, spread the pecans on a baking sheet and toast at 350°F / 177°C for about 6–8 minutes. They are ready when the nutty aroma becomes obvious; there is no need to wait for them to turn dramatically darker. Cool briefly, then chop them into small but distinct pieces.

Raw pale pecans and darker toasted pecans shown side by side for comparison.
Side by side, the toasted pecans should look slightly deeper and warmer in color rather than dramatically browned. Toast them as halves, then chop after cooling so the nuts keep more distinct, crisp pieces in the frosting.

8. Cook the Coconut-Pecan Frosting

Whisk the egg yolks, evaporated milk, brown sugar and salt together in a medium heavy-based saucepan. Add the butter and set the pan over medium to medium-low heat.

Smooth golden custard base for German chocolate frosting being stirred in a saucepan before coconut and pecans are added.
Before coconut and pecans obscure the mixture, use this stage to inspect the German chocolate frosting custard itself. It should look smooth and unified; visible graininess, curdling or oily separation is easier to diagnose now than after the chunky ingredients are folded in.

Stir continuously, scraping the bottom and corners. From the time the pan goes over the heat, this batch may take roughly 10–15 minutes, depending on the pan and burner. Treat that as a guide for when to watch closely, not a guaranteed finish time.

Keep stirring until the mixture reaches 160°F / 71°C and has thickened enough to coat the back of a spoon. Draw the edge of a spatula through the coating; the track should remain visible instead of immediately closing. The mixture should look glossy and thicker, but it will still be softer than the finished filling.

Spatula drawn through thick golden custard in a saucepan, leaving a visible track across the bottom of the pan.
Draw the spatula firmly across the bottom and watch the path immediately. At the useful stage, the custard leaves a clean track that stays visible instead of flooding closed at once. Keep stirring between checks so the base cooks evenly.

Temperature and texture are separate checks: the thermometer confirms that the egg mixture has reached the safety threshold, while the spoon test helps you judge consistency. For more on safe cooking and handling, see the USDA food-safety guidance.

Want a side-by-side visual check? Compare your custard with the three frosting states.

9. Finish and Cool the Frosting

Remove the pan from the heat and stir in the vanilla, coconut and toasted pecans until evenly coated. The coconut and nuts should be distributed throughout the custard rather than sitting in a separate layer.

Spatula folding shredded coconut and toasted pecan pieces into thick golden custard in a metal bowl.
Expect an immediate jump in apparent thickness when the shredded coconut and toasted pecans are folded into the finished custard. Those solids add body without additional cooking, which is why the custard’s doneness should be established before they go in.

Transfer the frosting to a wide bowl or shallow dish and stir occasionally as it cools. Depending on room temperature and the dish, cooling may take roughly 45–60 minutes. The texture is the better guide: it is ready for stacking when it no longer feels warm and a spoonful holds its mound instead of slowly flowing outward.

Cooled coconut-pecan frosting holding a thick, soft mound on a metal spatula above a bowl.
Look for soft structure rather than buttercream stiffness. Cooled coconut-pecan frosting should mound on the spatula and hold briefly while its edges remain relaxed enough to spread without tugging at the chocolate cake underneath.

10. Assemble the Cake

Before stacking, mentally divide the cooled frosting into three portions, making the top portion slightly larger. That helps prevent using too much between the first two layers and running short at the end.

Set the first cake layer on a serving plate or cake board. Spread one portion of frosting over the top, making a clear coconut-pecan seam without pushing the filling into a heavy bulge at the edge.

Offset spatula spreading coconut-pecan filling evenly across the top of a round chocolate cake layer.
An offset spatula lets you move chunky coconut-pecan filling with broad, light passes instead of pressing repeatedly into the tender crumb. Near the exposed edge, lighten the pressure further so you spread the filling without tearing up the cake underneath.

Add the second layer and repeat. Set the third on top and use the larger remaining portion for the crown.

Labeled cross-section of German chocolate cake showing top frosting, three chocolate cake layers and two coconut-pecan filling layers.
Treat the two interior filling seams as structural layers as well as flavor. Keeping them reasonably level gives the cake above a flatter base, while the top can carry a more generous share of coconut-pecan frosting because it doesn’t have another chocolate layer to support.

Leave the sides exposed for the classic look. Once the third layer is on and those coconut-pecan seams are showing, it finally looks like German chocolate cake.

If the stack starts shifting as you build it, see how to keep the layers from sliding.

11. Chill Before Slicing

Refrigerate the assembled cake for about 45–60 minutes. This gives the filling time to settle and makes the layers easier to slice cleanly.

For serving, let the cake lose some of its refrigerator chill so the crumb softens and the chocolate, butter and toasted nuts become more aromatic.

Back to Recipe ↑  ·  Explore the Cake & Frosting Guide ↓

If the cake is already chilling, you are done for today. Keep the guide below for the questions that tend to come up when choosing chocolate, judging the frosting, building a stable cake or planning ahead.

What Makes German Chocolate Cake Different?

German chocolate cake is an American chocolate layer cake known for its cooked coconut-pecan filling and frosting; its name comes from German’s Sweet Chocolate, not Germany.

The chocolate was developed by Samuel German for Baker’s Chocolate in the nineteenth century. An early published version of the cake appeared in the Irving News Record in May 1956 as “Summer German Chocolate Cake.” A 1957 recipe in the Dallas Morning News helped popularize the cake nationally. Read more in this history of German chocolate cake.

Classic German Chocolate Cake vs This Version

The classic BAKER’S German’s Sweet Chocolate Cake uses a 4-ounce bar of German’s Sweet Chocolate, butter, buttermilk and separated eggs. The egg whites are beaten separately and folded into the batter for lift.

That gentler chocolate flavor is part of what longtime fans recognize as German chocolate cake. This version keeps German’s Sweet Chocolate, buttermilk, three exposed layers and the familiar cooked coconut-pecan finish.

The batter takes a more streamlined route: the whole eggs are added one at a time, natural cocoa adds another layer of chocolate flavor, and a little oil is used alongside the butter.

Our frosting is adapted too. The classic BAKER’S version uses 1½ cups granulated sugar and 2⅔ cups coconut. This version uses 250 g light brown sugar and 2¼ cups sweetened shredded coconut. It retains the cooked egg-yolk, evaporated-milk, butter and pecan base while changing the sugar and coconut proportions rather than reproducing the original formula.

For a dark, fudgy cake covered in glossy chocolate instead of coconut-pecan filling, our Matilda Cake is a much better match.

Choosing the Chocolate

German’s Sweet Chocolate is sweeter and less intense than the very dark bars now common in baking aisles. The familiar BAKER’S bar is around 48% cacao.

Pieces of medium-brown sweet baking chocolate beside bowls of natural cocoa powder on a burgundy surface.
Here, German’s Sweet Chocolate and natural cocoa do different jobs: sweet baking chocolate establishes the mellow chocolate profile, while cocoa adds darker roasted depth. Using both gives this German chocolate cake more chocolate intensity without replacing the ingredient that gives it its distinctive foundation.

Choose it when you can find it. A sweet or semisweet baking bar around 45–55% cacao is the closest fallback suggested here. An 80% or 90% bar pushes the cake in a noticeably darker and more bitter direction.

Cacao percentages, cocoa and chocolate labels can get confusing quickly; our cacao vs chocolate guide explains what those terms actually mean.

Ready to bake? Back to the recipe ↑

Keeping the Chocolate Layers Moist

Butter brings flavor, oil stays fluid when chilled, buttermilk adds moisture and acidity, and coffee helps the chocolate taste fuller. Careful baking keeps that moisture in the cake instead of driving it off in the oven.

Flour measurement matters just as much. Use the gram weight when possible. Measuring by cups? Spoon the flour into the cup and level it instead of packing it down.

The target is a soft, tender layer with enough structure to sit beside the creamy coconut-pecan filling. A wet, brownie-like crumb would pull the cake in a different direction.

Slice of German chocolate cake showing three chocolate cake layers, two coconut-pecan filling layers and coconut-pecan frosting on top.
This cut slice shows why filling proportion matters. Two moderate coconut-pecan seams between three chocolate cake layers give each forkful cake, custard, coconut and pecan without letting the sweet filling overwhelm the chocolate crumb.

Getting the Coconut-Pecan Frosting Right

German chocolate frosting is naturally softer while hot, which makes it easy to keep cooking longer than necessary. Judge it again after cooling: if it still pours then, it was probably undercooked.

The filling begins like a cooked custard. Egg yolks, evaporated milk, brown sugar and butter thicken together before the coconut and pecans go in. Once cooled, you want a soft caramel-like layer with coconut and pecans suspended through it, supple enough for a fork but firm enough to stay between the layers.

Evaporated Milk vs Sweetened Condensed Milk

Sweetened condensed milk is not a 1:1 substitute for evaporated milk in this German chocolate frosting.

Evaporated milk is concentrated milk without the large amount of added sugar found in sweetened condensed milk. The two cans may sit beside each other at the store, but they behave very differently in a cooked filling.

Measure the full 12 fl oz / about 355 ml evaporated milk rather than relying on the phrase “one can,” since package sizes vary.

Condensed-milk German chocolate frostings do exist, but they are built around that ingredient from the beginning. Already have sweetened condensed milk? Our Magic Cookie Bars use it with chocolate, coconut and pecans.

Coconut and Pecans

Choose moist, sweetened shredded coconut here. It absorbs part of the custard and gives the filling much of its body. Very dry desiccated coconut can make the mixture tighten faster than expected.

Long coconut strands are easier to spread and slice after a few rough chops. Keep enough length for the coconut to remain visible.

Toast the pecans before chopping them. Their aroma deepens before the color changes dramatically, so smell is the better cue.

Removing the coconut changes both the body and texture of the filling because the shreds absorb part of the custard. A coconut-free version would need a different filling, not simply the same custard with one ingredient missing.

Walnuts are the easiest nut swap. Toasted walnuts provide similar bulk and crunch, although the flavor is distinctly different.

The Three Frosting States

Three-panel comparison labeled Too Early, Ready and Too Far, showing golden frosting custard from thin and flowing to properly thickened and then overly thick.
Read the movement around the track, not merely the color. Too early, the custard flows back together quickly; ready, it remains glossy while holding a defined path; too far, it moves heavily and begins losing the fluid character needed for an easy-spreading coconut-pecan frosting.
What You SeeWhat to Do
Too early: thin, runs quickly from the spoon and a track through the coating closes almost immediatelyKeep cooking and stirring until the mixture reaches the egg-safety temperature and continues to thicken.
Ready: glossy and visibly thicker, coats the spoon and holds a track drawn through the coating; the mixture has reached 160°F / 71°CRemove it from the heat promptly. It will thicken further as it cools.
Too far: heavy or pasty while still hot, difficult to stir or already beginning to setRemove it from the heat if it has reached the safety threshold. It has gone beyond the ideal spreading stage.

For egg safety, the custard needs to reach 160°F / 71°C. Temperature and spreading consistency are separate checks: use a thermometer for the safety threshold and the spoon test for texture. The USDA food-safety guidance explains safe cooking and handling temperatures.

What Went Wrong with the Frosting?

Still pourable once cool? It may have been undercooked. Return it to gentle heat, stir constantly and monitor both the temperature and the consistency. Do not rely on the spoon test alone to establish egg safety.

Already stiff while warm? The custard may have cooked too far, or the coconut may be especially dry. It can firm further as it cools, so avoid adding more cooking time just to make it resemble a cold filling.

Greasy or separated? Excess heat can disrupt the mixture. Stop cooking and let it cool before assessing the texture. There is no guaranteed fix for a badly separated batch; moderate heat and constant stirring are the best prevention.

Frosting sorted? Return to cake assembly ↑

Keeping the Layers from Sliding

Coconut-pecan filling stays softer than a structural buttercream. Cool cake and cool filling do most of the work here; keep each filling layer thick enough to see clearly without loading it so heavily that it is already pushing toward the edge.

Lower each cake layer straight down instead of sliding it into position. A shifting stack needs a short chill. Pressing harder usually makes the filling squeeze out faster.

For Birthdays and Transport

A narrow ring of firm buttercream around the first two layers can act as a dam when the cake has to travel or spend time in a warm room. Spoon the coconut-pecan filling inside that ring.

For piped decorations, writing or smooth chocolate-covered sides, use buttercream or ganache for those jobs and leave plenty of coconut-pecan frosting visible on top.

Our buttercream frosting guide covers the consistency needed for piping and structural work.

Chill the assembled cake thoroughly before transport and keep it level in a fitted box or carrier. For a longer drive or hot weather, place the boxed cake in an insulated cooler with frozen gel packs to keep it cold in transit. Count transport and serving time together: return the cake to refrigeration within 2 hours out of the cold, or within 1 hour when temperatures exceed 90°F / 32°C.

9×13 German Chocolate Cake

A 9×13-inch cake is easier to carry and portion, and it skips the layer-stacking altogether. Use a metal pan at least 2 inches deep.

Rectangular chocolate cake in a 9-by-13-inch pan topped with coconut-pecan frosting, with portions removed to reveal the chocolate crumb.
A 9×13 German chocolate cake changes the ratio as well as the presentation: all the coconut-pecan frosting sits over one deeper chocolate layer instead of appearing in seams throughout a stacked slice. That gives each serving a more distinct topping-to-cake contrast.

Spread the batter into the greased, parchment-lined pan and bake at 350°F / 177°C. Begin checking around 35 minutes; this is a starting point, and the center’s doneness cues determine when to remove the cake.

The center is ready when it no longer wobbles, the surface springs back lightly and a tester shows moist crumbs rather than wet batter. Cool the cake completely in the pan before frosting it.

Spread the cooled frosting over the cake in a generous, even layer. Once the topping has the depth you want, stop there; every last spoonful does not have to go onto the surface.

Planning ahead? Continue to make-ahead, storage and serving, or return to the recipe ↑.

Make Ahead, Storage & Serving

This cake is easier when the work is split over two days.

Three individually plastic-wrapped chocolate cake layers beside a glass container of prepared coconut-pecan frosting with its red lid nearby.
Storing the components separately preserves control on assembly day. Individually wrapped cake layers protect their exposed surfaces, while separately stored coconut-pecan frosting can be brought back to spreading consistency without repeatedly handling the cakes.

The Day Before

  • Bake the layers and let them cool completely.
  • Once completely cool, wrap each cake layer individually. If your kitchen is cool and dry, keep the wrapped layers at room temperature overnight; if the room is hot, freeze them instead.
  • Cook and cool the coconut-pecan frosting, then cover and refrigerate it separately.

On Serving Day

  • Take the refrigerated frosting out early enough to soften to a spreadable consistency. It should spread without requiring substantial heating.
  • Assemble while the layers are still cool and easy to handle.
  • Chill the finished cake for 45–60 minutes before slicing.

Freezing the layers: for a conservative quality window, freeze completely cooled, well-wrapped unfrosted layers for up to 1 month. Let them thaw at room temperature while still wrapped, then unwrap once fully thawed. Nine-inch layers will often need roughly 2–3 hours to thaw through the center.

Refrigerator storage: keep the assembled cake and leftovers covered in the refrigerator at 40°F / 4°C or below. For the best texture and freshness, eat within about 3 days; use refrigerated leftovers within 4 days.

Once the cake is out for serving, count all time spent out of refrigeration, including transport and serving. Return it to the refrigerator within 2 hours, or within 1 hour if the temperature exceeds 90°F / 32°C. Do not rely on appearance or smell to determine whether perishable food has been stored safely.

For the best texture, let a refrigerated slice sit out for roughly 20–30 minutes before eating, depending on room temperature. Keep the total time out of refrigeration within the limits above.

Back to Guide ↑  ·  Back to Top ↑

German Chocolate Cake Troubleshooting

ProblemWhat to Check
Cake is dryToo much flour, too long in the oven or an oven running hot. Weigh the flour and stop baking while the tester still carries a few moist crumbs.
Batter looks softer than expectedDo not add flour just to make it look like a traditional butter-cake batter. A smooth batter with the correct measurements can still look quite soft.
Edges look done before the centerKeep the oven temperature steady and give the middle more time. Dark pans and hot spots can set the outside first.
Layers slideThe cake or filling is probably too warm, or there is too much filling between layers. Give the stack a brief chill.
Filling squeezes out when slicedChill the assembled cake before slicing and use a sharp knife, wiping the blade between slices.

Give the finished cake a little time out of the refrigerator before cutting. When the first slice comes away cleanly and the filling stays creamy instead of running or turning firm, the work has paid off—and the cake is ready for the table.

Fork lifting a bite from a slice of German chocolate cake with three chocolate layers, two coconut-pecan filling layers and frosting on top.
A forkful reveals the texture better than a pristine whole cake can. The chocolate crumb should compress softly, then break cleanly rather than smear like a brownie, while the coconut-pecan filling stays supple enough to come away naturally with the bite.

Back to Recipe ↑  ·  Back to Top ↑