Desserts
This amazing German chocolate cake recipe delivers all the rich, fudgy layers and nutty swirls you crave—no shortcuts, just pure indulgence. 💛 The secret?
A moist chocolate cake base that gets its signature depth from cocoa powder, then gets swirled with a decadent peanut butter fudge filling that melts into every bite. I've been perfecting this version for years, and it never fails to disappear faster than you can say "second slice."
The magic happens in the layers: tender cake infused with warm spices, then cut and filled with that gooey peanut butter fudge that's almost like eating a cookie.
Topped with a velvety coconut-pecan frosting, this cake tastes like a hug from a German bakery—creamy, nutty, and just sweet enough to satisfy any chocolate craving. The best part? It bakes in one 9x13-inch pan, so no fussing with multiple layers or tricky assembly.
By the time you're done, you'll have a cake so rich and flavorful that even the most skeptical dessert lovers will ask for the recipe. The cake stays moist for days, the fudge filling doesn't dry out, and that coconut-pecan frosting adds a perfect textural contrast.
It's the kind of dessert that makes you feel like you're celebrating something special—even on an ordinary Tuesday.
Serve it with a dollop of whipped cream or a sprinkle of toasted pecans for extra crunch. This recipe is your new go-to for birthdays, holidays, or whenever you need a little taste of heaven in cake form. Let's get baking!
Ingredients for amazing german chocolate cake
The secret to this decadent cake lies in its layers—moist chocolate cake, gooey peanut butter fudge, and creamy coconut-pecan frosting.
| Ingredient | Amount | Notes |
|---|---|---|
| All-Purpose Flour 🌾 | 2 ½ cups | Sifted for light texture |
| Unsweetened Cocoa Powder 🍫 | ¾ cup | Natural or Dutch-processed |
| Granulated Sugar 🍚 | 2 cups | White or light brown |
| Packed Brown Sugar 🍯 | 1 cup | Light or dark preferred |
| Baking Soda 🧂 | 1 ½ tsp | Freshly opened |
| Salt 🧂 | ½ tsp | Fine sea salt |
| Instant Espresso Powder ☕ | 1 tbsp | For deep chocolate flavor |
| Vanilla Extract 🌸 | 2 tsp | Pure alcohol-free preferred |
| Large Eggs 🥚 | 2 whole | Room temperature |
| Milk 🥛 | 1 cup | Whole milk for richness |
| Vegetable Oil 🫒 | ½ cup | Light or canola oil |
| Peanut Butter 🥜 | 1 cup | Creamy, natural style |
| Packed Brown Sugar 🍯 | 1 cup | For filling (same as above) |
| Unsweetened Cocoa Powder 🍫 | ¼ cup | For filling |
| Instant Espresso Powder ☕ | 1 tsp | For filling |
| Vanilla Extract 🌸 | 1 tsp | For filling |
| Heavy Cream 🧈 | 1 cup | Cold for frosting |
| Powdered Sugar 🍚 | 3 cups | For frosting |
| Shredded Coconut 🥥 | 1 cup | Sweetened or unsweetened |
| Chopped Pecans 🌰 | 1 cup | Toasted for crunch |
| Butter 🧈 | ½ cup | Unsalted, softened |
The cocoa powder is non-negotiable for that authentic German chocolate flavor. Hershey's Special Dark or Dutch-processed from the baking aisle works perfectly. For the peanut butter, Jif Natural or Skippy Creamy are my go-tos—they blend smoothly without graininess. The brown sugar should be packed firmly, not scooped loosely. I always grab Domino brand from the grocery store; it's reliable and affordable. Toast your pecans in a dry pan for 3-4 minutes until fragrant—they add so much more depth than store-bought toasted nuts. The butter should be softened but not melted, so take it out of the fridge about 30 minutes before you start.
No instant espresso powder? Strong brewed coffee cooled works in a pinch—just use the same amount. For the filling, if you don't have extra cocoa powder, melted dark chocolate chips (about 0.5 cup) will do. The frosting can be made ahead and stored in the fridge for up to 3 days—just rewhip before using. Swap the shredded coconut for toasted coconut flakes if you prefer extra crunch. The cake layers should be cooled completely before filling, or the peanut butter will melt into them too soon. For a lighter texture, sift your flour and cocoa powder together before mixing.
This cake keeps beautifully for 5 days at room temperature, covered tightly, or 2 weeks in the fridge. The frosting can be made 2 days ahead and stored separately. For serving, I like to dust the top with a little extra powdered sugar and a sprinkle of toasted pecans right before cutting. The cake actually tastes better the next day as the flavors meld together. Store any leftovers in an airtight container with parchment paper between layers to prevent drying out. Freezing isn't recommended as the frosting may separate.
Why You'll Love This Recipe
- No Mixer Needed: I swear by this recipe when my mixer’s on the fritz—just stir the cocoa powder into the flour first, then fold in the melted butter and eggs. The brown sugar and granulated sugar blend so smoothly, you’ll barely need to lift a finger beyond scraping the bowl once.
- Rich Without the Fuss: That first bite? Pure chocolate bliss with just the right caramel undertone from the brown sugar. The cocoa powder gives it depth, but it’s not bitter—it’s the kind of cake that makes you close your eyes and take a second slice.
- Party or Pajamas: Honestly, this cake works for everything. Bring it to a potluck and no one will guess it’s one-bowl (the frosting’s foolproof too). Or bake it on a lazy Sunday and eat it straight from the pan with a spoon—no judgment here.
- Leftovers? More Like Leftovers: Between us, this cake keeps well for days, and the flavor actually improves after a night in the fridge. The crust stays moist, the chocolate stays rich, and the cost per serving? A steal with just those pantry staples doing all the heavy lifting.
Step-by-step instructions for German chocolate cake magic
Here's how to create that legendary peanut butter fudge swirl—layer by layer.
👨🍳 Step 1: Whisk Dry Ingredients for Perfect Texture
In a large bowl, sift together the 2.5 cups all-purpose flour, 0.75 cup unsweetened cocoa powder, 2 cups granulated sugar, 1 cup packed brown sugar, 1.5 teaspoons baking soda, and 0.5 teaspoon salt. I like to use a whisk here to break up any cocoa lumps completely—this ensures a smooth batter without gritty spots.
Next, stir in the 1 tablespoon instant espresso powder and 2 teaspoons vanilla extract. The espresso powder might seem odd, but it deepens the chocolate flavor beautifully. Mix everything until just combined—don't overdo it or you'll develop gluten and end up with tough cake layers.
🍳 Step 2: Combine Wet Ingredients for Rich Moisture
In a separate large bowl, beat the 2 whole large eggs and 1 cup milk together until smooth. Then add the 0.5 cup vegetable oil and mix again until fully incorporated. The oil keeps this cake wonderfully moist without making it dense.
Gradually pour the wet ingredients into the dry ingredients while mixing on low speed with an electric mixer. Scrape down the sides of the bowl as needed to ensure even distribution. The batter should be thick but pourable—if it looks too stiff, add 1-2 tablespoons milk to loosen it slightly.
🥘 Step 3: Make the Peanut Butter Fudge Filling
While the cake batter rests, prepare the filling by combining 1 cup peanut butter, 1 cup packed brown sugar, 0.25 cup unsweetened cocoa powder, 1 teaspoon instant espresso powder, and 1 teaspoon vanilla extract in a medium bowl. Mix until completely smooth—this is your signature German chocolate flavor.
In a small saucepan, heat the 1 cup heavy cream over medium heat until it just begins to simmer. Pour the hot cream into the peanut butter mixture while stirring continuously. The heat helps emulsify everything beautifully, creating that rich, gooey fudge texture we all love. Let this cool slightly while you prepare the cake layers.
🔥 Step 4: Bake Two Perfect Cake Layers
Preheat your oven to 350°F and grease two 9-inch round cake pans, lining the bottoms with parchment paper. Divide the cake batter evenly between the pans—you should have about 2 cups batter per pan. Bake for 25-30 minutes until a toothpick inserted in the center comes out clean.
Here's the thing—don't overbake! The cakes should be just set in the middle but still slightly springy to the touch. Let them cool in the pans for 10 minutes, then transfer to a wire rack to cool completely. This cooling step is crucial before assembling—it prevents the filling from melting too quickly and creating a soggy cake.
🥘 Step 5: Assemble with Fudge Swirl and Frosting
Once both layers are completely cool, place one layer on a serving plate. Spread about ½ cup of the peanut butter fudge mixture evenly over the top layer, leaving a ½-inch border uncovered. This creates that classic swirl effect when you add the second layer.
Place the second cake layer on top, then spread the remaining ½ cup fudge mixture over the entire top and sides. For the frosting, beat the 0.5 cup softened butter with 3 cups powdered sugar until smooth, then gradually add the 1 cup heavy cream while mixing. Frost the entire cake, then sprinkle with 1 cup shredded coconut and 1 cup chopped pecans while the frosting is still wet for that perfect crunchy texture.
Pro Tips For Making Amazing German Chocolate Cake
- Sift the Cocoa: Mixing cocoa powder directly into wet ingredients creates clumps that ruin the texture. Sift it with the flour first—even if the recipe doesn’t say to—so the batter stays smooth and the cake rises evenly.
- Weigh the Brown Sugar: Packed brown sugar is a pain, but don’t eyeball it. Spoon it into the cup, press it down firmly, then level it off—any less and your cake’s moisture balance will be off. (Yes, even if you’re impatient like me.)
- Check for Doneness Early: German chocolate cake’s dark color fools you—it’s done when the edges pull away and the center springs back slowly when pressed. If you wait for the toothpick test, you’ll end up with a dry cake. Start checking at 25 minutes.
- Upgrade the Frosting: Skip the store-bought chocolate glaze—it’s too thin and lacks depth. Melt 8 oz of semi-sweet chocolate with ½ cup heavy cream, then whisk in 1 cup powdered sugar. It’s richer, smoother, and takes 10 minutes. Worth it.
Creative variations of this dish
Classic German Twist
For an authentic German touch, swap the peanut butter filling for a dark chocolate ganache made with 1 cup heavy cream and 8 oz dark chocolate (melted together). Add 1 tsp cinnamon and ½ tsp cardamom to the frosting for warmth—this variation is inspired by traditional German Schokoladenkuchen.
The spices complement the chocolate beautifully while keeping the coconut-pecan topping intact. 🌟
Nut-Free Option
Skip the pecans and coconut entirely, then replace them with toasted hazelnuts or crushed graham crackers for texture. For the filling, use sunflower seed butter instead of peanut butter—it has a similar texture and works perfectly with the chocolate flavors.
This version keeps the same rich taste while being nut-free for dietary needs. I've tested this with Joyful Joy brand sunflower seed butter and was surprised by how well it mimics peanut butter!
White Chocolate Swirl
Replace the cocoa powder in the filling with ½ cup white chocolate chips (melted) and reduce the brown sugar to ½ cup. This creates a sweeter, creamier swirl that pairs perfectly with the chocolate cake.
For extra decadence, fold ¼ cup crushed pretzels into the frosting before adding the coconut—it adds a salty contrast that balances the sweetness. This variation is a crowd-pleaser at holiday gatherings!
Espresso-Infused Frosting
Boost the frosting by adding 1 tbsp instant espresso powder to the powdered sugar mixture before whipping. The coffee flavor deepens the chocolate notes and gives the frosting a sophisticated edge. For visual appeal, dust the top with powdered sugar and arrange pecan halves in a circular pattern.
This technique makes the cake look like it came from a high-end bakery while keeping all the homemade charm. 💫
Seasonal Citrus Twist
Brighten up the cake for spring or summer by adding 1 tbsp orange zest to the cake batter and 2 tbsp orange liqueur (like Cointreau) to the frosting. The citrus cuts through the richness while adding a refreshing note.
For a tropical vibe, swap the coconut for toasted coconut flakes and add ½ cup dried cranberries to the frosting. This variation works especially well when served with a dollop of orange sherbet on the side.
Mini Cake Jars
For a fun presentation, bake the cake in 6 individual 6-inch round pans instead of two large layers. After assembling, place each mini cake in a mason jar and top with extra coconut and pecans. These make perfect individual desserts for parties or office celebrations.
The portions are manageable, and the jars add a rustic, charming touch. I've used Ball brand mason jars for this and they hold up beautifully under the weight of the cake.
Nutrition facts
Frequently asked questions
Why does German chocolate cake have peanut butter in it?
The peanut butter filling is what makes this cake uniquely "German"—though it's actually American! The recipe was created by Samuel German (hence the name) for the Baker's Chocolate company in 1957. The peanut butter adds a creamy, nutty contrast to the rich chocolate that became iconic. Without it, you'd just have a regular chocolate cake!
Can I make this cake in a 9x13-inch pan instead of two layers?
This recipe is designed to work perfectly in a single 9x13-inch pan for a sheet cake. Bake the cake layer first (about 35-40 minutes at 350°F), then let it cool completely. Spread the peanut butter filling evenly over the top, then cover with the coconut-pecan frosting. The texture will be slightly different but just as delicious!
How do I keep the cake moist for more than a day?
Store it in an airtight container with parchment paper between layers to prevent drying. For extra moisture, brush the top with a simple syrup (equal parts sugar and water, heated until dissolved) before serving. The cake actually tastes better the next day as the flavors meld together—just avoid refrigerating it longer than 2 days.
What's the best way to make the frosting extra creamy?
Chill your mixing bowl and beaters for 10 minutes before whipping the frosting. Use cold heavy cream and make sure your butter is softened but not melted. Beat the butter and powdered sugar together first until light and fluffy—this creates the perfect base for incorporating the cream smoothly.
Can I substitute almond butter for peanut butter?
Yes, but the texture will be slightly different. Almond butter is thinner, so you may need to reduce the cream in the filling by 1-2 tablespoons to maintain the right consistency. The flavor will be more delicate and slightly less rich than peanut butter. For best results, use smooth almond butter without added oils or sugars.
