McDonald’s Chocolate Chip Cookie Recipe at Home

Updated November 17, 2026

Total time
1 hr 32 min
prep 20 min · cook 12 min
Serves
18
portions as written

Jump to recipe

This McDonald’s-inspired chocolate chip cookie recipe makes soft-centered, lightly crisp cookies with brown sugar, vanilla, and plenty of chocolate chips. They’re baked at home from familiar pantry ingredients; chilling the dough helps control spread and develop a chewy texture.

Ingredients

  • 2 cups plus 2 tablespoons (265 g) all-purpose flour, spooned into the measuring cup and leveled
  • ½ teaspoon baking soda (2.5 g)
  • ½ teaspoon fine salt (3 g)
  • ¾ cup (170 g) unsalted butter, softened but still cool
  • ¾ cup packed (160 g) light brown sugar
  • ⅓ cup (67 g) granulated sugar
  • 1 large egg, at room temperature
  • 1½ teaspoons vanilla extract (7 ml)
  • 1 cup (170 g) semisweet chocolate chips

Instructions

  1. Mix the dry ingredients. In a medium bowl, whisk together the flour, baking soda, and salt until evenly combined. Set aside.
  2. Cream the butter and sugars. In a large bowl, beat the softened butter, brown sugar, and granulated sugar with a hand mixer on medium speed for about 2 minutes, until creamy and slightly lighter. A sturdy spoon works too; mix vigorously for 3 to 4 minutes.
  3. Add the egg and vanilla. Beat in the egg and vanilla until smooth, scraping down the sides of the bowl as needed. If the mixture looks slightly curdled, continue; it will come together when the flour is added.
  4. Make the dough. Add the flour mixture and mix on low just until no dry streaks remain. Fold in the chocolate chips. Stop mixing as soon as the dough is uniform to avoid tough cookies.
  5. Chill the dough. Cover the bowl and refrigerate for 1 hour. This firms the butter so the cookies spread more slowly in the oven. Meanwhile, line two baking sheets with parchment paper and heat the oven to 350°F (175°C).
  6. Portion the cookies. Scoop the dough into 18 portions, about 2 tablespoons (40 g) each, and arrange them at least 2 inches (5 cm) apart on the prepared sheets. If you have one baking sheet, bake in batches and keep the remaining dough chilled.
  7. Bake. Bake one sheet at a time for 10 to 12 minutes, until the edges are golden and the centers look just set but still soft. Rotate the sheet once if your oven browns unevenly. The cookies will continue setting as they cool; avoid waiting for the centers to turn fully golden.
  8. Cool. Leave the cookies on the baking sheet for 5 minutes, then transfer them to a wire rack to cool for at least 10 minutes. The recipe contains egg, so bake until the cookies are set rather than tasting raw dough; raw flour and egg should not be eaten.

Tips

  • Measure flour carefully. Too much flour makes cookies dry and cakey. Weigh it if possible; otherwise, fluff the flour, spoon it into the cup, and level the top without packing it down.
  • Use softened, not melted, butter. Butter should yield to a light press but not look shiny or greasy. Melted butter can make the dough spread excessively, even after chilling.
  • Adjust the chocolate. Semisweet chips give a balanced sweetness. Chopped semisweet chocolate can replace them gram for gram and creates more varied pools and flecks; milk chocolate makes the cookies sweeter.
  • Watch the first batch. Oven temperatures and dough portions vary. Start checking at 10 minutes, and let the cookies finish setting on the hot sheet instead of extending the bake until they look dry.

Serving Suggestions

Serve the cookies warm or at room temperature with cold milk, coffee, or tea. For a simple dessert, sandwich a small scoop of vanilla ice cream between two completely cooled cookies, or crumble one over a bowl of ice cream. If you like a sweet-salty contrast, add a small pinch of flaky salt to each cookie just after baking.

Variations

  • More brown-sugar flavor: Replace the ⅓ cup (67 g) granulated sugar with an equal amount of packed light brown sugar. Expect a slightly softer, more caramel-like cookie.
  • Dark chocolate: Use dark chocolate chips or chopped chocolate in the same quantity for a less-sweet finish.
  • Nutty cookies: Fold in ½ cup (60 g) chopped toasted pecans or walnuts along with the chocolate. For an allergy-friendly batch, leave them out rather than substituting another nut.
  • Smaller cookies: Scoop 1 tablespoon (about 20 g) per portion and begin checking after 8 minutes. The yield will increase, and baking time will be shorter.

Storage and Reheating

Cool cookies completely before storing. Keep them in an airtight container at room temperature for up to 4 days; refrigerating can make them firm, so room-temperature storage is preferable for this short period. Refrigerate the dough if it will be held for more than 2 hours before baking, and bake it within 2 days. Freeze baked cookies in a sealed freezer-safe container for up to 2 months, or freeze portioned dough for up to 2 months and bake from frozen, adding about 1 to 3 minutes as needed.

To warm a cookie, microwave it for 8 to 12 seconds, checking before adding more time. For several cookies, heat them on a baking sheet in a 300°F (150°C) oven for about 4 to 5 minutes. Refrigerate perishable ingredients and dough within 2 hours; do not leave egg-containing dough at room temperature longer than that.

Frequently Asked Questions

Are these the exact McDonald’s cookies?
This is a home-style, McDonald’s-inspired recipe, not a verified commercial formula. It aims for a familiar soft middle, golden edge, and chocolate-chip flavor using standard household ingredients.

Can I skip chilling the dough?
Chilling is recommended because it firms the butter and helps the cookies keep their shape. If you skip it, bake a test cookie first; expect more spread and potentially thinner cookies.

Why did my cookies turn out flat?
Butter that was too warm, melted butter, inaccurate flour measurement, or an insufficiently hot oven can all cause excess spreading. Chill the dough and make sure the baking soda is fresh and the oven has fully preheated.

Can I make the dough ahead?
Yes. Cover and refrigerate it for up to 2 days. Let it sit at room temperature for about 10 to 15 minutes if it is too firm to scoop, then portion and bake as directed.

Can I freeze the cookie dough?
Yes. Portion the dough onto a tray, freeze until firm, then move the portions to a sealed freezer bag or container for up to 2 months. Bake from frozen at 350°F (175°C), adding a few minutes and checking for golden edges and set centers.

How do I know when the cookies are done?
The edges should look lightly golden while the centers remain soft and slightly underdone-looking. They firm up during the 5-minute rest on the baking sheet, so pulling them at that stage helps prevent dry cookies.

Related

More recipes to cook

Safety notes: safe minimum internal temperatures from USDA FSIS; raw and undercooked fish guidance from the U.S. FDA. Food safety notes

Spotted an error? Tell us and we will correct it (corrections policy).