Keto Magic Cookies
These Keto Magic Cookies take all the flavors of my popular keto magic bars and turn them into a cookie that mixes up in only 5 minutes. With chocolate chips, coconut flakes, and walnuts these are my favorite easy keto cookie recipe.

I love simplifying recipes. When I created this recipe I had four kids with baby number five soon to arrive. Now, with 6 in the house simple is even more necessary.
I love my Keto Magic Cookie Bars and I consider them a fairly easy recipe but the prep for those is about 25 minutes when you consider having to cook the sweetened condensed milk. And then that’s an additional pot to wash. I wanted a simpler version for when I don’t already have a batch of condensed milk ready to go in the fridge.
Since creating this recipe in 2017 a bunch of copycats of this keto dessert recipe have popped up. That’s how I know I had a creative, unique, delicious idea!

Ingredients in Keto Magic Cookies
Coconut Cream – Coconut cream is the thick part of coconut milk. It either comes in small cans or you can refrigerate a can of regular coconut milk and just use the solid part. I have had readers sub in heavy cream successfully.
Large Egg Yolks – This recipe needs egg as the binder. You could use a small egg instead of two egg yolks if you prefer. You only want a few tablespoons of egg.
Butter – I use regular salted butter in these keto cookies. If you have unsalted butter you will want to add a pinch of kosher salt.
Sugar-Free Sweetener – I like to use a blend of xylitol, erythritol, and stevia in my recipes. You can purchase this pre-mixed from the Trim Healthy Mama website or mix your own according to my recipe. By using a combination of sugar alcohols and stevia you can use half the amount required of regular sugar. Since these sweeteners can be more expensive this helps with my food budget.
Sugar-Free Chocolate Chips – I use Lily’s Chocolate Chips or ChocZero Chocolate Chips most of the time but any sugar-free chocolate chips will work.
Unsweetened Coconut Flakes – these are the larger coconut chips, not the finely shredded coconut. These have a chewy texture that is great in granola, cookies, and trail mix.
Walnuts – Or any other nut you like!

How to Make Keto Magic Cookies
I promise these really take just 5 minutes to mix up! One bowl, a spoon, some mixing, and then scooping and baking.
Step One: Stir together the liquid ingredients and sweetener is a medium to large bowl with a wooden spoon or rubber spatula.

Step Two: Stir in the chocolate, nuts, and coconut.

Step Three: Drop batter (heaping teaspoonfuls of cookie dough) on a parchment paper lined baking sheet.

Step Four: Bake the keto magic cookies until golden brown.

Note: Don’t be disturbed if there is a little runoff from the cookies coming out of the oven. Just trim off the excess and enjoy your keto cookies. And go ahead and eat what you trimmed. It tastes like vanilla custard. You can also bake these in greased aluminum cupcake papers to avoid this step.
UPDATE: Since posting this recipe I have had readers make these keto cookies in a muffin tin and aluminum cupcake liners to avoid the runoff of the custard.

Variations & Substitutions
Nuts – Any type of nuts is great in these! Pecans, macadamia nuts, almonds, and peanuts all work well.
Chocolate – You can use any type of chocolate you like: dark chocolate chips, semisweet chocolate chips, milk chocolate chips, or even white chocolate chips. Just choose sugar-free chocolate to keep this low carb and keto.
Dried Fruit – Most dried fruit is not keto-friendly but you can add some sugar-free dried cranberries.
Spices – Cinnamon is my top choice of spice to add but pumpkin pie spice, apple pie spice, or even a hit of spice like cayenne pepper or ground chipotle pepper can be a fun twist to try.
Extracts – Vanilla extract and almond extract are great choices. If you choose to add a teaspoon or so of extract cut back on the coconut cream by a teaspoon.

Common Questions
What are Keto Magic Cookies?
These magic keto cookies are so easy and flavorful. The taste exactly like Magic Cookie Bars without the crust. And that’s what they are. Crustless magic cookie bars. They are going to be my new go-to dessert to hide in the back of my fridge where my kids can’t find them.
Can I Swap Out the Nuts or Coconut?
Feel free to customize these keto cookies to your tastes. Don’t like walnuts? Use pecans. Don’t like coconut? Use extra nuts. The main thing is to have 1.5 cups of mix-ins for your keto magic cookies. I’m planning on trying these with white chocolate and unsweetened dried cranberries this fall.
Feel free to use different nuts, chopped milk chocolate, or any other type of yummy sugar-free sweet in these magical keto cookies.
Can I make this into a keto cereal?
Yup! If you cut back on the chocolate and sweetener you can also make this into a granola-type cereal. It is similar to my granola recipe here.
Other Recipes for Keto Cookies:
Almond Flour Chocolate Chip Cookies
Triple Chocolate Cookies Recipe
Love these keto magic cookies? Try my new Caramel Magic Cookie Bars and my White Chocolate Cranberry Seven Layer Bars!

