Chocolate Chip Cookie Dough

This is the chocolate chip cookie dough I keep in the fridge for tiny, joy-filled bites and last-minute cookie emergencies: soft, buttery, and packed with chocolate, with simple tips to make it safe to eat and easy to bake.

Elena Martinez

Elena Martinez

Elena Martinez is a former bakery manager turned full-time food writer and recipe developer. With over a decade of experience translating professional culinary techniques into approachable home cooking, she believes that a great meal doesn't require a culinary degree or expensive ingredients.

Chocolate Chip Cookie Dough

Ready to cook?

Skip the story, grab your apron, and let's get straight to the ingredients.

Jump to Recipe

Chocolate chip cookie dough is one of those kitchen comforts that feels like a shortcut to happiness. A spoonful while the oven preheats, a little “taste test” before a batch goes in, or a stash in the freezer for future-you. The trick is getting the texture just right: not greasy, not dry, not overly sweet, and definitely not gritty.

Below you will find the dough I rely on most, plus the small technique choices that make it consistent. I will also walk you through safe-to-eat options, because raw dough questions are real and you deserve a clear answer, not a vague shrug.

A glass mixing bowl filled with thick chocolate chip cookie dough, a wooden spoon resting inside, on a warm kitchen counter with soft natural light

Why this recipe works

Great chocolate chip cookie dough has three jobs:

  • It should be scoopable without crumbling or smearing into a greasy puddle.
  • It should taste balanced, meaning butter-forward with caramel notes from brown sugar, not just sweet.
  • It should bake predictably, spreading enough to get chewy edges while staying tender in the center.

Those goals come down to moisture (butter, eggs), structure (flour), sweetness (sugars), and just enough lift (leavening) when you plan to bake. When one of those is out of whack, the dough tells on itself immediately.

Ingredient notes

Butter

Room temperature butter creams smoothly with sugar, which helps the dough hold air and bake up a little lighter. Melted butter makes dough taste amazing but can lead to extra spread and a greasier feel unless you chill aggressively.

Brown sugar and granulated sugar

Brown sugar brings moisture and chew (thanks to molasses). White sugar helps cookies spread and encourages crisp edges. For dough that tastes like “cookie shop,” lean slightly heavier on brown sugar.

Flour

All-purpose flour is the standard. Too little flour and dough feels slick and loose. Too much and it goes dry and crumbly.

Leavening (for baking)

If you are baking this dough into cookies, you need a little lift. Baking soda helps the cookies spread into that classic chewy shape while keeping them from baking up dense and flat. If you are making dough only for eating, you can skip it.

Salt

If your dough tastes flat, it is almost always missing enough salt. Even if you are using salted butter, add a little salt. It makes the chocolate taste more chocolatey. It should taste pleasantly seasoned, not salty, so stay within the range in the recipe and adjust from there.

Vanilla

Vanilla reads as warmth, not “vanilla flavor.” Use what you have. If your vanilla is older and smells faint, bump it up slightly.

Egg (or egg plus yolk)

Egg binds and adds moisture. If you want extra richness and chew, swap in 1 whole egg plus 1 yolk instead of 2 whole eggs in larger-batch recipes. For the small batch below, one egg is enough.

Chocolate chips

Use semi-sweet for classic cookie flavor. For the most “bakery” vibe, do a mix of chips plus chopped chocolate. Chips hold their shape, chopped chocolate makes melty pockets.

Softened butter and brown sugar being mixed in a large bowl until fluffy, with a silicone spatula scraping down the sides

Equipment you will need

  • Medium mixing bowl
  • Hand mixer or sturdy spoon/spatula (for creaming and mixing)
  • Measuring cups/spoons
  • Instant-read thermometer (recommended for heat-treating flour; aim for 165°F throughout)
  • Rimmed baking sheet (for oven heat-treating flour)
  • Microwave-safe bowl (for microwave heat-treating flour)
  • Parchment-lined sheet pan (for chilling scoops and for baking)
  • Zip-top bag or airtight container (for freezing)

