German Chocolate Cookies
These German Chocolate Cookies take everything I love about German chocolate cake and turn it into a soft, chewy sandwich cookie. The chocolate cookies are made with sweetened condensed milk, which gives them a really unique texture, and they’re filled with a rich coconut pecan filling inspired by brigadeiro.
I’ve made a lot of cookies with sweetened condensed milk over the years, and I especially love it here because it does double duty. It gives the chocolate cookies a soft, chewy texture while also forming the base of the creamy coconut pecan filling. The finished cookies are rich without being overly complicated, and they’re especially good for holiday cookie boxes because they can be made ahead and freeze well.

Why You’ll Love These German Chocolate Cookies
These aren’t quite a traditional sandwich cookie, and that’s what I like about them. The chocolate cookies are sturdy enough to hold the filling while still staying soft and chewy.
This post may contain affiliate links. I earn a commission from qualified purchases. Please read our Privacy policy here.
- Soft and chewy chocolate cookies made with sweetened condensed milk.
- Rich coconut pecan filling inspired by the flavors of German chocolate cake.
- Easy roll-out dough that holds its shape well in the oven.
- Great for making ahead because both components can be prepared in advance.
- Perfect for cookie boxes and they travel surprisingly well.
- Easy to decorate with dipped or drizzled chocolate, coconut, and pecans.
Key Ingredients & Why I Use Them
Sweetened condensed milk: This is really what sets these cookies apart. I use it in the chocolate cookie dough for a softer, chewier texture and those subtle sweet milk notes. It’s also the base of the coconut pecan filling.
Cocoa powder: This gives the cookies their chocolate flavor without changing the texture of the dough too much. Because the cookies are already quite rich, cocoa works especially well here.
Coconut: Shredded coconut gives the filling the texture and flavor I associate with German chocolate cake. I also like sprinkling a little over the chocolate when decorating.
Pecans: The chopped pecans add nuttiness and a little texture to the soft filling. I chop them fairly small so the filling is still easy to pipe.
Coconut milk or heavy cream: Either works in the filling. It loosens the sweetened condensed milk slightly and gives the finished filling a softer consistency than traditional brigadeiro.
Chocolate: I use melted chocolate for dipping and drizzling the finished cookies. German chocolate is a natural choice here, but another chocolate you enjoy can work as well.

How to Make German Chocolate Cookies
The full measurements and instructions are in the recipe card below, but here’s how I make the cookies step by step and the places where I pay the most attention.
Make the Chocolate Cookie Dough
Start by beating the butter with an electric mixer for about 2 minutes, until it’s fluffy and creamy.
Add the sweetened condensed milk and sugar and mix until combined. Add the egg and vanilla next, scraping down the sides and bottom of the bowl as needed so everything mixes evenly.
Add the flour, cocoa powder, baking powder, and salt. Mix on the lowest setting just until the dry ingredients are almost completely incorporated.
At this point, I like to stop using the mixer and finish the dough by hand with a spatula. This lets me scrape everything from the bottom of the bowl while also making sure I don’t unnecessarily overwork the dough.

Wrap the Dough
Transfer the finished dough to the counter, wrap it tightly in plastic, and refrigerate it for at least 1 hour. You can also make the dough the day before and leave it refrigerated overnight.
I find chilling particularly helpful with this dough because it makes rolling much easier without having to compensate with a lot of extra flour.

Roll and Cut the Cookies
When you’re ready to bake, preheat the oven to 350ºF and line your baking sheets with parchment paper.
Divide the chilled dough into four pieces. Work with one piece at a time and keep the remaining dough wrapped and refrigerated. Keeping the dough cold makes this entire process much easier.
Lightly flour the counter and the top of the dough, then roll it to about 1/4-inch thick.
You can add a little more flour underneath if the dough begins sticking, but try to use as little as possible. This is important: adding too much flour while rolling can eventually make the cookies dry and tough.
If the dough is still sticking even with a light dusting of flour, I’d rather put it back in the refrigerator for a few minutes than continue adding flour. You can also roll it between two sheets of wax or parchment paper.
Use the cookie cutter of your choice to cut the dough. I use a 2-inch round cutter, which makes a nice size for sandwich cookies.

