Skip to main content
Zimt

Home baking recipes and cinnamon favourites

German Chocolate Cake: What's Actually In It

German chocolate cake is a layered chocolate cake made with a mild, slightly sweet baking chocolate batter, filled and topped with a cooked coconut-pecan frosting, and usually finished with chocolate icing on the sides. Despite the name, it has nothing to do with Germany: the "German" refers to Sam German, an American chocolate maker whose sweet baking chocolate was used in an early published recipe in the 1950s. The cake's defining element is that caramel-like coconut-pecan filling, not the chocolate itself.

The Name and Where It Comes From

In 1852, an employee of the Walter Baker & Company chocolate firm named Sam German developed a dark, sweet baking chocolate bar, which the company sold as "Baker's German's Sweet Chocolate." A recipe using that bar appeared in a newspaper in 1957 and was picked up widely, eventually becoming a standard American celebration cake. Over time the possessive was dropped and the cake was simply called "German chocolate." The chocolate in the cake is an American-style sweet baking chocolate, not a German product, and the recipe is a mid-century American invention rather than a traditional German dessert.

That origin explains a detail that confuses many bakers: the cake component is barely distinguishable from an ordinary chocolate layer cake. The coconut-pecan topping is what people recognize, and a cake without it is just chocolate cake.

What Goes Into the Cake Layers

A classic German chocolate cake batter is a chocolate layer cake with a few characteristic choices:

  • Sweet baking chocolate — the traditional 4-ounce bar style, melted into the batter, which gives a deeper color than cocoa powder alone and a moderately sweet, mild chocolate flavor.
  • Cocoa powder — many versions add natural cocoa for extra depth; Dutch-processed cocoa changes the color and acidity and may need a leavening adjustment.
  • Butter or oil — butter for flavor, oil for tenderness; cakes using oil stay moist longer, while all-butter versions taste richer.
  • Sugar, eggs, flour, baking soda or baking powder, salt, and vanilla — the standard structural and flavoring elements of a butter or oil layer cake.
  • Buttermilk or sour cream — common in good versions for acidity that reacts with the baking soda and keeps the crumb tender.
  • Hot liquid — a common technique is to whisk hot coffee or boiling water into the batter at the end, which blooms the cocoa and thins the batter.

Texas-style versions, sometimes called Texas German chocolate cake, bake the same batter in a sheet pan instead of round tins, then spread the filling over the top and serve it from the pan.

The Coconut-Pecan Filling Is the Real Signature

The filling and topping are cooked on the stovetop and are what make the cake recognizable. The core ingredients are:

  • Evaporated milk — the liquid base, which gives the filling its body and caramel-like flavor without needing to be cooked to a true caramel.
  • Granulated sugar — usually combined with the milk and cooked until dissolved and slightly thickened.
  • Egg yolks — whisked in to enrich and thicken the mixture as it heats.
  • Butter — stirred in off the heat for richness and gloss.
  • Vanilla — a small amount, for flavor.
  • Sweetened shredded coconut — the bulk of the texture; sweetened, moist coconut is standard, and unsweetened coconut gives a drier, less sweet result.
  • Chopped pecans — toasted first in many versions for better flavor.

The mixture is cooked gently until it thickens enough to coat the back of a spoon, then removed from the heat before the coconut and pecans are folded in. It should be cooled to room temperature and spread between the layers and over the top while still soft enough to spread but thick enough not to run.

How the Filling Actually Sets

The thickening comes from two things working together: the egg yolks coagulating and the mixture reducing slightly as it simmers. Because the yolks are the setting agent, the heat has to be controlled. Too much heat and the yolks scramble into visible flecks; too little and the filling stays soupy and slides off the cake.

A reliable approach is to whisk the yolks with a little of the hot milk mixture first, then return everything to the pan and cook over medium-low heat, stirring constantly, until the mixture thickens. A thermometer helps: aim for around 170°F (77°C), which is well below the point where yolks curdle. The filling will thicken further as it cools, so pull it off the heat while it still looks slightly looser than the final texture you want.

