German Chocolate Cookies

Emily
By

When the chocolate cookies come out of the oven, the centers can look softer than you expect. I used to wait for them to look fully firm, then ended up with dry cookies once they cooled. For these German Chocolate Cookies, the edges should be set and the centers just dry; a short rest on the baking sheet finishes the job without baking away their soft texture.

The coconut-pecan topping is cooked separately, more like a quick custard than a frosting. Egg yolks thicken the evaporated milk and sugar, and the topping firms further as it cools. Give it time to become spreadable before it goes onto the cookies, and you’ll get a generous layer that stays put rather than running over the edges. The finished cookies have a tender cocoa base under a sweet, chewy coconut topping with pecans in every bite.

German Chocolate Cookies with coconut-pecan topping
“

Kitchen Note

Leave about 2 inches between the scoops on each pan. That little bit of breathing room keeps the cookies from baking into one another, so every edge stays neat when you spread on the topping.

Save these German Chocolate Cookies for a bake with tender cocoa cookies and a thick coconut-pecan topping.

Save to Pinterest

Why the Coconut-Pecan Topping Needs Time to Set

This topping isn’t a frosting that thickens just from mixing. It’s a cooked custard: the egg yolks give the evaporated milk body, while the sugar and butter make it rich enough to spread over the cocoa cookies. Cook it until it coats the back of a spoon, then let it cool until it holds its shape. If you try to judge its final thickness while it’s hot, it will seem looser than it will be once it settles.

That cooling time also helps the topping stay on the cookie instead of soaking into a warm surface. The cookies need to be completely cool before you add it, and the topping should be thick and spreadable rather than warm and pourable. You’ll get a defined layer with coconut and pecans throughout, not a puddle at the edges. It’s worth letting both parts reach the right texture before assembling.

What the Cocoa, Evaporated Milk, and Egg Yolks Each Bring

German Chocolate Cookies with coconut-pecan topping
  • Unsweetened cocoa powder — This gives the cookie its deep chocolate taste without adding sugar. A standard grocery-store cocoa works well; keep it unsweetened so the dough’s sugar stays in balance, and whisk it with the flour to break up lumps before mixing.
  • Unsalted butter — Softened butter creams with the sugar and helps the cookies bake up tender, while the portion stirred into the topping adds richness. Let the cookie portion soften until it yields when pressed but isn’t shiny or melted; an everyday butter is fine here.
  • Evaporated milk and egg yolks — Together they form the topping’s custard base. Evaporated milk is concentrated and unsweetened, while yolks thicken the mixture; sweetened condensed milk isn’t an equivalent swap because it brings extra sugar and a much thicker consistency.
  • Sweetened flaked coconut — The sweetened flakes bring chew and sweetness to the topping. They’re the right choice for the classic taste here; unsweetened flakes will make the topping less sweet and a little less tender.
  • Pecans — Chopped pecans add the buttery crunch that makes this topping recognizable. Freshness matters more than brand, since stale nuts can taste flat; chopped walnuts are the closest swap and can be used in the same amount.
  • All-purpose flour — Flour gives the cocoa dough enough structure to hold its shape around the topping. Spoon it into the measuring cup and level it rather than packing it in, which keeps the cookies from turning heavy.

From Soft Cookie Dough to a Spreadable Coconut-Pecan Finish

Cream the Butter and Build the Cocoa Dough

Beat the softened butter and cookie sugar with an electric mixer on medium speed until the mixture looks light and fluffy, about 2 minutes. Add the eggs one at a time, then mix in the vanilla. Whisk the flour, cocoa, baking soda, and salt in a separate bowl before adding them to the butter mixture. Stop mixing as soon as no dry streaks remain; beating beyond that point can make the cookies tougher.

Chill, Scoop, and Space the Portions

Cover the dough and refrigerate it for 30 minutes so it’s easier to portion and handle. Scoop it into 24 portions of about 2 tablespoons each, then arrange 12 on each parchment-lined 18×13-inch baking sheet. Keep the portions evenly sized so they bake at the same pace. Leave room around each one for the cookies to spread.

Bake Until the Edges Set

Heat the oven to 350°F and bake the sheets for 10 to 12 minutes, swapping them between racks halfway through. Look for set edges and centers that appear just dry; don’t wait for the centers to look crisp. Leave the cookies on the sheets for 5 minutes before transferring them to a rack to cool completely. They’ll be delicate when hot, so moving them too soon can break them.

Cook the Topping Without Letting It Boil

In a 2-quart saucepan, whisk the evaporated milk, topping sugar, and egg yolks until smooth, then stir in the butter. Cook over medium heat for 8 to 12 minutes, stirring constantly, until the mixture reaches 170°F and coats the back of a spoon. Keep it moving across the bottom of the pan, where it can catch first. Don’t let the custard boil.

Cool and Top the Cookies

Take the saucepan off the heat and stir in the vanilla, coconut, and pecans. Let the topping cool for about 30 minutes, until it’s thick enough to spread without running. Spoon about 1 1/2 tablespoons onto each completely cooled cookie and gently spread it to the edges. A light touch keeps the soft cookie from tearing under the topping.

Simple Changes for a Different Batch of German Chocolate Cookies

Use a Cup-for-Cup Gluten-Free Flour Blend

Replace the all-purpose flour with a cup-for-cup gluten-free baking blend made for cookies. The cocoa base may have a slightly different crumb depending on the blend, but the topping and assembly stay the same.

