Gluten-Free Chocolate Chip Cookies

Gluten-free chocolate chip cookies are often the holy grail of gluten-free bakers. Crispy, butter cookies that are overflowing with gooey, dark chocolate–who could resist? Now you don’t have to, with Shauna James Ahern’s take on our own David Leite’s little lovelies.

A person holding a gluten-free chocolate chip cookie broken in half.

I’m standing at the kitchen counter, with my daughter, baking chocolate chip cookies. Again.

Five years ago, I wouldn’t have believed this possible. Just diagnosed with celiac disease after a long bout of feeling lousy, I was happy to let go of the crusty ficelle from Macrina Bakery, the pumpkin pie at Thanksgiving, the cold beer on a hot day. But my attitude was not quite as blithe when it came to baking certain foods in my own kitchen. I’d spent a lifetime of afternoons making apple pies in the fall, sugar cookies during the holidays, and soft dumplings for chicken stew each winter. Mixing flour with butter and sugar sustained me through some mighty difficult times in my life. Still, living without gluten seemed to mean living without baked goods, except for the ones sold in stores. You know the ones I’m referring to—the ones that try to pass for the real thing but look and taste like compressed sawdust. Better to live without, I thought. With that, I gave away all of my dessert cookbooks. I didn’t think I’d ever bake again.

This only lasted for so long. After a few months, I craved the physical act of baking more than what I baked. Creaming butter and sugar in my battered KitchenAid. Smelling the vanilla extract before I poured it from the cap. Watching the dry ingredients mix with the wet to create a supple dough of sweetness. So I bought little bags of unfamiliar flours and returned to the kitchen.

People who bake with gluten follow the traditions that were handed down to them. Those of us who bake gluten-free make the traditions up as we go along. You could say it’s more exciting this way. My chef husband, Danny, arrived on the scene in the middle of my quest, and together we began inventing recipes—and cleaning up after our shared kitchen disasters. Like the time he forgot to add xanthan gum to a cake recipe we were creating. An ingredient I had previously only heard of in ice cream and molecular gastronomy, xanthan gum gives baked goods structure and lightness. Without this sort of replacement for gluten, a cake will puff up like a guy’s chest when he talks to a pretty girl, then collapse like his ego when she doesn’t return his call. We laughed and learned from that messy experiment, and kept baking.

Then, nearly two years ago, just a few weeks before my daughter, Lucy, was born, The New York Times published a story by David Leite. Actually, it was the photograph that grabbed my eye. A baking tray with warm chocolate chip cookies packed in tight rows, like little kids waiting to be released for recess. One look at the melting chocolate, the caramel color, and the crisp edges of the cookies, and I wanted one.

Oh, I wanted one bad.

And not just for the obvious reasons. I wanted to learn how to make these cookies so that Lucy and I could bake together. So that I could hand her one from the cookie jar when she came home from school someday.

Butter, brown sugar, baking powder, and eggs are gluten-free. That was easy. Dagoba chocolate tastes of deep, dark chocolate and of safety, since it’s made in a gluten-free facility. The trick was the precise proportions of bread and cake flours called for by David’s recipe. It took me nearly nine months of thinking and baking and baking and thinking to recreate those cookies, as well as some—okay, many—failures. Even after having worked with those little bags of now-familiar flours for a few years, they could still be relatively elusive—each recipe a new adventure.

The first batch, made with rice flour and cornstarch, tasted like packing material. Another early attempt came out heavy enough to fling at a burglar’s head. Garbanzo bean flour may have the necessary protein to replace the protein lost with gluten, but cookies made with it taste like falafel larded with chocolate chips. No thanks. I started using amaranth flour instead, as it has ample protein but doesn’t taste like beans. Sorghum flour has the texture of whole-wheat flour and lent the dough some heft, while tapioca and potato starch offset its heaviness. This time, we didn’t forget to add the xanthan gum. After all this, the thought of baking with all-purpose flour actually seemed pretty boring to me.

