Few desserts turn heads at a dinner table quite like a homemade German Chocolate Cake. Layers of deep, moist chocolate sit between thick spreads of caramel-kissed coconut pecan filling, all wrapped in a smooth chocolate buttercream. This German Chocolate Cake Recipe walks you through every step, from mixing the batter to assembling a bakery-worthy layer cake right in your own kitchen.
I have tested this recipe repeatedly to get the crumb tender, the filling gooey but not runny, and the chocolate frosting silky enough to spread without tearing the cake. The result is a decadent dessert that tastes like it came from a specialty bakery yet only requires about 45 minutes of hands-on prep.
Table of Contents
- Why You’ll Love This Recipe
- What Is German Chocolate Cake?
- Ingredients for German Chocolate Cake
- Step-by-Step Instructions
- Pro Tips for Success
- Keep It Fresh: Storage Tips
- Recipe Variations to Try
- Perfect Pairings: Serving Suggestions
- Equipment Essentials
- Frequently Asked Questions
- What’s the difference between a chocolate cake and a German chocolate cake?
- Why is it called German chocolate cake if it isn’t from Germany?
- What nationality was Samuel German?
- What is the filling of a German chocolate cake?
- Can I use a cake mix for German chocolate cake?
- How do you make German chocolate cake from scratch?
- What does German chocolate cake taste like?
- How long does German chocolate cake last?
- Wrapping Up
- German Chocolate Cake
Why You’ll Love This Recipe
- Moist, tender crumb thanks to a combination of oil, butter, and buttermilk that keeps the cake soft for days.
- From-scratch coconut pecan filling cooked on the stovetop until thick, golden, and caramel-like, with no canned shortcuts.
- Make-ahead friendly since the cake layers, filling, and frosting can all be prepared in advance and assembled later.
- Big enough to share with 15 generous slices, making it ideal for birthdays, holidays, and potluck gatherings.
- Surprisingly beginner-friendly because the batter comes together in a single bowl with no stand mixer required for the cake itself.
What Is German Chocolate Cake?
Despite the name, German Chocolate Cake is not from Germany. The cake traces its roots to an English-American baker named Samuel German, who in 1852 developed a style of dark baking chocolate for the Baker’s Chocolate Company in Massachusetts. The company named the product Baker’s German’s Sweet Chocolate in his honor, and it became a pantry staple in American kitchens for over a century.
The cake itself did not appear until more than a hundred years later. On June 3, 1957, a Texas homemaker submitted a recipe called “German’s Chocolate Cake” to The Dallas Morning News, using the Baker’s chocolate bar as the base. General Foods, which owned Baker’s at the time, distributed the recipe nationally, and sales of German’s Sweet Chocolate reportedly skyrocketed by over 70 percent within a year.
Over time the possessive apostrophe was dropped in common usage, and “German’s Chocolate Cake” became “German Chocolate Cake,” leading many to assume a European origin that simply does not exist. The dessert is, in every meaningful sense, a proudly American creation.
What sets this cake apart from a standard chocolate cake is its signature filling. Traditional German Chocolate Cake features a gooey coconut pecan frosting made by cooking egg yolks, evaporated milk, sugar, and butter until thickened, then folding in toasted pecans and sweetened shredded coconut. That caramel-toned filling, layered between chocolate cake and finished with chocolate buttercream, is what defines the dessert.
Ingredients for German Chocolate Cake

