Gluten-Free Cookies: Recipes and the Rules That Stop Crumbling

Gluten free cookies that hold together: one master dough for chocolate chip, sugar, and peanut butter, plus the chilling trick that stops crumbling.

A stack of homemade chocolate chip cookies with a bite taken from the top cookie.

Gluten-free cookies fail in two predictable ways: they crumble into sand when you pick them up, or they spread into one flat sheet across the pan. Both failures are chemistry, not bad luck, and both are fixable with one good base dough and a 30-minute chill. As a food scientist who has spent years on gluten and its replacements, I can tell you gluten-free cookies are the easiest gluten-free bake there is, because cookies never needed much gluten in the first place. Master the dough below and you have chocolate chip, sugar, peanut butter, and oatmeal cookies all from the same bowl.

Quick answer: To make gluten-free cookies, cream butter and sugar, beat in an egg and vanilla, then mix in a rice-flour-based gluten-free blend that contains xanthan gum, plus baking soda and salt. Chill the dough for 30 minutes so the flour fully hydrates, then bake at 350°F for 10 to 12 minutes. The chill is the step most people skip, and it is the difference between a chewy cookie and a gritty, flat one.

How do you make gluten-free cookies?

Start with this master dough. On its own it bakes into a classic chewy cookie; the variations section below turns it into every cookie in the tin.

Yield: about 24 cookies Prep: 15 min Chill: 30 min Bake: 12 min Total: 57 min
Ingredients
  • 225 g (1 3/4 cups) gluten-free all-purpose flour blend with xanthan gum
  • 115 g (1/2 cup) butter, softened
  • 100 g (1/2 cup) brown sugar
  • 100 g (1/2 cup) granulated sugar
  • 1 large egg
  • 1 tsp vanilla extract
  • 1/2 tsp baking soda
  • 1/4 tsp fine salt
  1. Cream the butter and sugars. Beat the softened butter with the brown and granulated sugar until light and fluffy, about 2 minutes. This builds the air that gives the cookies lift.
  2. Add the egg and vanilla. Beat until fully combined and slightly glossy.
  3. Mix in the dry ingredients. Whisk the gluten-free flour blend, baking soda, and salt together, then stir into the wet mix until no dry streaks remain. The dough will feel softer than wheat cookie dough; that is normal.
  4. Chill for 30 minutes. Cover the bowl and refrigerate. The rest lets the rice flour hydrate fully, which kills grittiness and firms the butter so the cookies spread evenly instead of flattening.
  5. Scoop and bake for 10 to 12 minutes at 350°F. Portion 2-tablespoon balls onto a parchment-lined sheet, spaced well apart, and bake until the edges are set and golden but the centers still look slightly underdone.
  6. Cool on the pan for 5 minutes. Gluten-free cookies finish setting as they cool; moving them too soon is when they break.

What flour works best for gluten-free cookies?

A rice-flour-based gluten-free blend that already contains xanthan gum, which is what most 1-to-1 baking blends are. Cookies only need a little structure, so the small dose of gum in a commercial blend is enough; there is no need for the psyllium that our gluten-free bread recipe depends on. If you blend your own from white rice flour, our gluten-free flour guide has the ratios, and swapping a quarter of the flour for sorghum or buckwheat flour adds a warm, brown-butter depth that plain rice flour lacks. Oat flour makes an especially soft, cakey cookie.

One caution for celiac households: ancient wheats are still wheat on the Celiac Disease Foundation’s gluten sources list, so a spelt or einkorn cookie is not gluten-free, as our is spelt gluten-free explainer covers. And per the FDA’s gluten-free labeling rule, only ingredients tested under 20 ppm can carry the label, which matters most for oats.

Why do gluten-free cookies crumble?

Because there is not enough binder holding the starch together once the butter sets. Gluten normally supplies a stretchy protein web; without it, a cookie relies on egg protein and the gum in the flour blend. The three fixes, in order: use a blend that includes xanthan gum rather than a gum-free blend, do not skip the egg, and weigh the flour instead of scooping cups, since even 15 percent extra flour outruns the available binder and turns the crumb to sand. If a batch still crumbles, add a second egg yolk; it is the cheapest structural upgrade in baking.

Why do you chill gluten-free cookie dough?

Chilling does two jobs that matter more for gluten-free dough than for wheat dough. First, rice flour is harder than wheat flour and needs time to absorb moisture; a 30-minute rest hydrates the grains, so the baked cookie is smooth instead of gritty. Second, chilled butter melts slower in the oven, so the cookies spread in a controlled circle instead of racing flat before the crumb sets. If your gluten-free cookies always come out thin and greasy, the missing chill is almost always why.

How does one dough become different cookies?

The master dough is a chassis, and each variation is a small modification made right after the flour goes in. The counts below assume one full batch of dough.

CookieChange to the base doughBake notes
Chocolate chipStir in 170 g (1 cup) chocolate chipsBake as written
Sugar cookiesSkip brown sugar, use 200 g white sugar; roll balls in sugarFlatten slightly; 9 to 11 min
Peanut butterBeat in 125 g (1/2 cup) peanut butter with the butterPress with a fork; 11 to 13 min
OatmealReplace 60 g of flour with 80 g certified gluten-free rolled oatsChill 45 min; 12 to 14 min
Double chocolateReplace 30 g of flour with cocoa powder; add chipsBake as written

For the oatmeal variation, the certified label is non-negotiable: standard oats carry wheat cross-contact, as our is oatmeal gluten-free explainer details, so use certified gluten-free rolled oats and check the bag every time.

Where to go from here

Cookies are the friendliest doorway into gluten-free baking, because the stakes are one tray instead of a whole loaf. Once the master dough feels automatic, the same flour knowledge scales up to our gluten-free bread and gluten-free pizza crust, and the gluten-free grains guide maps the naturally safe pantry, from oats to sorghum, that feeds all of it. Bake a batch, note how your blend behaves, and adjust one variable at a time; that is the whole science of it.

Frequently asked questions

Are gluten-free cookies healthier than regular cookies?

No. Gluten-free describes what is absent, not what is added, and a gluten-free cookie has the same butter and sugar as any other. Bake them because you need them or love them, not for health points.

Can I use almond flour instead of a gluten-free blend?

Not in this recipe. Almond flour has fat and no starch, so it behaves completely differently and needs a recipe built around it. Swapping it one-for-one into a rice-blend dough gives you greasy, dense pucks.

Why did my gluten-free cookies spread flat?

Butter too warm, dough unchilled, or a blend with no xanthan gum. Chill the dough the full 30 minutes, and if the first tray still spreads, stir 1 to 2 tablespoons more flour into the remaining dough.

Can I freeze gluten-free cookie dough?

Yes, and it bakes beautifully from frozen. Scoop the dough into balls, freeze them solid on a tray, then bag them; bake straight from the freezer with 2 extra minutes.

Stock your gluten-free baking pantry

Rice flour, certified oats, sorghum, and the rest of the naturally gluten-free grains and flours we trust for baking.

Browse all grains →