Desserts

German Chocolate Cake Recipe – Moist and Rich Cake

German Chocolate Cake is a classic American dessert known for its rich chocolate layers and sweet, buttery coconut-pecan frosting. Unlike a traditional chocolate cake covered entirely in chocolate icing, this cake has a distinctive filling made with shredded coconut, chopped pecans, brown sugar, and evaporated milk. The result is a delicious combination of deep chocolate flavor, nutty crunch, and creamy caramel-like sweetness.

Print

German Chocolate Cake Recipe – Moist and Rich Cake

This German Chocolate Cake features moist chocolate layers, creamy coconut-pecan frosting, and smooth chocolate buttercream. A classic homemade dessert for any celebration!

  • Author: clare recipe

Ingredients

Scale

For the Chocolate Cake

  • 2 cups all-purpose flour
  • 2 cups granulated sugar
  • ¾ cup unsweetened cocoa powder
  • 2 teaspoons baking powder
  • 1 ½ teaspoons baking soda
  • 1 teaspoon salt
  • 2 large eggs
  • 1 cup whole milk
  • ½ cup vegetable oil
  • 2 teaspoons vanilla extract
  • 1 cup hot water

For the Coconut Pecan Frosting

  • 1 cup evaporated milk
  • 1 cup granulated sugar
  • 3 large egg yolks
  • ½ cup unsalted butter
  • 1 teaspoon vanilla extract
  • 1 ½ cups sweetened shredded coconut
  • 1 cup chopped pecans
  • ¼ teaspoon salt

For the Chocolate Buttercream

  • ½ cup unsalted butter, softened
  • ¼ cup unsweetened cocoa powder
  • 2 cups powdered sugar
  • 2 tablespoons milk
  • 1 teaspoon vanilla extract
  • Pinch of salt

For Decorating

  • ½ cup chopped pecans
  • ½ cup sweetened shredded coconut
  • Chocolate shavings (optional)

Instructions

Prepare the Chocolate Cake Batter

  • Preheat the oven to 350°F (175°C). Grease and line three 8-inch round cake pans with parchment paper.
  • In a large bowl, whisk together the flour, sugar, cocoa powder, baking powder, baking soda, and salt.
  • Add the eggs, milk, vegetable oil, and vanilla extract.
  • Beat with an electric mixer on medium speed until smooth.
  • Slowly pour in the hot water and mix until combined. The batter will be thin.

Bake the Cake Layers

  • Divide the batter evenly among the prepared cake pans.
  • Bake for 25–30 minutes, or until a toothpick inserted into the center comes out clean or with a few moist crumbs.
  • Let the cakes cool in the pans for 10 minutes.
  • Transfer to wire racks and allow them to cool completely before assembling.

Make the Coconut Pecan Frosting

  • In a medium saucepan, whisk together the evaporated milk, sugar, egg yolks, butter, and salt.
  • Cook over medium-low heat, stirring constantly, for 10–12 minutes until thickened and creamy.
  • Remove from the heat and stir in the vanilla extract.
  • Fold in the shredded coconut and chopped pecans.
  • Transfer the frosting to a bowl and let it cool completely until thick enough to spread.

Prepare the Chocolate Buttercream

  • Beat the softened butter in a mixing bowl until creamy.
  • Add the cocoa powder, powdered sugar, milk, vanilla extract, and salt.
  • Beat on low speed until combined, then increase the speed and mix until fluffy.
  • Add a little extra milk if needed to achieve a smooth, spreadable consistency.

Assemble the Cake

  • Place one cooled cake layer on a serving plate.
  • Spread half of the coconut pecan frosting evenly over the top.
  • Add the second cake layer and spread the remaining coconut pecan frosting over it.
  • Place the third cake layer on top.
  • Spread the chocolate buttercream around the sides of the cake and smooth it with a spatula.

Decorate and Serve

  • Sprinkle chopped pecans and shredded coconut over the top.
  • Add chocolate shavings if desired.
  • Refrigerate the cake for 20–30 minutes to help the frosting set.
  • Let the cake sit at room temperature for 15–20 minutes before slicing and serving.

Did you make this recipe?

Share a photo and tag us — we can't wait to see what you've made!

What makes this cake so special is the contrast between its soft, moist chocolate layers and the thick coconut-pecan topping. The chocolate cake is tender and rich without being overly heavy, while the homemade frosting adds texture and sweetness to every bite. A little extra chocolate frosting around the sides brings everything together and gives the cake a beautiful finish.

