This post may contain affiliate links. Please read our disclosure policy.
These classic gluten free chocolate chip cookies have crisp brown edges, soft centers, and deep, rich flavor in every bite. The secrets to their ideal texture and all that flavor are in the mixing-wet-into-dry method and chilling the raw dough first, even just for 30 minutes.
I was known for these cookies long before I started baking gluten free in 2004, and there’s almost always a batch in my freezer, both baked and raw. With nearly 400 five-star reviews, this is the ultimate recipe.

“This is an awesome cookie. We have had a family recipe that we all loved till we had to go gluten free and this was the first recipe that is better than that! Thank you so much, Nicole ❣️”
Why this recipe works
These cookies are thick and chewy in the center with just enough crispness around the edges, and they're packed with chocolate chips. The ideal butter to flour proportions reliably keep the cookies from spreading too thin during baking, no matter what.
I recommend you chill the dough for at least a few hours before baking for the deepest caramel flavor and even browning in the oven. But unlike some other recipes, if you just can't wait, you can bake some cookies right away and they'll still hold their shape.
This recipe is forgiving enough for you to swap in chopped nuts, try different extracts, or even use vegan butter for cookies that still turn out great.

Ingredients explained
You only need a handful of classic ingredients to make these cookies, with a few key tips to get the texture and flavor just right:

- Gluten free flour blend: Any of my recommended gluten free flour mixes will work here, especially Better Batter's original blend or Nicole's Best. Bob’s Red Mill 1-to-1 (in the blue bag) also performs very well. If you're using Bob's and don't plan to chill the dough at all, add another 1/2 teaspoon of xanthan gum to help control the cookies' spread in the oven.
- Baking soda: Helps with browning in the oven without overbaking or burning.
- Salt: Balances the sweetness and sharpens the other flavors.
- Granulated sugar: Adds sweetness, tenderness and helps the cookies spread just enough, then brown and crisp.
- Light brown sugar: Provides extra moisture and a rich, caramel-like flavor. Without brown sugar, nothing tastes like a chocolate chip cookie!
- Butter: Adds flavor and helps create crisp edges and chewy centers. Make sure it’s at room temperature so it blends evenly but doesn't melt outside the oven. If you're starting with cold butter, chop it roughly and let it sit on the counter for about 20 minutes.
- Eggs: Help the cookies rise and add structure so the cookies hold their rise as they cool, in combination with a binder like xanthan gum, even without gluten.
- Vanilla extract: Adds a warm background note that boosts all the other flavors.
- Chocolate chips: Use your favorite gluten free chocolate variety, or a combination of flavors. I love Trader Joe’s 72% dark chocolate chips and Ghirardelli chips.
How to make gluten free chocolate chip cookies (step by step photos)
See the recipe card for ingredient amounts, and keep scrolling for a visual on how to make gluten free chocolate chip cookies in your own kitchen.
Mix the dry ingredients
In a medium bowl, whisk together your gluten free flour blend, xanthan gum (if needed), baking soda, salt, and granulated sugar for evenly distributed ingredients that bake into uniform cookies.
Add the brown sugar last and use a fork to break up any lumps that don't combine with the rest of the batter and melt separately in the oven.


Add the wet ingredients
Create a well in the center of the dry ingredients, then add the softened butter, beaten eggs, and vanilla right into the center. Mix the wet ingredients together toward the center, then incorporate the dry ingredients little by little for uniformly mixed cookie dough, still made in one bowl.
Mixing the wet ingredients in the dry instead of creaming the butter and sugars separately first ensures a dense, chewy cookie with a crackled top.


Stir in the chips
Fold in the chocolate chips until they’re evenly distributed throughout the dough. Adding them in last avoids getting the chips wet from the eggs, which can cause the chocolate to bleed into the rest of the cookie.


Portion the dough
Scoop the dough with a spring-loaded scoop into even portions so they'll bake at the same rate in the oven. I like to use a medium cookie scoop (a #20 scoop or a medium OXO scoop) and fill it full. For perfectly uniform cookies, each should weigh about 50 grams.


Shape into balls
Roll each portion into a ball between your two palms, pressing it together so there are no gaps in the center that would cause misshapen cookies. The dough will be thick but workable, and should easily hold its shape when rolled and pressed.


Flatten
Hold each ball of dough in the palm of one hand and use the fingers of the other to press each ball into a disk. This will ensure the exact right amount of spread in the oven, since these cookies have less butter than some others, so they don't spread as much.
Chill the dough
For thick, chewy cookies that have tons of flavor, cover the shaped dough so it doesn't dry out, and chill it for at least 30 minutes, or ideally overnight or longer. You can also bake a few cookies right away, and let the rest chill.


Bake
After about 12 minutes at 350°F, the edges should be golden and the centers mostly set. You don't want the center to glisten like it's still wet, but be careful not to overbake and dry them out. Let the cookies sit on the baking sheet for a few minutes or they'll fall apart. Once set, they're very stable.