How It Compares to Other Chocolate Cakes

  • Versus a plain chocolate layer cake: the difference is the topping. The cake crumb is similar; what distinguishes German chocolate cake is the coconut-pecan filling and the fact that the sides are usually coated in chocolate icing while the top is left bare.
  • Versus Black Forest cake: Black Forest is a German dessert with chocolate sponge, whipped cream, and cherries. It is a genuinely German cake, which is a common source of confusion given the name of the American one.
  • Versus devil's food cake: devil's food is a darker, more intensely chocolate cake leavened with baking soda and often made with cocoa; it has no coconut-pecan filling. German chocolate cake is milder and sweeter.
  • Versus red velvet: red velvet relies on buttermilk and food coloring with a cream cheese frosting; it is not a chocolate cake in the same sense, though it contains cocoa.

Common Problems and How to Fix Them

  • Filling turns grainy or curdled: the yolks got too hot or were added too quickly. Temper them with a slow stream of the hot mixture, whisking constantly, and keep the pan over medium-low heat.
  • Filling is too runny: it was undercooked. Return it to the pan and cook gently until it coats a spoon, or chill it briefly before assembling.
  • Cake is dry: the layers were overbaked. Pull them when a tester comes out with a few moist crumbs, and check the oven temperature with an oven thermometer.
  • Cake domes or cracks: too much batter per pan or an oven running hot. Level the tops with a serrated knife before stacking, or use baking strips.
  • Filling slides off the sides: it was too warm or too thin. Cool it fully and keep the assembled cake refrigerated until serving.
  • Cake tastes flat: stale cocoa or cocoa that was never bloomed. Whisking cocoa into hot liquid before mixing develops the flavor.

Food Safety and Storage

The filling contains egg yolks and evaporated milk, and the cake is assembled with a perishable topping. Because the filling is cooked to a safe temperature, it is safe to serve, but the finished cake should be refrigerated. Do not eat raw batter or raw filling, since raw flour and raw eggs can carry pathogens; taste only fully cooked components.

  • Unfrosted layers: wrap tightly and keep at room temperature for up to 1 day, or freeze for up to 2 months.
  • Filling: refrigerate in a sealed container for up to 2 days; stir before using.
  • Assembled cake: refrigerate, covered, for up to 3–4 days. Let it sit at room temperature for about 30 minutes before serving so the filling softens.
  • Freezing: assembled cake freezes poorly because the filling weeps; freeze the layers separately and make the filling fresh.

Chill the layers briefly before spreading the filling if it is warm, and use a light hand when stacking so the coconut-pecan mixture does not get pushed out the sides.

Frequently Asked Questions

Is German chocolate cake actually German?

No. The name comes from Sam German's sweet baking chocolate, an American product, and the cake recipe is an American invention. Germany's chocolate cake tradition is more associated with Black Forest cake.

Is German chocolate cake the same as chocolate cake with coconut?

Not exactly. The cake itself is a fairly standard chocolate layer cake. What makes it German chocolate cake is the cooked filling made with evaporated milk, egg yolks, coconut, and pecans, spread between the layers and on top.

Can I use unsweetened coconut instead of sweetened?

Yes. Unsweetened shredded coconut works and gives a less sweet, drier filling. You may want to increase the sugar slightly in the cooked base to compensate, and the texture will be a bit more coarse.

Can I make the filling ahead of time?

Yes. Cook it fully, cool it, and refrigerate it in a sealed container for up to two days. Bring it to room temperature or warm it gently and stir before spreading.

Does the cake need to be refrigerated?

Yes, once the filling is on it. The topping contains egg yolks, milk, and butter. An assembled cake keeps, covered, for about three to four days in the refrigerator.

Can I use milk chocolate or semisweet chocolate in the cake?

You can, but the flavor shifts. Sweet baking chocolate is traditional; semisweet makes it darker and less sweet, while milk chocolate makes it milder and sweeter and can make the batter looser. Natural or Dutch-process cocoa can supplement either.

Read next