Although German Chocolate Cake looks impressive enough for a special celebration, it can be made with simple baking ingredients and a little preparation. The cake layers can be baked ahead of time, and the coconut-pecan filling can be prepared separately before assembling everything into a beautiful layered dessert.

German Chocolate Cake is perfect for birthdays, holidays, family gatherings, and special occasions. Serve each slice with a cup of coffee or a glass of cold milk, and enjoy a homemade dessert that has remained a favorite among chocolate lovers for generations.

Ingredients for German Chocolate Cake

Yield: 12–14 servings · Prep Time: 30 minutes · Bake Time: 30–35 minutes

For the Chocolate Cake

  • 2 cups all-purpose flour

  • 2 cups granulated sugar

  • ¾ cup unsweetened cocoa powder

  • 2 teaspoons baking powder

  • 1½ teaspoons baking soda

  • 1 teaspoon salt

  • 2 large eggs, room temperature

  • 1 cup whole milk

  • ½ cup vegetable oil

  • 2 teaspoons vanilla extract

  • 1 cup hot brewed coffee or hot water

For the Coconut-Pecan Frosting

  • 1 cup evaporated milk

  • ¾ cup granulated sugar

  • ½ cup unsalted butter

  • 3 large egg yolks

  • 1 teaspoon vanilla extract

  • 1½ cups sweetened shredded coconut

  • 1 cup chopped pecans

  • ¼ teaspoon salt

For the Chocolate Buttercream

  • ½ cup unsalted butter, softened

  • ⅓ cup unsweetened cocoa powder

  • 2 cups powdered sugar

  • 3 tablespoons milk or heavy cream

  • 1 teaspoon vanilla extract

  • A pinch of salt

Ingredient Notes

  • Cocoa powder: Use unsweetened cocoa powder for a rich chocolate flavor. Natural cocoa works well in this recipe.

  • Hot coffee: Enhances the chocolate flavor without making the cake taste strongly of coffee. Hot water can be used instead.

  • Whole milk: Adds moisture and helps create a tender cake crumb.

  • Vegetable oil: Keeps the cake moist even after refrigeration.

  • Evaporated milk: Creates the creamy base of the traditional coconut-pecan frosting. Do not confuse it with sweetened condensed milk.

  • Egg yolks: Help thicken the frosting and give it a rich, custard-like texture.

  • Shredded coconut: Sweetened coconut gives the filling its classic sweetness and chewy texture.

  • Pecans: Add a buttery, nutty crunch that balances the chocolate layers.

  • Chocolate buttercream: Provides a smooth finish around the sides of the cake and complements the coconut-pecan topping.

How to Make German Chocolate Cake

Prepare the Cake Pans

Preheat your oven to 350°F (175°C). Grease three 8-inch round cake pans and line the bottoms with parchment paper. Lightly dust the sides with flour to prevent sticking.

Mix the Dry Ingredients

In a large mixing bowl, whisk together the flour, granulated sugar, cocoa powder, baking powder, baking soda, and salt. Make sure the cocoa is evenly distributed to avoid lumps in the batter.

Prepare the Cake Batter

Add the eggs, milk, vegetable oil, and vanilla extract to the dry ingredients. Beat with an electric mixer on medium speed until the batter is smooth and well combined.

Slowly pour in the hot coffee or hot water while mixing on low speed. The batter will become quite thin, which is normal and helps create a moist chocolate cake.

Bake the Chocolate Layers

Divide the batter evenly among the prepared cake pans. Bake for 30–35 minutes, or until a toothpick inserted into the center comes out with a few moist crumbs.

Let the cakes cool in their pans for about 10 minutes before carefully turning them out onto wire racks. Allow them to cool completely before frosting.

Make the Coconut-Pecan Frosting

In a medium saucepan, whisk together the evaporated milk, sugar, butter, egg yolks, and salt. Cook over medium-low heat, stirring constantly, until the mixture thickens enough to coat the back of a spoon, about 10–12 minutes. Avoid boiling the mixture too rapidly.

Remove the saucepan from the heat and stir in the vanilla extract, shredded coconut, and chopped pecans. Mix until everything is evenly coated. Transfer the frosting to a bowl and let it cool completely. It will become thicker as it cools.

Prepare the Chocolate Buttercream

Beat the softened butter in a bowl until creamy. Add the cocoa powder and mix until combined.

Gradually add the powdered sugar, alternating with the milk or heavy cream. Add the vanilla extract and salt, then beat until smooth and fluffy. If the frosting is too thick, add a little more milk; if it is too soft, add a little powdered sugar.

Assemble the Cake