Expert tips
Chill for deep flavor
Making something as simple as chocolate chip cookies, it seems particularly annoying for me to ask you to chill your dough at all, much less overnight. But chilling the dough over time creates thick, flavorful cookies in 2 ways:
Cold cookie dough bakes thicker and chewier since cold butter melts more slowly than warm or even room temperature butter.
The older the dough, the more flavorful it becomes as the sugars begin to lose some of their moisture both into the air and into the flour, intensifying the caramel flavor of the brown sugar.
Don't cream the butter and sugar
Unlike a lot of cookie recipes that begin by beating together the butter and sugar until creamy, here we mix the wet ingredients into the dry ingredients. Creaming the butter and sugar aerates the cookies to make them lighter and the cookie dough very smooth. Here, we want a dense and chewy cookie with the texture of a crackled, uneven top, so we mix wet-into-dry.
Add extra chips on top
For photo-worthy cookies, press a few extra chips into the tops before baking, or just make sure the shaped dough has some visible chips on top. You can also add a couple of extra chips to just-baked cookies before they've set.
Skip the mixer
If you can, mix by hand. Using a stand or handheld mixer flattens the texture and creates a more uniform cookie texture. If you must use a mixer, work in the chocolate chips by hand to avoid overmixing.

Ingredient substitutions
Unlike other recipes that require you to add almond flour, these are naturally nut-free, and easy to adapt for dairy-free or egg-free baking, too.
Dairy free
Swap the butter for Spectrum or Crisco vegetable shortening or block-style vegan butter (like Melt or Miyoko’s Creamery). Shortening makes crisp-edged cookies but doesn't brown much, and the dough hardens in the refrigerator, so be sure to shape it before chilling. If you're using vegan butter, chill the dough overnight to prevent spreading. And don’t forget to use dairy-free chocolate chips!
Egg free
Replace each egg with a “chia egg” (1 tablespoon ground white chia seeds + 1 tablespoon warm water, mixed and gelled). Or try 100 grams plain Greek-style yogurt at room temperature and add 1 more tablespoon gluten free flour. Either way, chill the dough overnight for the best structure and texture.
Easy mix-in ideas
Try swapping up to half of the chocolate chips, by weight, with:
- Flavored chips (like white chocolate or butterscotch—check for gluten!)
- Chopped nuts (like pecans or walnuts)
- Soft dried fruit (like cranberries or raisins)
Storage instructions
Room temperature: Baked cookies stay fresh in a sealed container at room temperature for up to 5 days.
Refrigerator: You can store shaped, unbaked cookie dough in the fridge for several days. Keep it in a sealed zip-top bag or airtight container and bake in batches as needed.
Freezer: Freeze both baked cookies and raw, shaped dough for up to 3 months. You can bake the dough straight from frozen—just flatten the disks slightly first, and add 2 minutes to the baking time. Or let the raw disks come to cool room temperature before baking.
Gluten Free Chocolate Chip Cookies Recipe

Ingredients
- 2 ¼ cups (315 g) all purpose gluten free flour blend, (See Recipe Notes)
- ½ teaspoon xanthan gum, omit if your flour blend already contains it; use a heaping 1/2 teaspoon
- ½ teaspoon kosher salt
- 1 teaspoon baking soda
- ¾ cup (150 g) granulated sugar
- ¾ cup (164 g) packed light brown sugar
- 8 tablespoons (112 g) unsalted butter, at cool room temperature (69°F is ideal)
- 2 (100 g (weighed out of shell)) eggs, at room temperature, beaten
- 1 tablespoon pure vanilla extract
- 12 ounces semisweet chocolate chips, plus more as desired, up to 16 ounces total
Instructions
- Preheat your oven to 350°F (unless you plan to chill your cookie dough overnight). Line baking sheets with parchment paper and set aside.
- In a large bowl, whisk together the flour blend, xanthan gum, salt, baking soda, and granulated sugar.
- Add the brown sugar and whisk again, breaking up any lumps with a fork if needed.
- Create a well in the center and add the butter, eggs, and vanilla. Mix the wet ingredients together in tight circles in the center, then stir into the dry ingredients until combined.
- Fold in 12 ounces of chocolate chips. The dough will be thick but workable. Add more chips if desired.
- Divide the dough into 21 (or up to 24, if you used more chips) portions, about 50 grams each. Roll into balls, then flatten into disks about 1 1/2-inches in diameter and 1/2-inch thick.
- If you like, press a few extra chips onto each dough ball for a more chocolatey look.
- Arrange cookies about 2 inches apart on the lined baking sheets.
- Cover and chill the shaped dough for 12 hours—or up to 5 days—for the thickest, best-flavored cookies. Even chilling the dough for 30 minutes will help control oven spread.
- Bake one sheet at a time until the cookies are golden on the edges and just set in the center, about 12 minutes.
- Let cool on the baking sheet for 5 minutes before transferring to a wire rack to cool completely.
Notes
Nutrition
Nutrition information is automatically calculated, so should only be used as an approximation.
FAQs
Yes and no. Chilling helps control spread, enhances the texture, and deepens the flavor. You can bake the shaped cookies right away and they will still taste great, but even 30 minutes of chilling time will help control spread. Maybe bake some now, and chill the rest!
You may have overmeasured the flour, skipped xanthan gum, or used butter that was too cold to mix in properly. Or maybe you just didn’t let them cool long enough, as they’re delicate at first!
Your dough may have been too warm, your butter too soft, or your baking sheet still hot from the last batch.
If your flour blend doesn't contain xanthan gum, adding guar gum or konjac powder instead can work. For a full explanation, see our post about xanthan gum substitutes using this recipe for testing.
Yes, you can refrigerate the raw, unshaped cookie dough in a sealed container . Just don't pack it down too much in the container or it will be too hard to scoop. You may have to let it sit at room temperature briefly until it's scoopable.
