This recipe has three components: the chocolate cake layers, the coconut pecan filling, and the chocolate buttercream frosting. Measure everything before you start so assembly goes smoothly.
- Chocolate Cake:
- 1 ¾ cups (215 g) all-purpose flour
- 1 cup (200 g) light brown sugar, firmly packed
- 1 cup (200 g) granulated sugar
- ¾ cup (75 g) natural cocoa powder
- 1 ½ teaspoons instant coffee
- 1 ½ teaspoons baking soda
- ¾ teaspoon salt
- ½ cup (120 ml) neutral cooking oil (e.g., avocado, canola, or vegetable oil)
- ½ cup (113 g) unsalted butter, melted
- 2 large eggs, room temperature preferred
- 1 large egg yolk, room temperature preferred
- 1 ½ teaspoons vanilla extract
- 1 cup (236 ml) buttermilk
- ½ cup (120 ml) very hot or boiling water
- Coconut Caramel Filling:
- 4 large egg yolks
- 1 cup (236 ml) evaporated milk
- 8 Tablespoons unsalted butter, cut into 8 pieces
- ½ cup (100 g) granulated sugar
- ½ cup (100 g) light brown sugar, firmly packed
- ¼ teaspoon salt
- 1 teaspoon vanilla extract
- 1 cup (125 g) chopped pecans, preferably toasted
- 2 cups (160 g) sweetened shredded coconut
- Chocolate Frosting:
- 1 cup (226 g) salted butter, softened
- 3 ½ cups (440 g) powdered sugar
- ½ cup (50 g) natural cocoa powder
- 1 teaspoon vanilla extract
- 2 Tablespoons evaporated milk
Step-by-Step Instructions
Making this cake from scratch happens in four stages: bake the chocolate cake layers, cook the coconut pecan filling, whip up the chocolate buttercream, then assemble. I recommend preparing the filling while the cake bakes so nothing sits idle.
- Prepare the Chocolate Cake:
- Preheat oven to 350°F (175°C). Lightly grease and flour two 9″ round cake pans. Line the bottoms with parchment paper for easy removal.
- In a large bowl, combine flour, sugars, cocoa powder, instant coffee, baking soda, and salt. Mix until well-combined.
- Add oil and melted butter, stirring until the mixture is thick. Then, mix in eggs, egg yolk, and vanilla extract.
- Gradually add buttermilk, stirring until fully incorporated. Slowly pour in hot water, mixing carefully to avoid splashing. Scrape the sides of the bowl to ensure even mixing.
- Divide the batter evenly between the prepared pans. Bake for 25–30 minutes, or until a toothpick inserted in the center comes out clean or with a few moist crumbs.
- Let the cakes cool in pans for 15 minutes, then invert onto a cooling rack to cool completely before assembling.
- Make the Coconut Caramel Filling:
- In a medium saucepan, whisk egg yolks and evaporated milk until the eggs are lightly beaten.
- Add butter, sugars, and salt. Cook over medium/low heat, stirring constantly, until the mixture thickens and turns a light golden brown (about 10 minutes).
- Remove from heat and stir in vanilla extract, pecans, and shredded coconut. Let the filling cool completely before using.
- Prepare the Chocolate Frosting:
- In a large bowl, beat softened butter until creamy. Gradually add powdered sugar and cocoa powder, mixing until smooth.
- Stir in vanilla extract and evaporated milk until the frosting is creamy and spreadable.
- Assemble the Cake:
- Place one cake layer on a serving tray. Use the chocolate frosting to pipe or spread a border around the edge. Fill the center with half of the coconut caramel filling.
- Top with the second cake layer. Frost the top and sides of the cake with the remaining chocolate frosting.
- Finish by spreading the remaining coconut caramel filling on top of the cake.
- Slice, serve, and enjoy your delicious German Chocolate Cake!
Pro Tips for Success
Small details make the difference between a good cake and a great one. These tips come from repeated testing and address the most common questions bakers run into with this recipe.
Use Natural Cocoa, Not Dutch-Process
This recipe relies on natural cocoa powder, which is acidic and reacts with the baking soda to give the cake its lift. Dutch-process cocoa has been treated with an alkali that neutralizes that acidity, so swapping it in can leave your cake flat and dense. If you only have Dutch-process on hand, replace the baking soda with an equal amount of baking powder to restore some leavening power.
Bring Ingredients to Room Temperature
Cold eggs and chilled buttermilk can cause the melted butter to seize when they hit the bowl, leaving you with a lumpy batter that bakes unevenly. Pull the eggs and buttermilk out about 30 minutes before you start. Room-temperature ingredients emulsify smoothly, producing a tender, even crumb.
Toast the Pecans
Toasting pecans before folding them into the filling deepens their flavor and adds a satisfying crunch that raw pecans lack. Spread the chopped nuts on a baking sheet and toast at 350°F for 5 to 7 minutes, stirring once, until fragrant. Let them cool completely so they do not melt the filling.
Cook the Egg Yolks to 160°F
Because the coconut pecan filling uses four egg yolks, food safety matters. Cook the yolk-and-milk mixture over medium-low heat, stirring constantly, until it reaches 160°F (71°C) on a candy or instant-read thermometer. At that temperature the yolks are fully safe to eat and the mixture will be thick enough to coat the back of a spoon. Avoid rushing with high heat, which can scramble the eggs.
Don’t Skip the Instant Coffee
The small amount of instant coffee in the dry ingredients does not make the cake taste like coffee. Instead, it amplifies the chocolate flavor the way espresso does in a mocha. If you do not keep instant coffee on hand, espresso powder works equally well.
Cool Completely Before Assembly
Warm cake layers will melt the buttercream and cause the coconut filling to slide right off. Let the cakes cool to room temperature on a wire rack, and make sure the filling has cooled and thickened before spreading. If you are short on time, chill the layers in the refrigerator for 20 minutes to firm them up.
If you find yourself with leftover egg whites after making the filling, save them for meringues, macarons, or an egg-white omelet. Four yolks leave four whites behind, which is plenty for a small batch of meringue cookies.
High-altitude bakers should add 3 tablespoons of extra flour and reduce the baking soda by ¼ teaspoon to prevent the cake from rising too quickly and then sinking. Check doneness a few minutes early at elevations above 3,500 feet.
Keep It Fresh: Storage Tips
Make-Ahead Instructions
One of the best things about this German Chocolate Cake Recipe is how well every component holds up in advance. You can bake the cake layers up to two days ahead, wrap each one tightly in plastic wrap, and keep them at room temperature. For longer make-ahead windows, wrap the cooled layers in plastic and then foil and refrigerate for up to four days or freeze for up to a month.
The coconut pecan filling can be made up to a week ahead. Store it in an airtight container in the refrigerator and bring it to room temperature before spreading so it softens to a workable consistency. The chocolate buttercream keeps in the fridge for two to three weeks in a sealed container. Re-whip it briefly with a mixer before using to restore its creamy texture.
How to Store the Assembled Cake
Once assembled, the cake keeps at room temperature in an airtight container or under a cake dome for up to two days. Because the filling contains egg yolks and dairy, any storage beyond two days should happen in the refrigerator, where the cake will last up to five days. Always let refrigerated slices sit at room temperature for about 30 minutes before serving so the buttercream softens and the cake regains its tender texture.
Freezing Instructions
Freezing works beautifully for both whole cakes and individual slices. To freeze unfrosted cake layers, wrap each one in two layers of plastic wrap and one layer of foil, then freeze for up to three months. Thaw them overnight in the refrigerator, still wrapped, so condensation stays on the outside rather than soaking the cake.
For assembled slices, place a piece of plastic wrap directly against the cut surface, then wrap the entire slice tightly in another layer of plastic. Freeze slices in a single layer on a baking sheet before transferring to a freezer bag for up to three months. Thaw individual servings in the refrigerator overnight, or enjoy them slightly frozen for an ice-cream-cake-like treat.
Got leftover cake scraps or extra layers? Turn them into Chocolate Cake Pops for a fun second dessert that uses every crumb.
Recipe Variations to Try
One of the reasons this German Chocolate Cake Recipe is a keeper is how flexible it is. Whether you need to feed a crowd, accommodate a dietary restriction, or scale down for a smaller gathering, the base recipe adapts well with a few adjustments.
Three-Layer Cake
For a taller, more dramatic presentation, split the batter among three 8-inch round pans instead of two 9-inch pans. Reduce the baking time to about 20 to 24 minutes and check early with a toothpick. You will need 1.5 times the coconut filling to have enough between three layers, so scale the filling ingredients up by half.
9×13 Sheet Cake
Pour the batter into a greased 9×13-inch baking pan and bake for 30 to 35 minutes. This is the easiest option for potlucks and bake sales since there is no layering or fussy assembly. Spread the coconut filling in an even layer over the cooled cake, then pipe or spread the chocolate buttercream on top. If you love the sheet-cake format, our White Texas Sheet Cake Recipe is another crowd-pleaser worth bookmarking.
Cupcakes
Line a muffin tin with paper liners and fill each cup about two-thirds full with batter. Bake at 350°F for 18 to 22 minutes. This recipe yields roughly 24 German chocolate cupcakes. Pipe a ring of chocolate buttercream around the edge of each cupcake and spoon the coconut filling into the center for a single-serve version of the classic layer cake.
Six-Inch Layer Cake
To make a smaller cake for an intimate celebration, halve the entire recipe and divide the batter between two 6-inch pans. Bake for 22 to 26 minutes and halve the filling and frosting as well. This scaled-down version is perfect for a birthday dinner for two to four people and still looks impressive.
Gluten-Free Version
Swap the all-purpose flour for a 1-to-1 gluten-free baking blend that includes xanthan gum. King Arthur’s Measure for Measure flour works reliably in this recipe based on reader feedback. Keep everything else the same, and check the cake a couple of minutes early since gluten-free batters sometimes bake faster.
Nut-Free Option
If pecans are off the table due to an allergy, simply omit them and add an extra half cup of sweetened shredded coconut to maintain the texture. The filling will still be rich and chewy, just without the crunch. This is a great option for school parties and family gatherings where nut allergies are a concern.
Naked Cake Style
For a rustic, semi-bare look popular at weddings and showers, skip frosting the sides entirely. Apply only a very thin crumb coat or leave the sides completely exposed so the chocolate cake layers peek through between bands of filling. Dust the top with toasted coconut for a finished but understated presentation.
Frosting Swaps
While the chocolate buttercream in this recipe pairs beautifully with the coconut filling, you can mix things up. For a tangier profile, try our Chocolate Cream Cheese Frosting on the sides, or use a classic Perfect Chocolate Frosting for a sweeter, fluffier finish.
Perfect Pairings: Serving Suggestions
German Chocolate Cake is a showstopper on its own, but the right accompaniment can round out the experience. A scoop of vanilla bean ice cream alongside a warm slice creates a classic contrast of cold creaminess and gooey filling. For a lighter touch, a dollop of lightly sweetened whipped cream adds richness without competing with the cake’s flavor.
Coffee lovers will appreciate this cake with a shot of espresso or a milky latte, both of which echo the instant coffee already in the batter. If you want to lean into the caramel notes of the coconut filling, drizzle a little warm caramel sauce over each slice just before serving. The cake also pairs beautifully with a glass of port or a dessert wine like Moscato d’Asti for a special occasion.
Equipment Essentials
A stand mixer or electric hand mixer makes quick work of the buttercream, though you can mix the cake batter by hand. Two 9-inch round cake pans and parchment paper rounds ensure clean release and even layers. A silicone spatula is invaluable for scraping every bit of batter and filling, and a wire cooling rack is essential for proper airflow as the cakes cool. For smoother frosting, a cake turntable and an offset icing spatula help you achieve clean, even sides.
Frequently Asked Questions
What’s the difference between a chocolate cake and a German chocolate cake?
A regular chocolate cake is typically layered with chocolate frosting or buttercream between the layers. German Chocolate Cake is defined by its signature coconut pecan filling made from egg yolks, evaporated milk, sugar, butter, toasted pecans, and sweetened shredded coconut. The cake itself is chocolate, but the filling is what makes it uniquely German chocolate.
Why is it called German chocolate cake if it isn’t from Germany?
The cake is named after Samuel German, an English-American baker who created a type of dark sweet baking chocolate for the Baker’s Chocolate Company in 1852. The cake recipe was first published in The Dallas Morning News in 1957 using that chocolate, and over time the possessive ‘German’s’ was shortened to ‘German,’ leading people to assume a connection to the country of Germany that doesn’t actually exist.
What nationality was Samuel German?
Samuel German was English. He worked as a baker for the Baker’s Chocolate Company in the United States when he developed the sweet baking chocolate in 1852 that would eventually give German Chocolate Cake its name.
What is the filling of a German chocolate cake?
The filling is a cooked coconut pecan frosting made from egg yolks, evaporated milk, butter, granulated and brown sugar, vanilla extract, toasted chopped pecans, and sweetened shredded coconut. It is simmered on the stovetop until thickened and caramel-like in color and flavor.
Can I use a cake mix for German chocolate cake?
Yes, you can use a German chocolate or devil’s food cake mix as a shortcut for the cake layers. However, the from-scratch coconut pecan filling is what defines the dessert, so it’s worth making that homemade even if you use a mix for the cake. You can also substitute buttermilk for the water called for on the box to improve the texture.
How do you make German chocolate cake from scratch?
Start by baking chocolate cake layers made with natural cocoa powder, buttermilk, and hot water for a moist crumb. While the cake bakes, cook the coconut pecan filling on the stovetop from egg yolks, evaporated milk, butter, sugar, pecans, and coconut. Whip up a chocolate buttercream, then layer everything together. Full step-by-step instructions are in the recipe card above.
What does German chocolate cake taste like?
German Chocolate Cake tastes like a rich, moist chocolate cake layered with a sweet, caramel-like coconut pecan filling. The filling has a gooey, chewy texture from the coconut and a buttery, brown-sugar flavor complemented by the crunch of toasted pecans. The chocolate buttercream on the outside ties everything together with a smooth, cocoa-forward finish.
How long does German chocolate cake last?
The assembled cake keeps at room temperature in an airtight container for up to 2 days and in the refrigerator for up to 5 days. Individual slices wrapped tightly in plastic wrap can be frozen for up to 3 months. Always let refrigerated or thawed cake sit at room temperature for about 30 minutes before serving for the best texture.
Wrapping Up
This German Chocolate Cake Recipe delivers everything the classic dessert promises: moist chocolate layers, gooey coconut pecan filling, and smooth chocolate buttercream in every bite. With the history, pro tips, storage guidance, and variations covered above, you have everything you need to bake it with confidence for any occasion. For more layer-cake inspiration, browse our Key Lime Cake Recipe or keep this one in regular rotation for birthdays, holidays, and family gatherings.