Make the Topping Less Sweet

Swap the sweetened flaked coconut for unsweetened flaked coconut. The topping will taste less sweet and may feel a touch less tender, but the pecans and custard still give it the familiar coconut-pecan character.

Make a Dairy-Free Batch

Use unsalted plant-based baking sticks in place of the butter and evaporated coconut milk in place of the evaporated milk, using the same amounts. The cookies will have a more pronounced coconut note, and the topping may be a little softer; the eggs remain in the recipe.

Storage and Reheating

  • Refrigerator: Store the topped cookies in an airtight container for 3 to 4 days. The chilled topping firms up, and the cookie base will be a little firmer than it is at room temperature.
  • Freezer: Freeze the plain baked cookies in an airtight container for up to 2 months, then thaw and add freshly made topping. The assembled cookies aren’t ideal for freezing because the custard-style topping can soften or weep as it thaws.
  • Reheating: These don’t need reheating. Let only the cookies you plan to eat sit out briefly; microwaving can loosen the topping and make it slide.

Questions That Come Up While Making These Cookies

Can I use sweetened condensed milk instead of evaporated milk?+

No. Sweetened condensed milk is much sweeter and thicker, so the topping won’t cook or set the same way. Use evaporated milk for the smooth custard base.

Can I use whole eggs in the coconut-pecan topping?+

Stick with egg yolks for the topping. The whites add extra liquid and won’t give the mixture the same rich, thick set, so separate the eggs before you start cooking.

Why did my coconut-pecan topping turn grainy?+

The egg yolks may have overheated and started to curdle. Keep the pan over medium heat, stir constantly, and take it off the heat as soon as the mixture reaches the target temperature and coats a spoon.

Can I bake the cookies one sheet at a time?+

Yes. Bake one sheet on the center rack, then bake the second sheet after it comes out; there’s no rack swap when only one pan is in the oven. Keep the waiting dough covered while the first batch bakes.

How do I freeze the dough for a later bake?+

Scoop the chilled dough into portions, freeze them on a lined tray until firm, then transfer them to an airtight freezer container. Thaw the portions in the refrigerator before baking so they’re ready to bake and assess using the usual visual cues.

German Chocolate Cookies

German chocolate cookies pair soft, fudgy chocolate cookies with a thick coconut-pecan topping. Bake the cookies until the edges are set and the centers look just dry, then spread on the cooled topping.
Prep Time 20 minutes
Cook Time 21 minutes
Chilling and cooling 1 hour 5 minutes
Total Time 1 hour 46 minutes
Servings: 24 servings
Course: Dessert
Cuisine: American
Calories: 320

Ingredients
  

For the cookies
  • 1 cup unsalted butter softened
  • 1.5 cups granulated sugar
  • 2 eggs large
  • 1 tsp vanilla extract
  • 2 cups all-purpose flour
  • 0.67 cup cocoa powder unsweetened
  • 1 tsp baking soda
  • 0.5 tsp salt fine
For the coconut-pecan topping
  • 0.5 cup unsalted butter
  • 1 cup granulated sugar
  • 1 tsp vanilla extract
  • 1 cup evaporated milk
  • 3 egg yolks large
  • 1.33 cups coconut sweetened flaked
  • 1 cup pecans chopped

Equipment

  • 2 18x13-inch baking sheets
  • 1 electric mixer
  • 1 2-quart saucepan

Method
 

Make the cookies
  1. Heat the oven to 350°F and line two 18x13-inch baking sheets with parchment paper.
  2. In a large bowl, beat 1 cup softened butter and 1 1/2 cups sugar with an electric mixer on medium speed until light and fluffy, about 2 minutes.
  3. Beat in the eggs one at a time.
  4. Beat in 1 teaspoon vanilla.
  5. In a separate bowl, whisk together the flour, cocoa powder, baking soda, and salt.
  6. Mix the dry ingredients into the butter mixture just until no dry streaks remain.
  7. Cover the dough and refrigerate for 30 minutes.
  8. Scoop the dough into 24 portions, about 2 tablespoons each.
  9. Arrange 12 portions on each prepared baking sheet, spaced about 2 inches apart.
  10. Bake for 10 to 12 minutes, swapping the sheets between racks halfway through, until the edges are set and the centers look just dry.
  11. Cool the cookies on the sheets for 5 minutes.
  12. Transfer the cookies to a rack to cool completely.
Make the coconut-pecan topping
  1. In a 2-quart saucepan, whisk the evaporated milk, 1 cup sugar, and egg yolks until smooth.
  2. Stir in 1/2 cup butter.
  3. Cook over medium heat, stirring constantly, for 8 to 12 minutes, until the mixture reaches 170°F and thickens enough to coat the back of a spoon; do not let it boil.
  4. Remove the pan from the heat.
  5. Stir in 1 teaspoon vanilla, the coconut, and pecans.
  6. Let the topping cool until thick and spreadable, about 30 minutes.
Finish the cookies
  1. Spoon about 1 1/2 tablespoons of topping onto each cooled cookie and spread it gently to the edges.

Notes

Let the topping cool until thick and spreadable before adding it to the cookies. Store cookies in an airtight container in the refrigerator for up to 4 days; they can be frozen. For a gluten-free variation, use a measure-for-measure gluten-free flour blend.

You might also like these recipes

Leave a Comment

Recipe Rating