Dinners

Basic Chocolate Cookie Recipe

Updated · By Stir & Share

Total timeprep + cook
25 min
Prep
15 min
hands-on
Cook
10 min
oven or stovetop
Serves
24
as written

Jump to recipe Save

This basic chocolate cookie is a soft-centered, fudgy drop cookie with a crackly top and a tender crumb. It suits an afternoon snack, a lunchbox treat, or a simple dessert with a glass of milk. The recipe relies on the right ratio of butter to sugar to cocoa, which gives the cookies their chewy edges and moist middle.

Ingredients

  • 1 cup (226 g) unsalted butter, softened
  • 1 cup (200 g) granulated sugar
  • 1 large egg (50 g), room temperature
  • 1 teaspoon vanilla extract
  • 1 ½ cups (190 g) all-purpose flour
  • ½ cup (50 g) unsweetened cocoa powder (natural or Dutch-process)
  • ½ teaspoon baking soda
  • ½ teaspoon salt
  • Optional: ½ cup (90 g) semisweet chocolate chips

Instructions

  1. Preheat the oven to 375°F (190°C). Line two baking sheets with parchment paper.
  2. In a large bowl, beat the butter and sugar together until light and fluffy, about 2 minutes. Scrape the bowl.
  3. Add the egg and vanilla; beat until combined, about 30 seconds.
  4. In a separate bowl, whisk the flour, cocoa powder, baking soda, and salt. Add to the butter mixture and mix on low until just combined. Fold in chocolate chips if using.
  5. Scoop rounded tablespoons (about 15 g each) of dough onto the prepared sheets, spacing them 2 inches (5 cm) apart.
  6. Bake for 8–10 minutes, until the edges are set and the tops look slightly cracked. The centers will look soft.
  7. Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.

Why These Cookies Turn Out Dry, Runny, or Dense — and the Fix

Too Dry

Dry cookies come from too much flour or overbaking. Measure flour by spooning it into the cup and leveling off, not scooping. Bake just until the edges are set, not until the whole cookie is firm. If the dough feels dry before baking, add 1–2 tablespoons milk.

Too Runny or Flat

Flat cookies happen when the butter is too soft or the dough is warm. If your kitchen is hot, chill the dough for 30 minutes before baking. Also, check that your baking soda is fresh; old leavener loses strength. Use cold butter if you need a sturdier dough.

Too Dense or Tough

Overmixing develops gluten, which makes cookies tough. Mix only until the flour disappears. Also, too much cocoa powder can make them dense; stick to the measured amount. If you use Dutch-process cocoa, the cookies will be slightly softer and less tangy.

Substitutions That Change the Cookie

  • Butter: Use 1 cup (226 g) margarine or shortening. Margarine gives a softer cookie; shortening makes them sturdier and less flavorful.
  • Sugar: Replace half the granulated sugar with brown sugar for a chewier, more caramel-like cookie. Use ½ cup (100 g) granulated and ½ cup (110 g) packed brown sugar.
  • Egg: For a vegan version, use 1 flax egg (1 tablespoon ground flaxseed mixed with 3 tablespoons water, let sit 5 minutes). The cookie will be slightly less tender.
  • Flour: Substitute up to half the all-purpose flour with whole wheat flour (¾ cup all-purpose + ¾ cup whole wheat). The cookies will be denser and nuttier.
  • Cocoa: Use Dutch-process cocoa for a milder, darker flavor; it will also make the cookies slightly more tender. Natural cocoa gives a brighter, more acidic taste.
  • Add-ins: Swap chocolate chips for ½ cup (75 g) chopped nuts, ½ cup (80 g) dried cherries, or ½ cup (60 g) shredded coconut. Each adds its own texture.

How to Store and Freeze the Cookies

Keep baked cookies in an airtight container at room temperature for up to 5 days. They stay soft and chewy. For longer storage, freeze the baked cookies in a zip-top bag for up to 3 months; thaw at room temperature for 1 hour.

You can also freeze the raw dough. Scoop it into balls, freeze on a baking sheet until solid, then transfer to a bag. Bake frozen dough directly at 375°F (190°C) for 10–12 minutes, adding 2 minutes to the time.

Do not leave the dough or baked cookies out for more than 2 hours at room temperature. If you add any perishable mix-ins (like cream cheese), refrigerate the dough and bake within 24 hours.

Can I Make the Dough Ahead of Time?

Yes. Cover the dough tightly and refrigerate for up to 3 days. Let it sit at room temperature for 15 minutes before scooping, because cold dough is stiff. You may need to add 1–2 minutes to the bake time.

Why Do My Cookies Spread Too Much?

Spreading happens when the dough is too warm or the baking sheet is hot. Always use a cool, lined sheet. If the first batch spreads too much, chill the remaining dough for 20 minutes. Also, make sure your butter is softened, not melted; melted butter causes excess spread.

Related

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).