This recipe is amazing! I used allulose instead of sugar and it still turned out amazing! Love this recipe, I would definitely try it again and I recommend this recipe to the other bakers out there! This is definitely one of the best chocolate chip cookie recipes I’ve ever tried!
I’m so glad you enjoyed the cookies! Thank you so much for sharing your experience.
The BEST gluten free Chocolate Chip Cookie recipe hands down! Perfect!!
So glad you love the cookies, too, Tammy! Thank you for sharing your experience.
Hi Nicole,
How much spectrum healthy shortening did you use & were they moist? And have you tried using the spectrum in your oatmeal cookies? If not, how much do you recommend I use? Thank you❣️
P.S. Ive made both recipes with a few variations & were very DELICIOUS❣️
🫶🍪😋🍪👏
Hi, Dayna, the substitution is always gram for gram, so use the weight measurement (112 grams) and that’s how much shortening you’ll use. They texture is largely the same, although the crispy parts are less so, as I say in the text of the post. I haven’t tried the substitution in my oatmeal cookies, no. I do prefer Miyoko’s Creamy or Melt brand vegan butter to shortening, though.
This is an awesome cookie. We have had a family recipe that we all loved till we had to go gluten free and this was the first recipe that is better than that! Thank you so much, Nicole ❣️
That’s great to hear, Christine! So glad you got your cookies back. :)
These cookies are sublime. I always use your flour now, as I was never completely satisfied…mostly with the texture using other flours. I accidentally bought Guittard’s extra large chips…they worked very well. I’m very appreciative for the work you do, even on days you likely don’t feel like blogging. Finding your posts in my email feed is a blessing in these dark days of frightening headlines. Thanks so very much.
I can really relate to your sensitivity to the flour blend used, Madelon. I’m always happy to find that something like Bob’s Red Mill’s 1-to-1 GF blend produces good results in a recipe, since it’s so available and relatively inexpensive. But nothing works the best but the best, that’s for sure! And thank you so much for the kind words. The competitiveness and intensity of blogging has been getting to me recently, for sure, but comments like yours go a long way. More than you may know. ❤️
Thankyou Nicole,
It’s so good to have recipes that you have perfected Gluten Free. I love these choc chip cookies, because I like a bit more crunch on the outside I left them for another 4 mins. I live in Australia so use other GF flour, but it works very well. I love all your tips.
You’re so welcome, Janet. I’m really glad you’re able to find something in your country that works, and that you’re able to make use of the tips to make the cookies just as you like them. Thanks so much for sharing your experience!
So freaking good! Keep in mind the dough is super crumbly but turn out really gooey so don’t worry!
Yes, Lilli, the dough seems crumbly until you work it all together, and I’m glad you persisted! That’s how you get exactly the right texture. Thanks for sharing your experience, and I’m so glad you loved the cookies!
They came out perfectly! Very moorish. Not flat at all like some others have said. They held their shape and are lovely and chewy.
My first attempt at gluten free baking – very happy with the results. Thank you for the recipe!
You’re very welcome, Lauren! I believe that flat cookies are usually the result of too-warm butter, which can’t be remedied even after the cookie dough is later chilled, and/or a flour blend choice.
Tastes good, but spreads like crazy even after being in fridge overnight. Maybe it was the flour blend? I don’t know.
If you didn’t use one of my recommended flour blends, B, particularly if you used one of the ones I recommend against, I’m afraid you won’t get the desired results. If your butter was too soft, that could also help explain the spread of the cookies, even after chilling the dough.
I love the taste of these cookies. However, both times I’ve made them now, my cookies turned out very flat. Granted the first batch was made right away, but the 2nd batch I let refrigerate for 24 hours. Not sure what my issue is?
Hi, Kyle, did you make any ingredient substitutions? If you used a butter replacement that has a lot of moisture, that would cause your cookies to be flat. Did you use one of my recommended flour blends, including xanthan gum, and measure by weight, not volume?