Like what you see? Follow me on Facebook! Love this recipe? Leave a comment & 5-star rating right here! Make sure you don’t miss new recipes by getting email updates!
Want to Save This Recipe?
Enter your email below & we'll send it to your inbox. Plus get great new recipes from us every week!
By submitting this form, you consent to receive emails from Joy Filled Eats

Keto Magic Cookies
Ingredients
- 2 tbsp coconut cream ***
- 2 tbsp butter softened, not melted
- 1/4 cup Joy Filled Eats Sweetener (or see alternatives in recipe notes)
- 2 egg yolks
- 1/2 cup sugar-free chocolate chips
- 1/2 cup walnuts (or other nuts of your choice)
- 1/2 cup unsweetened flaked coconut
- 1 tsp coconut flour optional (see notes)
Instructions
- Preheat oven to 350.
- Stir together the butter and coconut cream until smooth. Add the sweetener and egg yolks. Mix well. Add the rest of the ingredients. Scoop onto a parchment lined baking sheet to form 12 cookies. Press down to flatten the tops.
- Bake for 20 minutes or until golden.
Notes
Nutrition
Originally Published August 17, 2017. Revised and Republished April 8, 2022.








Hi there, My family and I love this recipe! Thank you! 🙂 I wanted to share with you that I have been using my silicone cupcake pan and it makes perfect, round cookies and it keeps all of the sugary section in the cookie instead of melting it away. If you have a silicone cupcake pan, give it a try! 🙂
Thanks for that tip, Kim! I’m glad you like these 😀
I was wondering if I could use my silicone muffin pan so thanks so much for sharing this! Did you have to grease them first?
I would spray them lightly with cooking spray just to be safe.
Could I use coconut oil instead of cream?
I don’t think coconut oil would work in this recipe, sorry!
Hi! Do you think coconut sugar could be used as a replacement?
Maybe. Sorry, I can’t guarantee it but without testing it myself I don’t like to do that. You will need more. Maybe 1.5 to 2 times as much. If you try please LMK how they turn out!
I have made these several times and they have turned out perfect everytime. These are definately my favorite keto sweet treat!! Thank you so much for your recipe.
These just look delicious!
I’m not following a keto diet…but that wouldn’t stop me eating one of these. Who am I kidding….. 4 of these 😉
Can’t wait to give them a go.
I followed receipe and mine came out overdone and nothing like picture
Hi Candy, I’m sorry this recipe didn’t work for you. I am always happy to help troubleshoot. Could your oven temperature be off? Which sweetener did you use?
I have to cook mine for much less time. 12 mins at most!
Thanks for your Great recipes. I have a question When using coconut cream in a tin do you shake the can & measure OR do you just open & use the more solid part & discard the liquid like you do for the cream from chilled coconut milk ?
When using coconut CREAM I never know what to do. Also have you used tinned coconut cream for whipped coconut cream instead of the solid part of coconut milk? Thank you for your response & help.
Hi Sharon, I do not shake when using coconut cream. I pop open the can and use the thicker part if it has separated.
I have not tried using it for whipped coconut cream but it should work
We have something similar in Sierra Leone and I absolutely love them. Thanks for the memories.
These cookies look absolutely delicious! Gotta try these soon! 🙂
I never comment online but I just have to on this one- these are ridiculously delicious! The bonus is a Keto friendly dessert that’s actually easy and quick! Even my husband loves these!
Thank you!
I’m so glad you liked these! I really need to make myself another batch 🙂
Delicious! Turned out perfect
Can I use erythritol for the sweetener?
Yes, I think so, but you will need twice as much.
I used Erythritol and didn’t double the amount. Turned out perfect. Tried in the muffin tin but they stuck terribly. Maybe a cupcake liner would help. Will try that next time. There will definitely be a next time. This is a delicious keto treat. And, so quick and easy. Thank you for a great recipe.
Do I have to use any sweetener at all? Why?
You can leave it out, I think it will work without it. But you will need to use about half the coconut cream since there is less to absorb it.
what can I use in place of the 2 egg yolks? Flaxseed maybe?
I’m sorry but I think these really do need the egg. You could just melt a little sugar free chocolate or raw cacao to hold the mix-ins together. More like a candy than a cookie but out would have similar flavor.
Looks so good its making me
Hungry! !