This German chocolate cake recipe makes planning easier by separating the chocolate layers from the cooked coconut-pecan filling. Allow about 90 minutes of preparation and baking, plus enough cooling time before assembly. The cake uses cocoa, sweet baking chocolate, and buttermilk for a tender chocolate base. Cook the egg-yolk filling gently, checking a safe temperature, then cool until spreadable. Warm filling on warm cake can slide and soak into the crumb. This is a from-scratch layer cake rather than a box-mix method; package-based alternatives need their own liquid, egg, and pan instructions.

Yield: two 8-inch (20-cm) layers, about 10 servings. Cooling: until both cake and filling are cool.
Ingredient notes
Evaporated milk is not sweetened condensed milk. Their sugar and concentration differ substantially. Use chocolate labeled for sweet baking rather than unsweetened chocolate without adjusting the formulation. Nut-free or dairy-free requirements need a different filling balance, not an assumption that the main ingredients can disappear without affecting texture.
Tips for the best German chocolate cake
Cool the melted chocolate before mixing. It should still pour, but feel only lukewarm. Hot chocolate can soften the creamed butter too much. Scrape the sides of the bowl so the chocolate blends through the batter.
Divide the batter evenly. If you have a scale, weigh the filled pans. Similar layers bake at the same rate and stack more neatly. Begin checking when the centers look set, and let the cakes cool completely before adding filling.
Stir the filling over gentle heat. Scrape the bottom and corners so the yolks do not set in patches. The coconut and pecans give it more body as it cools. If it is too warm to hold a layer, chill it briefly and stir before spreading.
Use a thin first layer of filling. Start in the center and spread outward without pushing it over the edge. Set the upper cake layer down gently and wait until it is stable before spreading the remaining filling on top.

Variations
With a cake mix
Choose a German chocolate or mild chocolate cake mix and bake the layers according to its package. Make the coconut-pecan filling separately. Check the yield, since a taller cake or three layers may need more filling.
With a different chocolate
Sweet baking chocolate gives the cake a mild flavor. Semisweet chocolate gives a stronger cocoa note and less sweetness. Avoid replacing the chocolate with cocoa powder alone, since the batter would also lose fat and sugar.
With different nuts
Chopped walnuts can replace pecans. If omitting nuts for an allergy, use ingredients that meet your needs and expect a softer filling. Add a little extra coconut only if the mixture still spreads easily.

What to serve with German chocolate cake
Serve with plain coffee or tea, fresh berries, unsweetened cream, or a small scoop of vanilla ice cream. For another chocolate dessert, see chocolate cake-mix cookies or chocolate-chip cookie cake. For a savory brunch, try German potato pancakes.
Storage and reheating
Refrigerate the cake covered at 40°F (4°C) or colder and use within 3–4 days. Chill the cooked filling and assembled cake promptly. Limit time at room temperature to 2 hours, or 1 hour above 90°F (32°C).
FAQ
What makes German chocolate cake german?
The name refers to German’s sweet baking chocolate. The cake is an American layer cake, and its coconut-pecan filling is the feature most people recognize. This recipe uses sweet baking chocolate and cocoa in the layers, then a cooked filling made with evaporated milk, egg yolks, coconut, and pecans.
What cake mix for German chocolate cake?
Use a German chocolate cake mix for a milder layer or a regular chocolate mix if that is what you have. Bake it according to the package directions and let the layers cool completely. Use the homemade coconut-pecan filling to give the cake its characteristic flavor and texture.
Can I make German chocolate cake ahead of time?
Yes. Bake and cool the layers ahead, then wrap them so they do not dry out. Make the filling separately and refrigerate it once cool. Let it soften briefly until spreadable, assemble the cake, and return it to the refrigerator. Slice with a clean knife just before serving.
How long does German chocolate cake keep in the fridge, and can it be frozen?
Use refrigerated cake within 3–4 days. For longer storage, freeze the plain cooled layers well wrapped. You can freeze assembled slices too, although the filling may soften after thawing. Thaw in the refrigerator and keep the slices covered so they do not pick up other aromas.
What can I substitute if I don’t have a key ingredient?
Use semisweet chocolate if you have no sweet baking chocolate, knowing that the layers will taste darker. Walnuts can replace pecans. Use evaporated milk for the filling. Sweetened condensed milk already contains a substantial amount of sugar and is not interchangeable in this formula.