Classic German Chocolate Cake (Moist, From-Scratch & Coconut-Pecan Frosted)

Moist German chocolate cake recipe with tender chocolate layers and a rich, homemade coconut-pecan frosting. Classic American cake perfect for birthdays, holidays, and special occasions.

About This Recipe

German chocolate cake is a showstopper: tender layers of light chocolate cake stacked with rich, caramel-like coconut-pecan frosting. Despite the name, it’s an American classic—named after Sam German, who developed the sweet baking chocolate used in the original recipe.

This version is:

  • Moist and soft, but sturdy enough to layer
  • Packed with real chocolate flavor
  • Topped with a thick, gooey coconut-pecan frosting
  • Perfect for birthdays, holidays, and any “wow” dessert moment

You’ll bake two chocolate cake layers, cook a stovetop coconut-pecan frosting, and stack everything into a gorgeous, old-fashioned cake.

Ingredients: What You’ll Need

For the German Chocolate Cake Layers

  • 115 g (4 oz) German’s sweet baking chocolate
    • Or semi-sweet chocolate if you can’t find German’s
  • ½ cup (120 ml) boiling water
  • 2¼ cups (280 g) cake flour
    • Or all-purpose flour, spooned and leveled
  • 1 tsp baking soda
  • ½ tsp fine sea salt
  • 1 cup (226 g) unsalted butter, softened
  • 2 cups (400 g) granulated sugar
  • 4 large eggs, separated, room temperature
  • 2 tsp vanilla extract
  • 1 cup (240 ml) buttermilk, room temperature

For the Coconut-Pecan Frosting

  • 1 cup (240 ml) evaporated milk
  • 1 cup (200 g) granulated sugar
  • 3 large egg yolks
  • ½ cup (113 g) unsalted butter, cut into pieces
  • 1 tsp vanilla extract
  • 1½ cups (130 g) sweetened shredded coconut
  • 1 cup (115 g) chopped pecans, toasted if possible

(Optional: extra pecan halves for decorating the top)

Instructions: Step-by-Step Preparation

1. Prep Pans & Oven

  1. Preheat oven to 180°C.
  2. Grease and flour two 23 cm (9-inch) round cake pans, or line bottoms with parchment and grease sides.

2. Melt the Chocolate

  1. Place the chocolate in a heatproof bowl.
  2. Pour boiling water over it and let it sit 1–2 minutes, then stir until smooth.
  3. Set aside to cool slightly.

3. Mix Dry Ingredients

  1. In a medium bowl, whisk together:
    • Cake flour
    • Baking soda
    • Salt
      Set aside.

4. Cream Butter & Sugar

  1. In a large bowl, beat softened butter and sugar until light and fluffy, about 3 minutes.
  2. Add egg yolks one at a time, beating well after each.
  3. Mix in vanilla and the melted chocolate until fully combined.

5. Add Dry Ingredients & Buttermilk

  1. With mixer on low, add the flour mixture in 3 additions, alternating with buttermilk in 2 additions (flour–buttermilk–flour–buttermilk–flour).
  2. Mix just until combined; don’t overmix.

6. Beat Egg Whites & Fold In

  1. In a clean bowl, beat egg whites to stiff peaks.
  2. Gently fold egg whites into the batter in 2–3 additions until no white streaks remain.
    • This keeps the cake light and tender.

7. Bake the Cakes

  1. Divide the batter evenly between the two pans and smooth the tops.
  2. Bake at 180°C for 25–32 minutes, or until:
    • A toothpick inserted in the center comes out clean or with a few moist crumbs
  3. Cool in pans for 10–15 minutes, then turn out onto wire racks and cool completely.

Make the Coconut-Pecan Frosting

  1. In a medium saucepan, whisk together:
    • Evaporated milk
    • Sugar
    • Egg yolks
  2. Add butter pieces and cook over medium heat, stirring constantly, until:
    • Mixture thickens and turns a light caramel color
    • It coats the back of a spoon (about 10–15 minutes)
  3. Remove from heat. Stir in:
    • Vanilla
    • Coconut
    • Chopped pecans
  4. Let frosting cool to room temperature; it will continue to thicken as it cools.

Assemble the German Chocolate Cake

  1. Place one cake layer on a serving plate or cake stand.
  2. Spread about half of the coconut-pecan frosting evenly over the top.
  3. Place the second cake layer on top.
  4. Spread the remaining frosting over the top of the cake.
  5. Traditionally, the sides are left bare; if desired, you can spread some frosting partly down the sides or leave them uncovered.
  6. Garnish the top with extra pecan halves or a sprinkle of coconut if you like.

Let the cake sit 20–30 minutes before slicing so the frosting can set a bit.

How to Store It

  • Room Temperature (Cool Room):
    • Cover loosely and store for 1–2 days.
  • Refrigerator:
    • Store covered for up to 4 days.
    • Bring to room temperature for 30–45 minutes before serving for the best texture.