Bake
Arrange the cookies about 1 inch apart on the prepared baking sheet. They don’t spread or rise very much, so you don’t need to leave a huge amount of room between them.
Bake for about 8 minutes.
The exact baking time will depend on the size and thickness of your cookies, so I pay more attention to how they look than strictly to the timer. Chocolate cookies are harder to judge by color. Instead, look directly at the center of the cookie.
If the center still looks wet or shiny, give the cookies another minute and check again. Once the surface looks set, take them out.
You don’t want to overbake these. They’re meant to stay soft enough to pair nicely with the chewy coconut filling.
Gather the scraps into a ball, flatten and roll them again, and continue cutting cookies. Repeat with the remaining portions of refrigerated dough until you’ve baked all of the cookies.
Let them cool completely before filling.

Make the Coconut Pecan Filling
This is probably my favorite part of the recipe. The filling is based on brigadeiro, but the addition of coconut, pecans, and coconut milk or heavy cream gives it both the flavor of German chocolate cake and a softer consistency that’s ideal for sandwich cookies. The brigadeiro inspiration was also part of the original recipe and is what gives the filling its distinctive fudgy texture.
Add the sweetened condensed milk, shredded coconut, chopped pecans, butter, and coconut milk or heavy cream to a medium saucepan.
Cook over medium heat, stirring constantly for about 10 minutes.
Don’t walk away from the pan here. As the mixture cooks, it will become noticeably thicker. I’m looking for it to begin falling from the spatula in thick chunks. When you drag the spatula across the bottom of the pan, you should also be able to briefly see the bottom before the filling flows back together.
That’s when I take it off the heat. It’s important not to overcook the filling because it will continue to thicken as it cools. If you cook it too far in the pan, it can become difficult to pipe later.
Transfer the filling to a bowl and let it cool completely at room temperature before assembling the cookies.

Assemble the Cookies
Once both the cookies and filling are completely cool, transfer the coconut pecan filling to a piping bag fitted with a round tip.
Turn one chocolate cookie over and pipe the filling onto the flat bottom side. Top with a second cookie and gently press them together to form a sandwich.
I like to pair up cookies of similar sizes before I start piping. It makes assembly go much faster and gives you neater sandwiches.

Decorate the Cookies
Melt the chocolate in the microwave until smooth.
From here, you can finish the cookies a couple of different ways. Drizzle the melted chocolate over the tops for a simpler finish, or dip part of each sandwich cookie directly into the chocolate.
While the chocolate is still wet, sprinkle it with shredded coconut, chopped pecans, or both.
I actually like making a combination of dipped and drizzled cookies. They look especially pretty together in a holiday cookie box, and you don’t have to do anything extra besides change the way you’re adding the same chocolate and toppings.

Expert Tips
There aren’t many complicated steps here, but a few details make a noticeable difference in the finished cookies.
- Chill the dough before rolling. You can technically work with softer dough, but chilled dough is much easier to roll without adding excessive flour.
- Don’t use too much flour. Add only enough to keep the dough from sticking. Too much flour during rolling can make the finished cookies dry and tough.
- Keep the remaining dough cold. I divide mine into four sections and only take out one at a time.
- Roll to about 1/4-inch thick. These cookies don’t rise very much, so don’t roll them paper-thin.
- Watch the center when baking. Since you can’t judge chocolate cookies by browning, look for the wet, shiny appearance in the center to disappear.
- Don’t overbake. For my 2-inch cookies, about 8 minutes is usually enough.
- Stir the filling constantly. Sweetened condensed milk can catch on the bottom of the saucepan, particularly as the mixture thickens.
- Don’t overcook the filling. Once it falls from the spatula in chunks and briefly exposes the bottom of the pan when stirred, take it off the heat.
- Cool the filling before piping. It will thicken considerably as it cools.
Storage & Make Ahead
There are several points where you can stop and make parts of this recipe ahead.
The unbaked cookie dough can be wrapped tightly and refrigerated overnight, so you can make it one day and roll and bake the cookies the next.
The plain baked chocolate cookies can be stored in an airtight container at room temperature for up to 4 days, or frozen for 1 to 2 months.
What to Do With Leftover Coconut Pecan Filling
This recipe intentionally makes a little more coconut pecan filling than you’ll need.
The filling uses two cans of sweetened condensed milk. You could halve the recipe and use one can, but you probably won’t have enough to fill the entire batch of cookies. I prefer making the full amount and having some leftover.
And this is one leftover I’m never upset about.
You can refrigerate the extra filling for about 15 days or freeze it for up to 2 months. It’s delicious as a macaron filling or cake filling, or anywhere else you want that rich coconut pecan flavor. The original version of the recipe was designed this way for exactly that reason.