As I tried different flours and varying methods, Lucy learned to roll over and pull herself up to stand. She was nearly ready to wait expectantly at the kitchen counter by the time the batch came out of the oven. They were warm, disappeared quickly, and inspired companionable silence. I didn’t care if these cookies weren’t exactly the same as what I’d grown up with. Everyone in the room agreed: these cookies—these gluten-free cookies—were the best chocolate chip cookies any of us had ever eaten. Ever.

This is no longer David’s recipe. It’s my chocolate chip cookie recipe now, the one I bake with Lucy. She and I stand side by side while we make them. As I turn toward the cupboard to grab the flours, I see her stretch her arm toward the bowl of chocolate chips for another taste. “Hey Boo,” I call out, and she draws back her hand, smiling. She’s not even two. She’s still listening to me.

Yes, we’re making chocolate chip cookies together, from the recipe that I’ll pass along to her someday when the edges are frayed and stained with chocolate. Our recipe.–Shauna James Ahern

LC Note

This recipe, which originally appeared on Shauna’s blog, inspired no fewer than 92 comments at last count. Suffice it to say, there were a lot of deliriously happy home bakers in the days after this recipe first went public–and there are even more today.

Gluten-Free Chocolate Chip Cookie

A person holding a gluten-free chocolate chip cookie broken in half.
This is my version of David Leite's exceptional chocolate chip cookies, made gluten-free. Sorghum and amaranth flours, tapioca and potato starch, xanthan gum, and loads of rich, dark chocolate chips make them truly delicious.