Smart Ingredient Swaps

  • No German’s sweet chocolate:
    • Use semi-sweet chocolate and add 1–2 extra tablespoons of sugar to the batter.
  • No buttermilk:
    • Mix 1 cup milk with 1 Tbsp lemon juice or vinegar; let stand 5–10 minutes.
  • Nut-free version:
    • Replace pecans with extra coconut and add a pinch more salt to balance the sweetness.
  • Lighter frosting:
    • Use ¾ cup sugar instead of 1 cup; taste and adjust if needed.

How to Serve It

  • Slice into 10–12 wedges.
  • Serve with:
    • Coffee or espresso
    • A cold glass of milk
    • Vanilla or coconut ice cream for an extra-indulgent dessert

Fantastic for:

  • Birthdays
  • Easter and Christmas tables
  • Family celebrations and potlucks

Cultural Background & Personal Touches

German chocolate cake is an American invention, created in the 1950s using Baker’s German’s Sweet Chocolate, named after chocolatier Sam German. The signature twist vs. the regular chocolate cake is:

  • Lighter chocolate cake layers (not overly dark or bitter)
  • Caramel-coconut-pecan frosting that’s cooked on the stove

Personal touches in this recipe:

  • Beaten egg whites for a lighter, classic crumb
  • Toasting pecans for deeper flavor (if you have time)
  • A balanced sweetness—rich and indulgent but not cloying

Seasonal Variations

  • Holiday German Chocolate Cake:
    • Add a splash of bourbon or rum to the frosting after the heat.
  • Valentine’s / Anniversary:
    • Decorate the top with chocolate curls and extra toasted pecans.
  • Summer Twist:
    • Serve with fresh cherries or berries on the side to cut the richness.

Freezer-Friendly Version

  • Cake Layers:
    • Freeze unfrosted, wrapped tightly in plastic and foil, for up to 2 months.
    • Thaw wrapped at room temp, then frost.
  • Frosted Cake:
    • For the best texture, enjoy fresh or within a few days.
    • You can freeze individual slices well-wrapped for up to 1 month; thaw in the fridge, then bring to room temp.

Frequently Asked Questions

Why is my cake dense?

  • Likely overmixed batter or under-beaten/deflated egg whites. Fold whites gently and stop mixing when just combined.

Can I bake this in a 9×13 pan?

  • Yes. Pour all batter into a greased 9×13 pan and bake at 180°C for 30–35 minutes. Frost the top only.

Can I make the frosting ahead?

  • Yes. Make it up to 2 days ahead, store in the fridge, and bring to room temperature before spreading.

Do I need to refrigerate the cake?

  • It can sit at cool room temperature for 1–2 days. For longer storage or a warm kitchen, refrigerate.

Classic German Chocolate Cake (Moist, From-Scratch & Coconut-Pecan Frosted)

Difficulty:IntermediatePrep time: 30 minutesCook time: 40 minutesCooking Temp:100 CServings:4 servingsCalories:300 kcal Best Season:Available

Description

A classic German chocolate cake with moist, tender chocolate layers and a rich, caramel-like coconut-pecan frosting. This from-scratch recipe is perfect for birthdays, holidays, and any time you want a showstopping chocolate cake.

Ingredients

Instructions

  1. Preheat oven to 180°C. Grease and flour two 23 cm (9-inch) round cake pans or line bottoms with parchment.
  2. Pour boiling water over the chocolate in a bowl; let sit, then stir until smooth. Cool slightly.
  3. Whisk flour, baking soda, and salt in a bowl.
  4. Beat butter and sugar until light and fluffy. Beat in egg yolks one at a time, then add vanilla and melted chocolate.
  5. Add flour mixture in 3 parts, alternating with buttermilk in 2 parts, mixing just until combined.
  6. In a clean bowl, beat egg whites to stiff peaks. Gently fold into batter.
  7. Divide batter between pans and bake 25–32 minutes, until a toothpick comes out clean. Cool 10–15 minutes in pans, then turn onto racks to cool completely.
  8. For frosting, combine evaporated milk, sugar, egg yolks, and butter in a saucepan. Cook over medium heat, stirring constantly, until thickened and golden (10–15 minutes). Remove from heat; stir in vanilla, coconut, and pecans. Cool to room temperature.
  9. Place one cake layer on a serving plate and spread with half the frosting. Top with the second layer and spread the remaining frosting on top. Leave sides bare or partially frosted, as desired.
  10. Let it sit for 20–30 minutes before slicing.

Notes

  • Use semi-sweet chocolate if German’s sweet chocolate isn’t available; add 1–2 Tbsp extra sugar if desired.
    Don’t overmix once egg whites are added; gentle folding keeps the cake light.
    Toast pecans lightly for extra flavor before adding to the frosting.
    Cake layers can be made ahead and frozen; thaw and frost when ready to serve.