Variations
I usually keep the cookie itself the same and change how I decorate the finished sandwiches.
Chocolate drizzle: Drizzle melted chocolate over the tops and sprinkle with coconut or pecans.
Chocolate dipped: Dip one side or half of each sandwich cookie into melted chocolate, then add the toppings before the chocolate sets.
Extra coconut: Finish the chocolate with shredded coconut for a stronger coconut flavor.
Extra pecans: Sprinkle finely chopped pecans over the melted chocolate for a little more crunch.
You can also use different cookie cutter shapes, especially around the holidays. Just remember that changing the size of the cookies will change the baking time.

Frequently Asked Questions
I recommend chilling it for at least an hour. The dough is much easier to roll when it’s cold, and you’ll need less flour to prevent sticking. You can also make the dough the day before and keep it refrigerated overnight.
First, make sure the dough is properly chilled. Use a light dusting of flour on the counter and dough, but don’t keep adding flour indefinitely because that can make the cookies dry. If it’s still sticking, return the dough to the refrigerator for a bit or roll it between sheets of wax or parchment paper.
Look at the center rather than the color. Once the center no longer looks wet or shiny, the cookies should be ready. My 2-inch cookies take about 8 minutes, but larger or thicker cookies will need more time. This visual cue was also the key doneness test in the original recipe.
The filling naturally becomes firmer as it cools, and it will become particularly firm in the refrigerator. If you’ve refrigerated it, let it sit at room temperature before piping. You can also microwave it for about 5 seconds at a time until it becomes soft enough to pipe. If it remains very hard at room temperature, it may have been cooked too long.
Yes. They’re one of my favorite types of cookies to make ahead because there are so many options. Make the dough the day before, bake the plain cookies up to 4 days ahead, or freeze the baked or assembled cookies for longer storage.

More Cookies to Try
If you like the combination of chocolate and sweetened condensed milk in these cookies, try my Chocolate Dulce de Leche Thumbprints next. My Dulce de Leche Thumbprints are another great filled cookie, while the Fudge Gingerbread Linzers are especially good for holiday baking. And if you’re looking for another chocolate sandwich cookie, try my Homemade Oreos. These were all among the cookie recipes I originally recommended alongside this recipe.
If you make these German Chocolate Cookies, leave a rating or comment below and let me know how they turned out. And if you share them on Instagram, tag me so I can see them!https://chatgpt.com/backend-api/sentinel/frame.html?sv=20260810913b

