Keto German Chocolate Cookies
Published December 4, 2022 • Updated July 20, 2026
This post may contain affiliate links. See my disclosure policy.
Ultra soft and cake-like, these gooey keto German chocolate cookies have everything I love about the classic cake (chocolate, pecans and coconut) baked into one thick, fudgy cookie.
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.
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.

Explore hundreds of keto recipe videos with step-by-step instructions, tips, and tricks to make keto easy.
Ingredients
1 cup almond flour
2 tablespoons oat fiber
1/2 cup unsweetened cocoa powder
1/2 teaspoon baking soda
1/2 teaspoon salt
1/2 cup unsalted butter, softened
1/2 cup sugar free brown sweetener
1/3 cup granulated sugar-free sweetener
1 egg
1 teaspoon vanilla extract
1 cup unsweetened coconut flakes
1/2 cup sugar free chocolate chips
1/2 cup chopped pecans
Step by Step Instructions
Step by Step Instructions
Preheat oven
Preheat oven to 350 degrees. Line a baking sheet with parchment paper.
Combine dry ingredients
In a medium bowl, stir together almond flour, oat fiber, cocoa powder, baking soda and salt. Set aside.
- 1 cup almond flour
- 2 tablespoons oat fiber
- 1/2 cup cocoa powder
- 1/2 teaspoon baking soda
- 1/2 teaspoon salt
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.
- 1/2 cup unsalted butter (softened)
- 1/2 cup packed brown sugar-free sweetener
- 1/3 cup granulated white sweetener
Finish the wet ingredients
Mix in the egg and vanilla until combined.
- 1 egg
- 1 teaspoon vanilla extract
Thick cookie dough
Slowly add in dry ingredients and mix until combined.
Make it German Chocolate flavored
Stir in coconut, chocolate chips and nuts.
- 1 cup coconut flakes
- 1/2 cup chocolate chips
- 1/2 cup chopped pecans
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 disclaimer
The nutrition information provided is an estimate and is for informational purposes only. I am a Doctor of Pharmacy (Pharm.D.); however, this content is not intended to be a substitute for professional medical advice, diagnosis, or treatment. Always consult your physician or other qualified health provider before making any lifestyle changes or beginning a new nutrition program.
Your Macros. Your Recipes. Calculated in 60 Seconds.
Get personalized keto macros and instantly see which recipes fit your targets. No more guessing what to eat.
Get My Macros + Recipes →Frequently Asked Questions
Why did my cookies spread flat and thin?
I've had this happen when my kitchen is warm (anything over 65 degrees and the butter softens too fast). My fix is simple: freeze the dough balls for 10 minutes after rolling them. Reader Dan figured this out on his own too. The cold dough holds its shape in the oven, giving you thick centers with slightly crispy edges instead of flat discs.
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?
Honestly, 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?
I've tested both and the texture difference is noticeable. Allulose gives you softer, cakier cookies that brown a little faster in the oven. Erythritol-based blends (like what I use in the recipe) produce slightly crispier edges. My preference is the erythritol blend for this recipe because I like that contrast of crispy outside and soft middle, but if you want maximum fudginess, try allulose.
Can I use other nuts instead of pecans?
Yes. I've made these with chopped walnuts, almonds and macadamia nuts. Walnuts are my second choice after pecans because they have that same rich, buttery bite. Macadamia nuts work but they're milder, so the coconut flavor comes through more.
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.
How long can I freeze these cookies?
I freeze baked cookies for up to 3 months. I wrap each one individually in parchment, stack them in a freezer bag, and they thaw in about 20 minutes at room temperature. The texture holds up well. You can also freeze unbaked dough balls the same way. I do that more often so I can bake just a few at a time.






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.
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.
1.1g net carbs for something this fudgy.
Oat fiber does it. All insoluble fiber, so zero net carbs. But it soaks up moisture and holds everything together.
Didn't realize oat fiber was all insoluble. That changes how I've been reading a few other recipes.
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.
Somewhere around batch seven or eight, something clicked. I'd been happy from the start, but letting the butter sit a full hour on the counter instead of rushing it changed the texture immediately. Dough came together smoother, cookies baked up thicker, that fudgy center even more obvious than my earlier batches. The coconut and pecan folded into the chocolate base is what keeps me coming back. Genuinely tastes like German chocolate cake, which I don't say lightly about keto versions. I have a small set of desserts I actually bake on repeat. This has been one of them for months. Making another batch this weekend.
The full hour is where it clicks. I've rushed it before and you can feel it in the dough right away.
Probably a dozen keto chocolate cookie recipes in, and most are just cocoa powder in a vehicle. This one eats like German chocolate cake made into a cookie, which is what it promises and rarely delivers. The coconut-pecan comes through (I assumed it'd be an afterthought), and the center stays fudgy instead of drying out like my almond flour versions. Four stars because I need to nail my creaming time; mine spread a bit more than the photos show. Made it twice this week already.
Creaming time matters but kitchen temp matters more. Over 65 degrees and the butter softens too fast. Roll them, freeze the dough balls 10 minutes before they go in the oven. Fixes the spread.
I've made a lot of keto chocolate cookies over the years and most of them are fine in a disappointing way, dry or too crumbly by bite two. Made these expecting the same. They're not even close. Something about the oat fiber keeps them soft in a way I haven't figured out yet, almost like a real bakery cookie, and they held up four days in the fridge. I'm still thinking about that texture.
Oat fiber traps moisture in a way almond flour never does. That's why they hold together on day four instead of crumbling. Two tablespoons took a few batches to land on.
Making these for my sister's baby shower Saturday and trying to get as much prepped Thursday as I can. Will they still be soft and gooey two days out? The coconut pecan topping is what worries me. I've had toppings like that go weirdly dry or sticky just from sitting. Airtight on the counter, or does the butter mean they need the fridge? And if refrigerated, do I bring them to room temp before serving or can they go straight from the fridge? Really don't want to be baking morning-of when I've got decorating to deal with.
Fridge them. Butter means two days on the counter is pushing it. Airtight in the fridge they'll be fine. Pull them out an hour before the shower, they soften back up on their own. The coconut pecan topping holds, nothing weird happens to it cold.
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.
The coconut-pecan part was what I spent the most time on. Twice in one week tells me it worked.
Made these for my son's study group last weekend without telling them they were keto. He texted an hour later asking what brand I'd bought because one of his friends wanted to order them online. The coconut pecan topping just disappears into the fudgy base, and a room full of college guys who couldn't care less about ingredients had no clue. Batch two's already in the oven.
Ha, 'what brand' from a study group. That's the review. The coconut pecan topping bakes right in, nothing about it reads diet food.
Made a double batch Sunday to survive the week without hitting the vending machine, and these held up way better than I expected. Five days in the fridge, still soft and fudgy, not dried out. I've been layering them with parchment between rows so nothing sticks. The cocoa is strong enough that two actually kills a craving instead of needing six of something else. Found out they freeze well too (tested a small batch), just pull one out, ten minutes on the counter. At 1.1g net carbs each I can keep a full stash without stressing, which is the whole point of batch-prepping sweets.
Mine go up to 3 months frozen. I wrap each one in parchment before bagging so they don't stick together and they thaw clean.
I've worked through probably six keto chocolate cookie recipes trying to find one that actually tastes like a cookie and not a diet compromise. Most are either too cakey or the sweetener doesn't caramelize right (it just sits in the dough tasting weird). This one is different. The cocoa actually does something: chocolate comes through instead of just tinting the batter, and that coconut-pecan topping is part of the whole thing, not an afterthought sprinkle. Four stars because I overbaked mine by a couple minutes and lost the fudgy center, but that's my fault for not trusting the timer.
Pull them when the edges are set but the center still looks underdone. They firm up as they cool, that's where the fudgy center comes from. The oven is lying to you.