Place one cooled chocolate cake layer on a serving plate. Spread half of the coconut-pecan frosting evenly over the top, leaving a small border around the edges.

Add the second cake layer and spread the remaining coconut-pecan frosting over it. Place the final cake layer on top.

Frost and Decorate

Use the chocolate buttercream to cover the sides of the cake. You can leave the coconut-pecan filling visible on top for the traditional look or add a few decorative chocolate swirls around the edges.

Refrigerate the cake for about 20–30 minutes to help it set before slicing. Let it sit at room temperature briefly before serving for the softest texture.

Serving, Storage, Variations, and FAQs

Serving Suggestions

German Chocolate Cake is rich and satisfying, so a simple presentation works beautifully. Let the cake sit at room temperature for about 20 minutes before serving to soften the frosting and bring out the chocolate flavor.

  • Vanilla ice cream: Serve each slice with a scoop of vanilla ice cream for a cool, creamy contrast.

  • Fresh berries: Add strawberries or raspberries to balance the sweetness.

  • Whipped cream: A small spoonful of lightly sweetened whipped cream makes each slice feel even more indulgent.

  • Coffee: Pair it with hot coffee or espresso for a lovely afternoon dessert.

  • Extra pecans: Sprinkle toasted chopped pecans over each slice for added crunch.

How to Store German Chocolate Cake

  • Refrigerator: Store the cake in an airtight cake container or cover it well with plastic wrap. Refrigerate for up to 4–5 days because the coconut-pecan frosting contains eggs and milk.

  • Before serving: Let refrigerated slices sit at room temperature for about 20 minutes for a softer texture.

  • Freezer: Freeze individual slices or whole cake layers without decoration. Wrap tightly and store for up to 2 months. Thaw overnight in the refrigerator.

  • Make ahead: Bake the chocolate layers a day ahead and keep them tightly wrapped. Prepare the coconut-pecan frosting separately, refrigerate it, and bring it to a spreadable consistency before assembling.

Variations and Substitutions

  • German Chocolate Cupcakes: Divide the batter into cupcake liners and bake for approximately 18–22 minutes. Once cooled, top each cupcake with coconut-pecan frosting.

  • Extra Chocolate Version: Add chocolate chips to the cake batter for pockets of melted chocolate in every slice.

  • Toasted Coconut: Lightly toast some of the shredded coconut before adding it to the frosting for a deeper flavor.

  • Walnut Variation: Replace the pecans with chopped walnuts if preferred.

  • Two-Layer Cake: Divide the batter between two 9-inch cake pans and adjust the baking time, checking for doneness with a toothpick.

  • Chocolate Ganache Finish: Replace the chocolate buttercream with a thin layer of chocolate ganache for a glossy finish.

Helpful Tips for the Best German Chocolate Cake

  • Use room-temperature eggs and milk so the batter mixes evenly.

  • Measure flour accurately; too much flour can make the cake dense.

  • Don’t worry if the batter looks thin after adding the hot coffee. This is normal.

  • Stir the coconut-pecan frosting constantly while cooking to prevent the egg yolks from scrambling or the mixture from sticking.

  • Allow the frosting to cool completely before assembling the cake so it doesn’t slide off the layers.

  • Make sure the cake layers are completely cool before adding any frosting.

  • Use a serrated knife to level the cake layers if they have domed tops.

  • Refrigerate the assembled cake briefly before slicing for neater portions.

Frequently Asked Questions

Why is it called German Chocolate Cake?

Despite the name, this cake is American rather than German. It was named after Samuel German, who developed a type of sweet baking chocolate used in the original recipe.

Can I make German Chocolate Cake without coffee?

Yes. Replace the hot coffee with hot water. Coffee simply enhances the chocolate flavor without making the cake taste like coffee.

Why is my coconut-pecan frosting runny?

The frosting may need more cooking time or additional cooling. Cook it gently until it thickens enough to coat the back of a spoon, then allow it to cool completely before spreading.

Can I make the cake a day ahead?

Absolutely! Bake the cake layers and prepare the frosting a day ahead. Store them separately in the refrigerator, then assemble the cake when you’re ready. You can also assemble the entire cake a day before serving and keep it refrigerated.

Can I use sweetened condensed milk instead of evaporated milk?

They are not interchangeable in this recipe. Sweetened condensed milk contains much more sugar and has a thicker consistency, which would change the sweetness and texture of the frosting.

How do I get clean slices?

Chill the cake until the frosting is firm, then use a sharp knife warmed under hot water and wiped dry between cuts.

Share this recipeFacebookPinterest

Discover more