German Chocolate Cookies
Ingredients
Chocolate Cookie Dough
- 3/4 cup unsalted butter softened 169 grams
- 1 14 oz. can Eagle Brand® Sweetened Condensed Milk 396 grams
- 3/4 cup granulated sugar 150 grams
- 1 large egg room temperature
- 2 tsp vanilla extract
- 3 cups flour 382 grams
- 3/4 cup unsweetened cocoa powder 75 grams
- 1 1/2 tsp baking powder
- 1/4 tsp salt
Coconut Filling
- 2 14 oz. cans Eagle Brand® Sweetened Condensed Milk 792 grams
- 1 1/2 cup shredded coconut 132 grams
- 3/4 cup chopped pecans 81 grams
- 3 tbsp unsalted butter
- 1/2 cup coconut milk or heavy cream
To decorate
- 1/3 cup chocolate preferably German chocolate, but you can use any
- 3 tbsp shredded coconut
- 3 tbsp chopped pecans
Instructions
Chocolate Cookie Dough
- Start by beating the butter with an electric mixer for 2 minutes, until fluffy and creamy.
- Add the Eagle Brand® Sweetened Condensed Milk and sugar and mix to combine.
- Then add the egg and vanilla to the bowl. Remember to scrape the sides of the bowl occasionally to ensure all ingredients are getting blended together.
- Add the flour, cocoa powder, baking powder, and salt, mix on the lowest setting until almost entirely incorporated. I like to finish mixing the ingredients by hand with a spatula which ensures the dough isn’t getting overworked, and also ensures all ingredients from the bottom of the bowl are getting incorporated nicely together.
- Transfer the dough to the counter and wrap it on plastic tightly. Place it in the fridge for at least 1 hour, you an also make it the day before and roll it out the next day.
- Pre-heat the oven to 350ºF.
- After 2 hours, remove the dough from the fridge, cut it into 4 pieces and work with one piece at a time, leaving the other pieces covered with the plastic, inside the fridge.
- Sprinkle the counter with some flour, and then sprinkle some flour on top of the piece of dough. Begin rolling with a rolling pin, until the dough is 1/4” thick. You may need to add more flour to the bottom of the dough, so it doesn’t stick to the counter, but don’t be so liberal with the flour, you don’t want to add too much of it, because it can make the dough dry.
- Use the cookie cutters of your choice to cut shapes out of the cookie dough, I used a 2” round cutter. Place the cookies about 1 inch apart from each other on top of a parchment paper lined baking sheet. They actually won’t rise or spread too much during baking.
- Bake the cookies in the pre-heated oven for about 8 minutes, time baking will depend on the size of the cookies, smaller cookies will take less time to bake, and big cookies will take longer. Once the cookies don’t look wet on top anymore you can remove them from the oven, if they still look wet to shiny in the middle on top, keep baking them for another minute then check again.
- Gather the leftover dough back into a ball, then flatten it out and roll it out, repeat cutting with the cookie cutters.
- Repeat rolling, cutting, and baking with the remaining dough that’s in the fridge.
- Keep the baked cookies in an air tight container for up to 4 days at room temperature. You can freeze the cookies for one to two months.
Coconut Filling
- To make the coconut filling, add the sweetened condensed milk, shredded coconut, pecans, butter, and coconut milk (or heavy cream) in a medium saucepan. Cook the ingredients over medium heat, stirring non stop the whole time, for about 10 minutes, until the mixture is thick and falling into chunks off the spatula.
- Remove it from the saucepan and pour into a bowl. Let it cool down completely, keep it at room temperature. The filling can be kept at room temperature for a day. If you place it in the fridge, might become too hard to pipe. You can always let it come to room temperature before piping or heat it up gently for about 5 second increments in the microwave.
To assemble
- To assemble the cookies, place the coconut filling in a piping bag fitted with a round tip.
- Pipe some filling on the bottom side of a cookie, then top with another cookie.
To decorate
- Melt the chocolate in the microwave, then you can dip the sandwich cookies in the melted chocolate, or drizzle it on top of the cookies. While the chocolate is still wet, top it with shredded coconut or chopped pecans.
To store
- Store the cookies in the fridge for up to 5 days, in the freezer for up to 2 months. It can also stay at room temperature for up to one day.


I made these for our ladies Christmas cookie exchange. They are just beautiful if you take your time. Also, I felt like the filling needed a tad more salt so I added after it was done cooking. Made a big difference.
I did star cut outs instead of circles. They were just delicious and so pretty!
Live German Chocolate cake so these will be perfect to try for girls night. Is the coconut in the filling sweetened or unsweetened? Thank you
you can use either, I just use whatever I have usually. I prefer unsweetened though.
How messy are these? My mom LOVES German Chocolate desserts (cakes, brownies) and I’d love to mail her some cookies for her birthday, but I wouldn’t want them to be a gooey mess when they arrive.
you can definitely mail these! The filling holds up so well! no gooey mess! if you could put ice packs in the shipping container would be optimal, but if not, totally ok
Amazing!!! I love it 😍🤩👏👏👏👏👏