Prep 15 mins
Cook 1 hr
Total 1 hr 15 mins
347 kcal
4.89 / 9 votes


  • 1 cup sorghum flour
  • 1 cup tapioca starch
  • 1 cup potato starch
  • 1 cup amaranth flour
  • 1 tablespoon xanthan gum
  • 1 1/2 teaspoons baking soda
  • 2 teaspoons baking powder
  • 1 1/2 teaspoons kosher salt
  • 2 1/2 sticks unsalted butter at room temperature
  • 1 1/4 cups brown sugar
  • 1 cup plus 2 tablespoon granulated sugar (we used bakers’ sugar, which is extra fine)
  • 2 large eggs at room temperature
  • 2 teaspoons vanilla extract
  • 16 ounces Dagoba chocodrops
  • Sea salt


  • Sift each of the flours into a bowl. Add the xanthan gum, baking soda, baking powder, and salt and whisk.
  • Place the butter and the sugars in the bowl of a stand mixer and, using the paddle attachment, when you’re noticing that they’re well combined, mix for 1 minute more. Don’t overmix.
  • Add the eggs, 1 at a time, making sure each is fully incorporated before adding the next. Add the vanilla extract and mix.
  • Add the flour mixture into the batter, 1/2 cup at a time, mix just until the dry ingredients have been incorporated before adding the next addition. Add the chocolate and mix just for a moment.
  • Cover the dough with plastic wrap and refrigerate for 36 hours. (Yep. Really. 36 hours.)
  • When it’s time to bake, pull the dough from the refrigerator and preheat the oven to 350°F (175° C). Line a baking sheet with parchment paper.
  • Scoop generous balls of dough from the bowl. You can determine the size for yourself. (If you want them to mimic the indulgently sized cookies found in pastry shops, the dough should be the size of golf balls (about 3 1/2 ounces each). Place 6 of them on the baking sheet. Poke any errant pieces of chocolate back into the dough. Sprinkle the top of each cookie with the sea salt.
  • Bake the cookies about 18 minutes, less if you make smaller cookies, or until the tops have turned golden brown. The middles should still be somewhat soft. Take the baking sheet out of the oven. Let the cookies cool on the baking sheet for 10 minutes. Then transfer the cookies to a wire rack and let them cool for a few more moments.
  • Eat your warm gluten-free chocolate chip cookies and be grateful.

Show Nutrition

Serving: 1cookieCalories: 347kcal (17%)Carbohydrates: 48g (16%)Protein: 4g (8%)Fat: 16g (25%)Saturated Fat: 12g (75%)Polyunsaturated Fat: 1gMonounsaturated Fat: 3gTrans Fat: 0.4gCholesterol: 41mg (14%)Sodium: 262mg (11%)Potassium: 262mg (7%)Fiber: 2g (8%)Sugar: 26g (29%)Vitamin A: 319IU (6%)Vitamin C: 1mg (1%)Calcium: 98mg (10%)Iron: 1mg (6%)

#leitesculinaria on Instagram If you make this recipe, snap a photo and hashtag it #LeitesCulinaria. We’d love to see your creations on Instagram, Facebook, and Twitter.

Recipe Testers’ Reviews

I’d already made these once before our official testing, and was delighted to have another excuse to make them. I only can say that these are amazing chocolate chip cookies. They’re soft in the middle, slightly crispy on the outside (they soften up after a day or so, though), with just a wonderful moist, yet slightly dense, texture. I love these. I used granulated cane juice, light brown sugar, and a different brand of semisweet chocolate chips, as I can’t find Dagoba. It’s problematic for me to have these sit for three days, though—I can’t seem to leave the batter alone.

This recipe rules and is my definite favorite chocolate chip cookie recipe. The combination of the flours and starches gives excellent results. Sometimes the proper ratios in gluten-free recipes are tricky. In this recipe, all the work is done for me! My non-celiac husband adores these cookies and prefers them to gluten cookies I’ve made in the past. I hate to admit this, but even the raw dough is great! The texture is so lovely and soft, yet chewy. These cookies make me smile. They are simply delicious.

Originally published May 12, 2010


#leitesculinaria on Instagram If you make this recipe, snap a photo and hashtag it #LeitesCulinaria. We'd love to see your creations on Instagram, Facebook, and Twitter.


  1. Hi, online searching for recipes on newly diagnosed gluten free lifestyle and came across this, hope to try once I figure out where to buy all my gluten free stuff, but I am also supposed to stay away from potato starch, is there a substitute for it?

    1. Gretchen, you could try tapioca starch or arrowroot. Do let us know how they turn out!

  2. 5 stars
    Thank you for sharing her recipe with your readers!!! This recipe is my family’s VERY favorite cookie recipe. Hands down the one my husband always asks me to make – and he can eat gluten! I went to find the recipe and it has disappeared. I was almost to the point of tears, yes this recipe is that important to me. It is now hand written on a recipe card, and has a place in my recipe box. I’m off to mix up the batter with a smile on my face. By the way, I give this recipe the full five stars!

  3. 5 stars
    David Leite’s recipe wasn’t my favorite chocolate chip cookie recipe before I had to give up wheat but it was my family’s favorite so I made them frequently. I was so glad to find someone had adapted it to be gluten free and it was with high hopes that my family and I watched these bake. My family loves them. I’m the only one who notices the flavor of the amaranth although to be fair, I don’t know if I would notice it if I didn’t know it was in there. Ultimately, they’re very good and certainly worth making whenever the urge for a yummy, decadent cookie hits.

    1. Hi Wendi, I’m happy that you found a version of the cookies that works for you and your family. We all were very impressed with Shauna’s results. Munch on!

  4. 5 stars
    Super yummy recipe! I can’t wait to try it! It sounded so good I went ahead and shared it on my food blog! Yum!

  5. 5 stars
    Xanthum gum has always been hard to find. I haven’t looked in a while. Our new supermarket has a lot of gluten-free products now—it has a whole section for GF folks. I don’t remember seeing sorghum flour there. I wonder if they have it. When I was low-carbbing it, I would’ve loved to make this. Now I am trying to eat less gluten as diabetes runs in my family, altho’ I don’t have it. Thanks for all your testing and creating. I can’t wait to get all the ingredients and get baking.

Have something to say?

Then tell us. Have a picture you'd like to add to your comment? Attach it below. And as always, please take a gander at our comment policy before posting.

Rate this recipe!

Have you tried this recipe? Let us know what you think.

Upload a picture of your dish