Everything I love about German chocolate cake, baked into one thick, fudgy keto cookie: chocolate, pecans, coconut, and just 1.1g net carbs each. Ultra soft, gooey, and cake-like.
I've been baking these since 2019, and they're the cookie my family requests most when chocolate cravings hit. The base is almond flour and cocoa powder, which gives you a deeply chocolate cookie from edge to center. Not just chocolate chips sitting in a vanilla cookie, but a cookie that is chocolate. The texture reminds me of keto lava cake muffins (soft, fudgy, almost melting in the middle) which is exactly what makes them disappear so fast.
Toss in chopped pecans and shredded coconut flakes for that classic German chocolate flavor. I use unsweetened coconut flakes because the sweetened kind adds unnecessary carbs and makes the dough too sticky. The pecans add a buttery crunch against the soft, fudgy center. I've tried this with both chopped and whole pecans, and chopped is the way to go. Whole pecans are too big and throw off the cookie's shape.
What sets this recipe apart from my almond flour chocolate chip cookies is that double chocolate combination. Cocoa in the dough plus sugar-free chips folded in creates layers of chocolate in every bite. If you love brownies, this scratches the same itch but in cookie form, and you get individual portions instead of having to cut a pan.
One thing I figured out after making these dozens of times: freeze your dough balls for 10 minutes before baking. Reader Dan confirmed this in the comments independently, which made me feel better about not putting it in the recipe sooner. Without that freeze, anything over 65 degrees in your kitchen and the cookies spread flat. With it, you get thick centers with slightly crispy edges. It's a small step that makes a big difference.
When I first made these, I wasn't sure the coconut-pecan combination would work in a cookie (it's so strongly associated with the layered cake). But the flavors translate even better in this format because you get every element in a single bite instead of separated into layers. The coconut toasts slightly in the oven and the pecans get warm and buttery. My husband said these taste more like the real thing than most cakes he's had, and he's not even keto.
I make a batch whenever I want something rich and chocolatey but don't feel like full cake production. The whole process from bowl to oven is about 15 minutes, and baking is another 10. If you're building a low carb cookie rotation, my almond flour cookies are another one I come back to constantly.
Where the name actually comes from (it's not Germany)
Most people assume this is some traditional European dessert. It’s not. The name comes from Sam German, a chocolatier who created a mild, sweet baking chocolate for Baker’s Chocolate Company back in 1852. A Texas newspaper published a cake recipe using his chocolate in 1957, and the name stuck.
I love this bit of trivia because it explains why the flavor profile is so specific: it’s always chocolate, coconut and pecans together. That’s the combination Sam’s chocolate was paired with in the original cake, and it’s exactly what I recreated in cookie form. It sits right alongside my red velvet cookies as one of the most-requested recipes from my family.
Which sugar-free chocolate chips I use
I’ve tested several brands over the years and keep coming back to a few favorites. Here’s what I recommend based on actual baking results, not just taste tests.
Lakanto Sugar-Free Chocolate Chips: slightly higher in carbs (2g net per serving) but they melt beautifully and create those gooey pockets I’m after.
Oat fiber is the ingredient most people skip or try to sub out. I get it, it’s not in every pantry. But it makes a real difference here. It gives the cookies a homemade taste with a subtle oat undertone and helps with structure since it’s made entirely of indigestible fiber.
Oat fiber is zero net carbs. The fiber passes right through, which makes it one of my favorite baking ingredients. I use it in several of my cookie recipes, including my peanut butter cookies and shortbread cookies.
How to store these (and yes, you can freeze them)
These are best right out of the oven while the chocolate is still melty. But I actually think they get even better after an hour in the fridge, where the chocolate flavor deepens and the texture firms up just right.
Store in an airtight container at room temperature for up to 3 days, or in the refrigerator for 3-5 days. For longer storage, freeze the baked cookies for up to 3 months. I wrap them individually in parchment, stack in a freezer bag, and they thaw in about 20 minutes at room temperature.
You can also freeze the unbaked dough balls. Roll them, arrange on a sheet pan, freeze solid, then transfer to a zip-loc bag. When you’re ready, let them thaw on the counter and bake as usual. I do this all the time so I can pull out just two or three for a quick batch. And if you want something that skips the oven entirely, my no bake cookies are the way to go.
How to make Keto German Chocolate Cookies
Combine the dry ingredients (almond flour, oat fiber, cocoa powder, baking soda and salt) in a medium bowl.
Cream butter and sweeteners for a full 3-5 minutes. I can't stress this enough. This step is what gives you soft, cake-like cookies instead of dense pucks. Use softened butter (not melted), then beat in the egg and vanilla.
Mix dry into wet until the dough is thick. It should be scoopable, not pourable. If it seems thin, your butter was probably too warm.
Fold in chocolate chips, pecans and coconut flakes. This is where it all comes together.
Preheat oven to 350 degrees. Line a baking sheet with parchment paper.
2
Combine dry ingredients
In a medium bowl, stir together almond flour, oat fiber, cocoa powder, baking soda and salt. Set aside.
For this step
1 cup almond flour
2 tablespoons oat fiber
1/2 cup cocoa powder
1/2 teaspoon baking soda
1/2 teaspoon salt
3
Cream butter and sweeteners
In a large bowl, cream together butter and both sweeteners until light and fluffy (about 3-5 minutes) using an electric mixer.
For this step
1/2 cup unsalted butter (softened)
1/2 cup packed brown sugar-free sweetener
1/3 cup granulated white sweetener
4
Finish the wet ingredients
Mix in the egg and vanilla until combined.
For this step
1 egg
1 teaspoon vanilla extract
5
Thick cookie dough
Slowly add in dry ingredients and mix until combined.
6
Make it German Chocolate flavored
Stir in coconut, chocolate chips and nuts.
For this step
1 cup coconut flakes
1/2 cup chocolate chips
1/2 cup chopped pecans
7
Bake cookies
Pinch off about 2 tablespoons of dough and roll in between the palms of your hands to form a ball shape about 1 1/2 inches thick. Bake at 350 degrees for about 10 minutes. Remove from oven and immediately tap the tray on the counter to slightly deflate the cookies. Continue to let cool on the baking tray for about 3-5 minutes or until you can transfer them to a wire rack without them crumbling. Cookies will continue to harden as they cool.
Nutrition
Per serving: 1 cookie
Calories
134
Fat
12.8g
Protein
1.9g
Total carbs
5.9g
Net carbs
1.1g
Nutrition is an estimate calculated from the ingredients listed. Brands vary, so check labels if you track closely.
Frequently Asked Questions
Can I substitute a different flour for almond flour?
I haven't tested other flours in this specific recipe, so I can't promise results. If I were experimenting, I'd try 1/4 cup coconut flour, 1/2 cup lupin flour, or 1 cup sunflower seed flour. But I'd start with a small batch since each flour absorbs moisture differently.
Can I use bamboo fiber instead of oat fiber?
I haven't tried it yet. Reader Lisa asked me this and I still need to get some to experiment with. Bamboo fiber is similar in that it's all indigestible fiber, but I don't know if the flavor is neutral enough for baking. Once I test it, I'll update this.
What sweetener works best: allulose or erythritol?
This recipe uses an erythritol-style blend (the granulated and brown sweeteners in the card), which is what gives you those slightly crispier edges against the soft middle. If you swap in allulose, expect a softer, cakier cookie, since allulose holds moisture and browns faster, so check the oven a minute or two early. I haven't tested allulose in this exact recipe, so start with a small batch if you try it.
Can I use other nuts instead of pecans?
Yes, and chopped walnuts are my first pick for a swap since they have a similar rich, buttery bite. A milder nut like macadamia should work too, though the coconut flavor will come through more. Whatever you use, keep it chopped small. I've tried whole pecans and they're too big and throw off the cookie's shape, so the same goes for any substitute.
Can I make these as bar cookies instead?
I haven't done a full bar version yet, but it would work. Press the dough into a parchment-lined 8x8 pan and bake at 350 for about 18-22 minutes. I'd check at 18 since the center takes longer to set in bar form. You want them slightly underdone when you pull them out because they firm up as they cool.
I’m baking for a neighbor’s get-together next weekend and want to get some of it done early. Can this dough sit in the fridge a couple days, or does it get too stiff to scoop once the oat fiber has been in there a while? I could also bake them ahead if they stay soft. Just not sure which way holds up better.
Not sure if my 10-year-old was going to go for the coconut-pecan part, since she picks it off everything. She ate two and then asked if I’d snuck brown sugar in somewhere. I think it’s the two-sweetener combo doing that, or maybe the cocoa base pulling it all together. Double batch next time.
I’m not a baker. I have genuinely failed box brownies, so the oat fiber and two different sweeteners scared me enough to bookmark this and sit on it for six weeks. When I finally made it, I was borderline anxious at the mixer, kept it going longer than necessary because I needed it to look fluffy like the pictures. The dough ended up this thick chocolatey mass that already smelled amazing before it even went in.nnPulled them at eleven minutes, edges set but centers still soft, and almost talked myself into two more minutes. Didn’t. Once they cooled, they settled into this dense fudgy thing, almost cake-like through the middle the way German chocolate cake gets between the frosting layers.nn1.1 net carbs. I texted my sister the nutrition label. She didn’t ask. Second batch is happening this weekend and I’m already deciding who gets cookies.
Four stars. These hit the German chocolate note: fudgy cocoa base, the coconut-pecan dense enough that it reads like frosting compressed into dough. I stopped making the actual cake two years into keto, just assumed that combination was gone. First substitute that actually tasted like the real thing. Wasn’t expecting that from a cookie.
Sasha, frosting compressed into dough is exactly right. That’s the whole thing. The cake was one of the first things I dropped when I went keto and I didn’t expect a cookie to bring it back either.
My oven has been running about 25 degrees hot lately so I’ve been defaulting to the air fryer for most of my baking. Has anyone tried these in an air fryer? I’m guessing I’d drop the temp and cut the time, but not sure if the thick, cake-like texture holds up the same way with convection heat.
Alex, I haven’t done these in an air fryer yet. I’d try 325 and start checking at 9 minutes. I’d worry about the cake-like center, convection crusts the outside fast on thick cookies.
The chocolate base is doing a lot right, and the two-sweetener ratio is clearly intentional. Brown plus granulated gives it more depth than a standard cocoa cookie. Almost feels like actual cake. My one note: shredded coconut against half a cup of cocoa just gets muted. I toasted it first on my second batch and the German chocolate flavor actually came through. Four stars as written. Annie, stealing that two-sweetener trick for other recipes.
Should’ve put that in the notes. I’ve done it before with other recipes but didn’t think it would matter as much here with the cocoa that heavy. You found the fix I missed in testing. I’d toast it at 325 for 6-7 minutes, just until it starts to color, then let it cool before folding in (warm coconut makes the chocolate chips start to melt). The two-sweetener combo is in basically everything I make now, the brown adds a warmth that straight granulated just can’t get to. Glad you went back for round two, Michelle.
Planning to make these the night before a pool party Saturday so I’m not baking in a hot kitchen. Will the coconut topping get soggy if I store them overnight, or do they hold up okay?
Yuki, they hold up fine overnight. The coconut bakes into the dough, not on top as a wet layer, so there’s nothing to go soggy. Airtight container at room temp and they’ll be ready for Saturday.
Made these last week and they spread way more than yours in the photos. Flat, crispy cookies instead of that thick fudgy center. I did cream the butter and both sweeteners for a few minutes, so undermixing probably wasn’t it. Chilling the dough beforehand, maybe?
Chilling is exactly it. I roll them into balls first, then freeze for 10 minutes before they go in the oven. Even if the dough felt fine, that freeze step is what keeps them from spreading.
Pulled these at 11 minutes because they looked soft in the center and I almost added more time. Glad I didn’t. They firmed up as they cooled and settled into that fudgy, cake-like texture the recipe promises. If you’re second-guessing yourself at the 10-12 minute mark, that’s probably the right time to pull them. Almond flour doesn’t signal doneness the way wheat does, and these need the carryover.
Exactly this. I pull mine at 11, sometimes even 10:30 if the edges look just set and the middle is still soft. The carryover is real with almond flour. No browning cue at the edge the way you’d get with wheat, so there’s nothing obvious to watch for. Center stays underdone-looking until the rack does the work. I’ve overbaked these chasing that ‘done’ look before and they go chalky fast.
My grandmother made German chocolate cake every Easter and I stopped expecting that flavor after going keto three years ago. These have the coconut-pecan thing exactly right, that sticky-sweet layer you’d scrape off the top first as a kid. Made them twice this week.
Tip from my second batch (first one went a little flat): chill the dough for 20 minutes before scooping and they puff up way more, way fudgier. Also toasted the coconut in a dry pan before mixing it in and the whole thing tasted so much more like actual German chocolate cake, that warm nutty flavor really comes through instead of just sitting in the background. Already prepping another batch for this snow weekend.
Pro tip: freeze the dough for 10 minutes after forming the balls. They hold their shape better and you get perfect thick centers with crispy edges instead of spreading flat. Learned this after batch two came out like pancakes.
I haven’t experimented with bamboo fiber yet. I need to get some to try. It kind of freaks me out to eat something that I consider a tree LOL! But I need to get over that.
These turned out wonderful!
Always have loved German Chocolate Cake and these satisfy that childhood delight. Even the picky husband said they are the best keto cookie I have made. They are disappearing fast and it isn’t just me.
The recipe is easy to put together and will be a regular for me.
Keep up the great ideas.