Pro tips

  • Heat-treat flour for edible dough: For the most reliable results, use an instant-read thermometer and aim for 165°F throughout. Cool completely before using so the butter does not melt and turn the dough greasy.
  • Chill for better texture: Even 30 minutes in the fridge improves flavor and texture. Sugar starts dissolving, flour hydrates, and the dough becomes less sticky. A few hours is even better if you have time.
  • Mix-in balance: Keep mix-ins around 3/4 cup per 1 cup flour for dough that still scoops cleanly (you can push it higher, but scooping gets harder).
  • Freeze smart: Portion into scoops, freeze on a sheet pan until firm, then transfer to a zip-top bag or airtight container.

Substitutes that work

  • Edible dough instead of egg: Replace the egg with 2 to 3 tablespoons milk (or cream, or a non-dairy milk). Start with 2 tablespoons, then add more if the dough feels dry.
  • Pasteurized eggs: Pasteurized shell eggs or liquid egg product addresses the egg concern, but it does not solve the raw flour issue unless your flour is heat-treated.
  • No brown sugar: Use all granulated sugar, but expect a slightly less chewy, less caramel-y flavor. If you have maple syrup or molasses, you can add 1 teaspoon for warmth, but reduce milk by 1 teaspoon to keep texture balanced.
  • Salted butter: Use it, but reduce added salt slightly (start by cutting it in half), then taste and adjust to the “pleasantly seasoned” zone.

Variations

  • Chocolate mix: Use a mix of chips plus chopped chocolate for a more “bakery” vibe (chips hold their shape; chopped chocolate makes melty pockets).
  • Deeper chocolate flavor: Add 1/2 teaspoon espresso powder (optional).
  • Mix-in ideas: Toasted pecans or walnuts, mini chips, chopped dark chocolate, crushed pretzels, toffee bits, or sprinkles (use jimmies, not nonpareils since nonpareils bleed color).

Serving ideas

  • Spoonful “taste tests” while the oven preheats.
  • Edible dough: Eat straight from the freezer like little dough truffles, or thaw in the fridge.
  • To bake: Scoop into portions and bake into cookies; let them finish setting as they cool.

Storage and reheating

Refrigerate: 3 to 4 days.

Freeze: Portion into scoops, freeze on a sheet pan until firm, then transfer to a zip-top bag or airtight container. Freeze up to 2 months for best flavor (longer is fine, but freezer flavors sneak in).

Bake from frozen: Add 1 to 3 minutes to the bake time.

Frozen balls of chocolate chip cookie dough stored in a clear airtight container, with frost crystals visible on the dough

Common mistakes

If the dough is too sticky

  • Chill it 30 to 60 minutes. Butter firms up and everything gets easier.
  • Add 1 to 2 tablespoons flour if it is truly loose. Add gradually and mix gently.

If the dough is dry or crumbly

  • Add 1 teaspoon milk at a time (or an extra teaspoon of softened butter) until it holds together.
  • Check your measuring. Scooping flour directly from the bag compacts it. Spoon and level if you can.

If it tastes overly sweet

  • Add a pinch more salt.
  • Stir in a handful of chopped toasted nuts or pretzels to balance it out.
Rounded scoops of chocolate chip cookie dough spaced on a parchment-lined baking sheet, ready to chill before baking

FAQ

Can I make cookie dough without brown sugar?

Yes. Use all granulated sugar, but expect a slightly less chewy, less caramel-y flavor. If you have maple syrup or molasses, you can add 1 teaspoon for warmth, but reduce milk by 1 teaspoon to keep texture balanced.

Why does my cookie dough taste gritty?

Usually the sugar has not dissolved much yet. Give it a longer mix at the butter-and-sugar stage, and consider chilling the dough 30 minutes before judging. Brown sugar that has gone rock-hard can also create grit. Break up lumps before mixing.

Can I use salted butter?

Absolutely. Reduce added salt slightly (start by cutting it in half), then taste and adjust. Keep it in the “pleasantly seasoned” zone and use the recipe’s salt range as your guardrails.

How do I make thicker cookies from this dough?

Chill the dough longer, scoop taller mounds (not flattened balls), and bake on a cool baking sheet. If you consistently want thick cookies, add 1 to 2 tablespoons extra flour next time.

