Most cookie batters start the same way: cream butter and sugar, add eggs and vanilla, then stir in dry ingredients. The method below works for drop cookies like chocolate chip, oatmeal, and sugar cookies. If you are making a rolled or slice-and-bake dough, the mixing is identical, but you will chill the dough before shaping.
Before You Start: Check Your Ingredients and Tools
Take the butter and eggs out of the fridge 30–60 minutes before mixing. Room-temperature butter creams properly, and room-temperature eggs blend in without curdling. Cold butter makes a dense, flat cookie; cold eggs can make the batter look curdled. You also need a large bowl, a medium bowl, a whisk, a rubber spatula, and a baking sheet lined with parchment paper or a silicone mat.
Check that your baking powder and baking soda are fresh. To test baking powder, stir 1 teaspoon into 1/3 cup (80 ml) hot water; it should bubble vigorously. To test baking soda, stir 1/4 teaspoon into 1 tablespoon (15 ml) vinegar; it should fizz. If either barely reacts, replace it.
Measure the Dry Ingredients and Flour
Whisk the dry ingredients together in a medium bowl before adding them to the wet mixture. This distributes the leavener and salt evenly, so you do not get a bitter pocket of baking soda in one cookie.
For 1 batch of drop cookies (about 24 cookies), whisk together:
- 2 cups (250 g) all-purpose flour
- 1/2 teaspoon baking soda
- 1/2 teaspoon baking powder
- 1/2 teaspoon salt
If you use salted butter, reduce the added salt to 1/4 teaspoon. For a chewier cookie, replace 1/2 cup (60 g) of the all-purpose flour with bread flour. For a thinner, crisper cookie, use all all-purpose flour and no bread flour.
Cream the Butter and Sugar Properly
In a large bowl, beat 1 cup (2 sticks, 226 g) unsalted butter with 3/4 cup (150 g) granulated sugar and 3/4 cup (150 g) packed brown sugar. Beat on medium speed for 2–3 minutes, until the mixture is light, fluffy, and pale. Scrape the bowl once during mixing.
Creaming traps air, which helps the cookies rise. If you overbeat, the butter melts too much and the cookies spread into thin discs. If you underbeat, the cookies are dense and cakey. The mixture should look like soft frosting and hold a slight peak when you lift the beater.
Add 2 large eggs, one at a time, beating well after each. Then add 2 teaspoons vanilla extract and beat until combined. The batter may look slightly curdled if the eggs were cold; that is fine, but it will smooth out once you add the flour.
Add the Dry Ingredients and Any Mix-Ins
With the mixer on low, add the flour mixture in three additions, mixing just until no streaks of flour remain. Overmixing develops gluten, which makes cookies tough. Scrape the bottom and sides of the bowl with a spatula to catch any unincorporated flour.
Fold in 2 cups (340 g) chocolate chips, nuts, oats, or dried fruit with a spatula. For oatmeal cookies, reduce the flour to 1 3/4 cups (220 g) and add 1 1/2 cups (120 g) old-fashioned oats. For a spiced cookie, add 1 teaspoon cinnamon and 1/4 teaspoon nutmeg with the dry ingredients.
Chill the Batter Before Baking (Most of the Time)
Chilling the batter for 30 minutes to 24 hours improves flavor and reduces spreading. The flour hydrates, the sugars dissolve, and the butter firms up, so cookies bake thicker and chewier. For drop cookies, chill the batter in the bowl, then scoop and bake. For slice-and-bake dough, shape it into a log, wrap in plastic, and chill for at least 2 hours before slicing.
If you skip chilling, cookies will spread more and be flatter. If you are in a hurry, chill for at least 30 minutes. If you chill longer than 2 hours, let the dough sit at room temperature for 10 minutes before scooping, because it becomes too hard to scoop.
Bake at the Right Temperature and Time
Preheat the oven to 375°F (190°C). Line a baking sheet with parchment paper or a silicone mat. Scoop the dough into balls about 1.5 tablespoons (30 g) each, spacing them 2 inches (5 cm) apart. Bake for 10–12 minutes, until the edges are golden and the centers look just set but still soft. The cookies will continue to set as they cool on the sheet.
For a chewier cookie, bake at 350°F (175°C) for 12–14 minutes. For a crisper cookie, bake at 375°F (190°C) for 12–14 minutes. Cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.
When It Goes Wrong: A Quick Fix Table
| Symptom | Cause | Fix |
|---|---|---|
| Cookies spread into thin, flat discs | Butter too soft or melted, too little flour, or dough not chilled | Chill dough at least 30 minutes; measure flour by spooning into the cup and leveling; use cold butter |
| Cookies are dry and crumbly | Too much flour or overbaked | Measure flour correctly; bake until edges are just golden, not dark; remove from oven while centers look soft |
| Cookies are tough and hard | Overmixed the batter after adding flour | Mix just until no streaks remain; fold in mix-ins by hand |
| Cookies are cakey and puffy | Too much baking soda or baking powder, or overbeaten eggs | Use exact leavener amounts; beat eggs just until combined |
Storing the Batter and the Baked Cookies
Unbaked cookie dough keeps in the refrigerator for up to 3 days in an airtight container. You can also freeze scooped dough balls on a baking sheet until firm, then transfer to a freezer bag for up to 3 months. Bake frozen dough directly from the freezer, adding 2–3 minutes to the baking time.
Baked cookies keep at room temperature in an airtight container for up to 5 days. For longer storage, freeze baked cookies in a single layer in a freezer bag for up to 3 months. Thaw at room temperature for 15 minutes.
Raw Dough Safety: Heat-Treat the Flour and Use Pasteurised Eggs
If you plan to eat any raw batter, you must heat-treat the flour and use pasteurised eggs. Raw flour can contain harmful bacteria, and raw eggs carry a risk of salmonella. To heat-treat flour, spread it on a baking sheet and bake at 350°F (175°C) for 5–7 minutes, until it reaches 160°F (71°C) on an instant-read thermometer. Let it cool completely before using. Use pasteurised eggs (sold in cartons or shell eggs that are pasteurised) and keep the batter refrigerated. Pregnant people, young children, older adults, and anyone with a weakened immune system should avoid raw eggs and raw flour entirely.
Related
- Basic Cookie Recipe From Scratch
- Homemade Cookies from Scratch: 7 Classic Recipes
- Drop Sugar Cookie Recipe From Scratch
Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.
Spotted an error? Tell us and we will correct it (corrections policy).