Published September 6, 2026 | By Recipe Desk | Reading time: about 15 minutes
If you want a chocolate chip cookie that is crisp around the edges but soft, chewy, and deeply chocolatey in the middle, this is the recipe to start with. It is designed for the kind of cookie most people actually want to eat: not cakey, not rock-hard, and not so thin that it disappears after the first bite.
The difference between an average cookie and a memorable one rarely comes down to a secret ingredient. It comes down to small decisions: how the flour is measured, how soft the butter is, how long the dough rests, how much the cookies spread, and exactly when they are pulled from the oven. This guide brings those decisions together in one practical recipe.
You will also find adjustments for chewier or crispier cookies, troubleshooting advice for common baking problems, storage and freezing instructions, ingredient substitutions, and practical tips for conventional ovens, OTGs, and convection microwaves.
Quick Answer: What Makes a Great Chocolate Chip Cookie?
The best chocolate chip cookie has crisp, golden edges and a soft, chewy center, with a balanced buttery, caramel-like sweetness and generous pockets of melted chocolate. For this recipe, use softened unsalted butter, a higher proportion of brown sugar than white sugar, properly measured all-purpose flour, two eggs, semisweet or dark chocolate, and a chilled dough. Bake at 375°F (190°C) for about 9 to 11 minutes, then let the cookies finish setting on the baking sheet.
- Prep time: 20 minutes
- Chilling time: At least 30 minutes; 24 to 48 hours for deeper flavor
- Bake time: 9 to 11 minutes
- Total time: About 2 hours 30 minutes with a short chill
- Yield: About 24 medium cookies
- Oven temperature: 375°F (190°C)
- Best texture: Crisp edges and chewy centers
Why This Chocolate Chip Cookie Recipe Works
A good cookie is an exercise in balance. Too much flour can make it dry and cakey. Too little flour can turn it into a greasy, overly thin disk. Too much white sugar encourages spreading and crispness, while brown sugar contributes moisture and chew. Butter supplies richness and helps create those browned, aromatic edges.
This recipe uses both brown and white sugar because they perform different jobs. Brown sugar brings moisture and a deeper molasses-like flavor, while white sugar helps the edges caramelize and become crisp. The result is a cookie with contrasting textures instead of a uniform, soft bite.
The dough is also chilled before baking. That step is easy to skip when you are impatient, but it matters. Cold dough takes longer to spread in the oven, giving the flour time to hydrate and the cookie time to develop a more substantial center. A longer rest can also deepen the flavor.
The Chocolate Chip Cookie Formula at a Glance
| Ingredient | Amount | What It Does |
|---|---|---|
| All-purpose flour | 280 g | Provides structure |
| Unsalted butter | 225 g | Adds richness and helps create spread |
| Brown sugar | 200 g | Adds moisture, chew, and caramel-like flavor |
| White sugar | 100 g | Promotes crisp edges and browning |
| Eggs | 2 large | Add moisture, structure, and richness |
| Chocolate chips | 350 g | Provides the main chocolate flavor |
Ingredients for About 24 Cookies
- 280 g all-purpose flour, about 2 1/4 cups when measured correctly
- 1 teaspoon baking soda
- 1/2 teaspoon baking powder
- 1 teaspoon fine salt
- 225 g unsalted butter, softened but not melted
- 200 g packed brown sugar
- 100 g granulated white sugar
- 2 large eggs, preferably at room temperature
- 2 teaspoons vanilla extract
- 350 g semisweet or dark chocolate chips
- Flaky sea salt, optional, for finishing
You can also add about 100 g of chopped walnuts or pecans if you like a nutty cookie with extra crunch.
What Kind of Chocolate Should You Use?
Semisweet chocolate is the safest choice if you want a classic American-style chocolate chip cookie. Chocolate in the 55% to 65% cocoa range generally provides enough bitterness to balance the sugar without overpowering the buttery dough.
Dark chocolate works particularly well if you prefer a less sugary cookie. You can also replace some of the chips with chopped chocolate bars. This creates irregular pieces that melt into larger chocolate pools instead of producing perfectly uniform chips.
For an especially attractive finish, reserve a small handful of chocolate pieces and press them onto the dough balls immediately before baking. They will remain visible on the surface and create those dramatic melted-chocolate pockets that make homemade cookies look bakery-worthy.
How to Measure Flour Without Ruining the Texture
One of the most common reasons cookies turn out too dry is excess flour. Scooping flour directly from a storage container with a measuring cup can compact it, giving you considerably more flour than intended.
A kitchen scale is the most reliable option. If you do not have one, use the spoon-and-level method: lightly spoon flour into the measuring cup, then sweep a straight edge across the top to remove the excess. Do not press the flour down.
This small habit is particularly important in cookie recipes because a relatively modest change in flour can noticeably alter spread, softness, and chewiness.
Step-by-Step Chocolate Chip Cookie Recipe
Step 1: Prepare the Dry Ingredients
Whisk the flour, baking soda, baking powder, and salt together in a medium bowl. Whisking is enough to distribute the leavening agents evenly; sifting is optional if your flour is already smooth and free of lumps.
Set the bowl aside while you prepare the butter mixture.
Step 2: Cream the Butter and Sugars
Place the softened butter, brown sugar, and white sugar in a large mixing bowl. Beat on medium-high speed for about 3 to 4 minutes, scraping down the sides of the bowl once or twice.
The mixture should look lighter and noticeably fluffy. This process incorporates air into the butter and helps determine the final structure of the cookie.
Important: Softened butter means pliable butter that still holds its shape. It should not look glossy, oily, or partially melted.
Step 3: Add the Eggs and Vanilla
Add the eggs one at a time, mixing after each addition. Add the vanilla extract and mix until incorporated.
The mixture may briefly look slightly curdled, particularly if the eggs are colder than the butter. That is not a problem. Once the flour is added, the dough will come together.
Step 4: Add the Dry Ingredients
Add the flour mixture in two or three additions. Mix on low speed or use a rubber spatula and fold gently until you can no longer see dry flour.
Stop mixing as soon as the dough comes together. Overmixing can develop more gluten than you want, which may make the finished cookies tougher.
Step 5: Fold in the Chocolate
Fold the chocolate chips into the dough with a spatula. If you are adding walnuts or pecans, fold them in at the same time.
Do not aggressively stir the dough. A gentle folding motion keeps the mixture cohesive without overworking it.
Step 6: Chill the Dough
Cover the dough and refrigerate it for at least 30 minutes. If you have time, let it rest for 24 to 48 hours.
A short chill helps control spreading. A longer rest gives the flour more time to hydrate and can produce a more developed, caramel-like flavor after baking.
If you refrigerate the dough overnight, let it sit at room temperature for several minutes before scooping if it has become extremely firm.
Step 7: Portion the Dough
Line a baking sheet with parchment paper or a silicone baking mat. Portion the dough into evenly sized balls and place them at least 2 inches (5 cm) apart.
For consistent baking, try to make every dough ball approximately the same size. A cookie scoop makes this easier, but a tablespoon or small ice cream scoop also works.
Step 8: Bake at 375°F
Preheat the oven thoroughly to 375°F (190°C). Bake the cookies for approximately 9 to 11 minutes.
Look for golden-brown edges while the centers still appear slightly soft. Do not wait for the entire cookie to become firm and deeply brown in the oven. The cookies continue setting after they come out.
Step 9: Let Them Set on the Baking Sheet
Leave the cookies on the hot baking sheet for about 5 minutes. Then transfer them to a cooling rack.
This short resting period is important because freshly baked cookies are fragile. Moving them immediately can cause the centers to break apart before their structure has set.
How to Tell When Chocolate Chip Cookies Are Done
Time is useful, but appearance is a better guide because ovens vary. A properly baked chewy chocolate chip cookie should have edges that look set and lightly golden while the center still looks somewhat soft.
If the entire cookie looks firm and deeply brown while it is still in the oven, it is likely to become crisp or hard after cooling.
For a softer cookie, remove it earlier. For a crispier cookie, allow the edges and center to brown more thoroughly and add roughly 1 to 2 minutes of baking time.
Why Do Chocolate Chip Cookies Spread Too Much?
Flat cookies are usually the result of a combination of butter temperature, flour quantity, dough temperature, and oven heat.
- The butter was too warm: Melted or nearly melted butter encourages rapid spreading.
- The dough was not chilled: Warm dough begins spreading before its structure can set.
- There was too little flour: Under-measured flour produces a loose dough.
- The baking sheet was hot: Dough placed on a hot sheet can begin melting before it reaches the oven.
- The oven was not hot enough: A slow-setting cookie can spread excessively before its structure develops.
If the first test cookie spreads dramatically, do not immediately change the entire recipe. Chill the remaining dough longer and bake one more test cookie. That simple adjustment can often reveal whether temperature was the main problem.
Why Are My Cookies Too Thick or Cakey?
Cookies can become too thick when there is too much flour, too much leavening, insufficient spreading, or butter that was not properly creamed.
Start by checking how you measured the flour. Then make sure the butter was genuinely softened before creaming it with the sugars. If the dough looks unusually stiff, do not automatically add liquid; the better solution is usually to identify whether the flour was over-measured.
How to Make Chewy Chocolate Chip Cookies
If your ideal cookie is soft and chewy rather than crisp, emphasize moisture and avoid overbaking.
- Keep brown sugar higher than white sugar.
- Chill the dough before baking.
- Consider adding one extra egg yolk for a richer, softer texture.
- Use semisweet or dark chocolate for contrast.
- Remove the cookies while the centers still look soft.
- Let them finish setting on the baking sheet.
The most important point is the final one: a chewy cookie should look slightly underdone when it leaves the oven. If it already looks completely finished inside the oven, it will likely be firmer once cooled.
How to Make Crispy Chocolate Chip Cookies
For a thinner, more delicate, crisp cookie, increase the influence of granulated sugar and bake until the cookies are more thoroughly golden.
- Use a somewhat higher proportion of white sugar.
- Flatten the dough slightly before baking if needed.
- Allow the cookies to bake until the center has developed more color.
- Cool them completely before judging the final crispness.
Remember that crispness develops as cookies cool. A cookie that seems slightly soft immediately after baking may become significantly crisper 20 to 30 minutes later.
The Science Behind the Cookie
What Butter Does
Butter provides fat, flavor, moisture, and spread. Softened butter that is creamed with sugar incorporates air, while melted butter generally produces a flatter and chewier cookie.
The temperature of the butter is therefore not a minor detail. It is one of the variables that determines the cookie's shape before the first bite.
What Brown Sugar Does
Brown sugar contains molasses, which contributes moisture and a deeper flavor. It generally produces a softer, chewier texture than an equal amount of granulated sugar.
What White Sugar Does
Granulated sugar encourages spreading, browning, and crispness. Using both sugars creates a more interesting texture than relying entirely on one.
What Eggs Do
Egg whites contribute structure while yolks provide fat and emulsifying power. The yolk also contributes richness, which is why an additional yolk is a useful option when you want a more tender, chewy cookie.
Baking Soda vs. Baking Powder
Baking soda is alkaline and contributes to browning and spread when the recipe contains suitable acidic ingredients. Baking powder contains both an acid and a base and generally provides additional lift.
Using both can help balance the cookie's color, spread, and thickness, but more is not necessarily better. Excess leavening can create an unpleasant taste or an unstable cookie structure.
Why Salt Matters
Salt does more than make a cookie salty. It sharpens the flavor of the chocolate and keeps the sweetness from becoming one-dimensional. A small amount can make the entire cookie taste more balanced.
How to Get More Chocolate in Every Bite
Do not rely exclusively on small chocolate chips. Combine chips with chopped chocolate for different sizes and textures.
Small chips distribute chocolate throughout the dough, while chopped chocolate creates larger melted pockets. A few reserved pieces pressed onto each dough ball before baking also improve the appearance of the finished cookie.
Chocolate Chip Cookie Tips for Indian Kitchens
American cookie recipes are often written around conventional American ovens, but home bakers in India frequently use OTGs and convection microwave ovens. The basic recipe still works, but equipment differences matter.
- OTG: If the bottom of your cookies burns quickly, try using a second empty baking tray underneath the cookie tray to reduce direct bottom heat.
- Convection microwave: Follow the manufacturer's guidance for convection baking and use a suitable metal baking tray only when the appliance permits it.
- Hot weather: Chill the dough longer if the kitchen is warm. You can also refrigerate the chocolate briefly before mixing.
- Very soft butter: If your kitchen is hot, return the butter to the refrigerator for a few minutes rather than allowing it to become oily.
- Brown sugar: If packaged brown sugar is difficult to find, a homemade version using granulated sugar and molasses can work, although the flavor will not be identical to commercial brown sugar.
- Salted butter: If using salted butter, reduce the additional salt slightly according to the saltiness of the butter.
The most useful investment for any serious home baker is an inexpensive oven thermometer. Oven displays can be inaccurate, and even a modest temperature difference can change how quickly cookies spread and brown.
Ingredient Substitutions
Substitutions are possible, but they are not always one-for-one replacements. Changing a major ingredient can change the chemistry of the dough.
- Butter: Margarine or vegetable shortening can work, but the flavor and spread will change. Coconut oil also produces a different texture.
- Eggs: Applesauce, mashed banana, yogurt, or a flax egg can be used in some egg-free versions, but the finished cookie will not have exactly the same structure.
- Vanilla extract: Vanilla essence can be used, although pure extract usually provides a more rounded flavor.
- Whole wheat flour: Replacing part of the all-purpose flour with whole wheat flour adds a nuttier flavor but can make the cookies denser.
- Chocolate chips: Chopped chocolate bars are an excellent alternative and often produce larger melted pockets.
Popular Chocolate Chip Cookie Variations
Brown Butter Chocolate Chip Cookies
Brown the butter gently until the milk solids turn golden and smell nutty. Let it cool before incorporating it into the dough. Brown butter adds a deeper toasted flavor, but because its water content changes during browning, the dough may need slight adjustment.
Sea Salt Chocolate Chip Cookies
Sprinkle a small amount of flaky sea salt over the dough immediately before baking. The contrast between salt and dark chocolate is especially effective.
Double Chocolate Cookies
Replace a portion of the flour with unsweetened cocoa powder. Because cocoa changes the structure and moisture balance, make the substitution deliberately rather than simply adding cocoa on top of the original flour quantity.
Chocolate Walnut Cookies
Add chopped toasted walnuts for crunch and a more pronounced roasted flavor.
Oatmeal Chocolate Chip Cookies
Add rolled oats for a heartier texture. Expect a denser cookie than the classic version.
Gluten-Free Chocolate Chip Cookies
A quality 1-to-1 gluten-free baking flour blend can be used in many cases. Choose a blend formulated specifically for baking rather than a single gluten-free flour such as rice flour alone.
Common Mistakes New Bakers Make
The first mistake is treating a cookie recipe as if every ingredient can be measured casually. It cannot. Flour, butter, sugar, and eggs all affect the final structure.
The second mistake is skipping the chill. You can technically bake unchilled dough, but the result may be thinner and less controlled.
The third is opening the oven repeatedly. Every time the door opens, heat escapes. Unless you need to rotate a tray because your oven has a known hot spot, keep the door closed until the cookies are close to done.
The fourth is baking on a hot sheet. If you are making several batches, allow the baking sheet to cool before putting fresh dough onto it.
The fifth is judging doneness by firmness alone. A chewy cookie is supposed to be soft when it first comes out of the oven.
How to Store Chocolate Chip Cookies
Store completely cooled cookies in an airtight container at room temperature. They are best within the first few days, although they can remain enjoyable for roughly 4 to 5 days when properly stored.
If your cookies are becoming dry, a small piece of bread in the container can help maintain a softer texture. Keep the bread separate from the cookies as much as practical and replace it if it becomes stale or damp.
Can You Freeze Chocolate Chip Cookie Dough?
Yes. Freezing the dough is one of the best ways to have freshly baked cookies without preparing the dough from scratch every time.
Portion the dough into individual balls and place them on a tray. Freeze until firm, then transfer them to an airtight freezer bag or container. Label the container with the date.
For best quality, use frozen cookie dough within about 3 months. You can generally bake the dough directly from frozen, adding a few minutes to the baking time. Watch the visual cues rather than relying only on the clock.
Can You Freeze Baked Chocolate Chip Cookies?
Yes. Allow the cookies to cool completely, then place them in an airtight freezer-safe container with parchment between layers if necessary.
They can generally be kept frozen for up to about 3 months for good quality. Thaw them at room temperature, or warm them briefly in the oven if you want to bring back some of the fresh-baked aroma and softness.
How Long Does Chocolate Chip Cookie Dough Last in the Refrigerator?
For this recipe, 24 to 48 hours is a practical sweet spot for flavor and texture. The dough can generally be kept for a few days when tightly covered and properly refrigerated, but quality gradually changes over time.
If the dough develops an unusual smell, visible spoilage, or has been stored outside safe refrigeration temperatures, discard it rather than trying to rescue it.
High-Altitude and Humidity Adjustments
Baking at high altitude can require recipe adjustments because lower atmospheric pressure changes how gases expand and how moisture behaves. There is no single adjustment that works for every elevation, oven, and recipe.
Rather than making a large change immediately, start with a small test batch. If the cookies spread too much, a modest increase in flour or reduction in leavening may help. If they dry out quickly, the baking time or liquid balance may need adjustment.
Humidity can also affect how flour behaves. This is another reason weighing flour is more reliable than relying on volume measurements.
What to Do If the First Batch Goes Wrong
Do not throw away the entire bowl of dough after one disappointing cookie. Bake one test cookie first whenever you are unsure about your dough.
- Too flat: Chill the dough longer and verify the flour measurement.
- Too thick: Check for excess flour and avoid over-chilling if the dough becomes extremely firm.
- Too dry: Check flour measurement and baking time.
- Too greasy: Check whether the butter was partially melted and whether the dough was sufficiently chilled.
- Too dark underneath: Lower the rack position only if appropriate for your oven, reduce direct bottom heat, or use a second baking sheet.
- Centers still raw: Bake slightly longer, reduce cookie size, or lower the oven temperature modestly if the outside is browning much faster than the center.
A Simple Test-Cookie Strategy
If you are using a new oven, a new brand of flour, or a new type of chocolate, bake one cookie first. Observe how far it spreads, how quickly the edges brown, and how the center looks after cooling for five minutes.
Then make a small adjustment before baking the rest. This approach is much more reliable than changing several ingredients at once.
Serving Ideas
- Classic: Serve warm with cold milk.
- Ice cream sandwich: Place vanilla or chocolate ice cream between two completely cooled cookies.
- Dessert plate: Serve with berries, whipped cream, or a drizzle of melted dark chocolate.
- Gift box: Arrange cooled cookies in a food-safe gift box with parchment between layers.
- Mini cookies: Make smaller portions for parties or lunchboxes and reduce the baking time.
Frequently Asked Questions
What is the secret to soft and chewy chocolate chip cookies?
The biggest factors are a higher proportion of brown sugar, properly measured flour, chilled dough, and careful baking. Remove the cookies while the centers still look soft and let them finish setting on the baking sheet.
Should chocolate chip cookie dough be chilled before baking?
Yes. A minimum of 30 minutes is useful for controlling spread, while a 24- to 48-hour rest can produce a more developed flavor and a thicker, chewier cookie.
Why are my chocolate chip cookies flat?
The most common causes are overly warm butter, unchilled dough, insufficient flour, a hot baking sheet, or an oven that is not reaching the expected temperature.
Why are my cookies hard instead of chewy?
They may have been overbaked, contain too much flour, or have too much granulated sugar relative to brown sugar. Start by checking the flour measurement and baking time.
Can I use salted butter?
Yes. If you use salted butter, reduce the added salt slightly so the overall flavor does not become too salty.
Can I use chopped chocolate instead of chocolate chips?
Absolutely. Chopped chocolate often creates larger, irregular pools of melted chocolate and can give the cookies a more bakery-style appearance.
Can I make chocolate chip cookies without eggs?
Yes, but the texture will change. Yogurt, mashed banana, applesauce, or a flax egg can be used in some egg-free versions. Expect differences in spread, tenderness, and browning.
Can I make chocolate chip cookies without butter?
Yes. Margarine, shortening, or coconut oil can be used, but each produces a different flavor and texture. Butter generally provides the most classic flavor.
How long should I bake chocolate chip cookies at 375°F?
Start checking at about 9 minutes. Many medium cookies will take approximately 9 to 11 minutes, but oven accuracy, dough temperature, and cookie size can change the exact time.
How do I know when chocolate chip cookies are done?
Look for set, lightly golden edges and a center that still appears soft. The cookies will continue cooking and setting on the baking sheet after removal from the oven.
Can I freeze chocolate chip cookie dough?
Yes. Portion the dough into individual balls, freeze until firm, and store them in an airtight freezer-safe container or bag. For best quality, use them within about 3 months.
Can I bake frozen cookie dough directly?
Yes. Frozen dough can generally go directly into a properly preheated oven. Expect to add a few minutes to the baking time and use the appearance of the edges and center as your final guide.
Why do my cookies spread differently from batch to batch?
Common reasons include different dough temperatures, a warm baking sheet, uneven dough portions, or changes in oven temperature. Let the baking sheet cool completely between batches.
Can I bake two trays of cookies at once?
Yes, if your oven heats evenly enough to handle multiple trays. If you use two racks, rotating and swapping the trays halfway through can improve consistency, but follow your oven manufacturer's guidance.
How should I store homemade chocolate chip cookies?
Cool them completely and store them in an airtight container at room temperature. For best texture, enjoy them within a few days.
How can I make the cookies less sweet?
You can modestly reduce the sugar and use darker chocolate, but large reductions can change the cookie's structure and spread. A better first step is often to use 60% to 70% dark chocolate for more bitterness and balance.
What is the best flour for chocolate chip cookies?
All-purpose flour is the most practical choice for this recipe. Bread flour can produce a chewier cookie because of its higher protein content, while lower-protein flours tend to create a more delicate texture.
Should I use parchment paper or a silicone baking mat?
Both can work. Parchment provides reliable release and makes cleanup easy. Silicone mats can slightly change how quickly the cookies spread and brown, so consistency matters if you use one.
Nutrition Information
Because cookie size, chocolate type, and ingredient brands vary, nutrition numbers should be treated as estimates rather than exact laboratory values. A medium cookie from this recipe may contain roughly 180 to 200 calories, around 9 to 10 g of fat, 24 to 26 g of carbohydrates, and about 2 g of protein.
If you want a somewhat less sweet version, using darker chocolate and making smaller cookies can reduce the sugar and portion size without requiring major changes to the dough.
The Small Details That Make the Biggest Difference
If you remember only a handful of rules from this recipe, remember these: weigh the flour when possible, use softened rather than melted butter, cream the butter and sugar properly, avoid overmixing after the flour goes in, chill the dough, and do not wait for the centers to look fully baked before taking the cookies out.
There is also a useful professional-bakery trick: after the cookies come out of the oven, you can gently reshape the edges with a round cookie cutter or the back of a spoon while they are still hot. This can make slightly uneven cookies look more uniform without changing their texture.
Another small but important detail is tray temperature. If you are baking several batches, a hot tray can make the next batch spread before the dough has a chance to set. Use a cool baking sheet for each batch whenever possible.
Final Verdict
The best chocolate chip cookie is not necessarily the one with the most ingredients or the longest ingredient list. It is the one where texture, sweetness, butter, salt, and chocolate are in balance.
This recipe aims for that middle ground: crisp enough around the edges to provide contrast, soft and chewy enough in the center to stay interesting, and chocolate-forward without becoming overwhelmingly sweet.
Once you understand how butter temperature, sugar, flour, chilling, and baking time affect the dough, you no longer have to treat chocolate chip cookies as a fixed recipe. You can deliberately make them thicker, thinner, chewier, crispier, darker, or more chocolate-heavy.
And that is ultimately the most useful part of learning to bake them: the next time a batch does not come out exactly as planned, you will know what to change—and why.