Is it okay to eat the dough if I just leave out the eggs?

Leaving out eggs removes one risk, but raw flour is still the other big concern. If you are making edible dough, heat-treat the flour too.

The recipe

Chocolate Chip Cookie Dough

Soft, buttery chocolate chip cookie dough with an edible-dough option built in. Makes about 12 to 14 cookie-sized scoops (or 6 to 8 larger bakery scoops). Chilling is recommended for thicker, less sticky scoops and better flavor.

Prep
15 minutes (plus chilling recommended)
Cook
10 to 12 minutes (if baking)
Total
45 minutes (with 30-minute chill; longer if chilled more)
Yield
About 12 to 14 cookie-sized scoops (or 6 to 8 large scoops)

Ingredients

  • 1/2 cup (113 g) unsalted butter, softened
  • 1/2 cup (100 g) packed light brown sugar
  • 1/4 cup (50 g) granulated sugar
  • 1 1/2 teaspoons vanilla extract
  • 3/4 teaspoon kosher salt (or 1/2 teaspoon fine salt)
  • 1 large egg (for baking dough) or 2 tablespoons milk or cream, plus more as needed (for edible dough)
  • 1 cup (125 g) all-purpose flour (see notes for edible dough)
  • 1/2 teaspoon baking soda (for baking dough only)
  • 3/4 cup (130 g) semi-sweet chocolate chips (or a mix of chips and chopped chocolate)
  • Optional: 1/2 teaspoon espresso powder for deeper chocolate flavor

Instructions

A bowl of chocolate chip cookie dough with a scoop lifted out
Chocolate chip cookie dough, chilled and ready to scoop.
  1. Cream the butter and sugars: In a medium bowl, beat butter, brown sugar, and granulated sugar until fluffy, 1 to 2 minutes. Scrape the bowl.
    Butter, brown sugar and granulated sugar creamed until fluffy in a mixing bowl
    Beat the butter and sugars until fluffy, 1 to 2 minutes.
  2. Add flavor: Beat in vanilla, salt, and espresso powder if using.
  3. Add egg or milk: For baking dough, beat in 1 egg until glossy and fully combined. For edible dough, beat in 2 tablespoons milk, then add 1 teaspoon at a time until the dough is soft and scoopable.
  4. Add dry ingredients: For baking dough, sprinkle in the baking soda. Then mix in the flour just until no dry streaks remain. For edible dough, mix in the flour just until combined.
  5. Fold in chocolate: Stir in chocolate chips.
    Chocolate chips being stirred into thick cookie dough with a spatula
    Fold in the chocolate chips.
  6. Chill (recommended): Chill 30 minutes for thicker, less sticky scoops and better flavor.

Notes

  • Edible dough flour note: If you are eating this dough raw, heat-treat the flour first and cool completely before using. Do not skip cooling, or the dough can turn greasy.
  • How to heat-treat flour (165°F throughout):
    • Oven method: Spread flour in a thin, even layer on a rimmed baking sheet. Bake at 300°F for about 8 to 10 minutes, stirring halfway (more if needed), until an instant-read thermometer registers 165°F throughout. Let it cool completely.
    • Microwave method: Microwave flour in a microwave-safe bowl in 30-second bursts, stirring very well between each round, until an instant-read thermometer registers 165°F throughout. Stir and temp-check in a few spots. Cool completely.
  • To bake: Use the egg and baking soda. Scoop 1 1/2 tablespoon portions onto a parchment-lined sheet pan. Bake at 350°F for 10 to 12 minutes, until the edges look set and the centers look puffed but still soft. They finish setting as they cool. Cool 10 minutes on the pan.
  • Storage: Refrigerate 3 to 4 days. Freeze up to 2 months for best flavor.
  • Frozen baking: Bake from frozen and add 1 to 3 minutes to the bake time.

Nutrition

  • Calories: ~190
  • Fat: ~9 g
  • Carbs: ~26 g
  • Protein: ~2 g
  • Fiber: ~1 g
  • Sugar: ~16 g
  • Sodium: ~140 mg

Approximate values per serving (about 1 of 14 cookie-sized scoops); nutrition will vary by brands and whether you use egg or milk.