German Chocolate Cake
Ingredients
Method
- Preheat oven to 350F (175C) and prepare two 9″ round cake pans by lightly greasing and flouring I also recommend lining the bottom of each pan with a round of parchment paper. Set aside.
- Combine flour, sugars, cocoa powder, instant coffee, baking soda, and salt in a large bowl (or in the bowl of a stand mixer) and use an electric mixer to stir until well-combined.
- Add oil and melted butter and stir well (mixture will be very thick), then stir in eggs, egg yolk, and vanilla extract.
- Gradually add buttermilk, stirring until completely combined.
- Slowly add hot water (be careful not to splash yourself!), stirring until ingredients are well-combined. Pause occasionally to scrape down the sides and bottom of the bowl with a spatula to ensure all ingredients are thoroughly combined.
- Evenly divide batter into prepared pans. Transfer to oven and bake on 350F (175C) for 25-30 minutes and a toothpick inserted in the center comes out clean or with a few moist crumbs. Allow cakes to cool for 15 minutes before inverting onto cooling rack to cool completely before filling and frosting.
- Once your cake is in the oven, begin preparing your coconut/caramel German Chocolate Cake Filling. In a medium-sized saucepan, combine egg yolks and evaporated milk and whisk until eggs are lightly beaten.
- Add butter, sugars, and salt and place saucepan over medium/low heat (keep heat low so you do not cook your eggs!). Stir constantly until mixture is a light golden brown and thickened (about 10 minutes). Remove from heat and stir in vanilla extract, chopped pecans, and shredded coconut.
- Allow to cool completely before spreading over cake.
- In the bowl of a stand mixer OR in a large bowl using an electric mixer, beat butter until creamy. Gradually add powdered sugar and cocoa powder until completely combined. Stir in vanilla extract and milk.
- Once your cake layers have cooled and your coconut/caramel filling is no longer warm to the touch, you can assemble your German Chocolate Cake!
- Place one cake round on serving tray or cake platter. Use your chocolate frosting to spread or pipe a border around the edge of the cake. Fill the border with half of your coconut/caramel filling.
- Top with second cake round. Frost top and sides of entire cake with remaining chocolate frosting.
- Top off cake with remaining half of coconut/caramel frosting.
- Slice, serve, and enjoy!