Chocolate Chip Cookie Excavation: Fun Recipe

Updated November 7, 2026

Total time
1 hr 5 min
prep 25 min · cook 22 min
Serves
8
portions as written
Safe temperature (USDA)
160°F / 71°C
check the thickest piece

Jump to recipe

Chocolate Chip Cookie Excavation: Fun Recipe

Chocolate chip cookie excavation turns a classic dessert into an interactive activity: a giant, soft-baked cookie studded with chocolate chunks and candy “fossils” that you crack open and dig through with small tools. It works because the cookie is deliberately baked slightly underdone in the center, so it stays tender and easy to excavate, while the edges get golden and crisp. Perfect for parties, classroom projects, or a rainy afternoon, this recipe is as much about the fun of digging as it is about eating.

Ingredients

  • 2 1/4 cups (280 g) all-purpose flour
  • 1/2 teaspoon baking soda
  • 1 teaspoon salt
  • 3/4 cup (170 g) unsalted butter, melted and slightly cooled
  • 1 cup (200 g) packed light brown sugar
  • 1/2 cup (100 g) granulated sugar
  • 1 large egg
  • 1 large egg yolk
  • 2 teaspoons vanilla extract
  • 1 1/2 cups (255 g) semisweet chocolate chips (or chunks)
  • 1/2 cup (85 g) white chocolate chips (optional, for “fossils”)
  • 1/2 cup (85 g) mini candy-coated chocolate pieces (like M&M’s), or other small candies for digging

Instructions

  1. Preheat your oven to 350°F (175°C). Line a 9-inch (23 cm) round cake pan or a 10-inch (25 cm) cast-iron skillet with parchment paper, or grease it well.
  2. In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.
  3. In a large bowl, combine the melted butter, brown sugar, and granulated sugar. Whisk until smooth and no lumps remain.
  4. Add the egg, egg yolk, and vanilla extract. Whisk vigorously until the mixture is glossy and well combined, about 1 minute.
  5. Pour the dry ingredients into the wet mixture. Fold with a spatula until just a few streaks of flour remain. Do not overmix.
  6. Gently fold in the semisweet chocolate chips and white chocolate chips (if using). The dough will be thick and slightly sticky.
  7. Press the dough evenly into the prepared pan. Scatter the mini candy-coated pieces on top, pressing them slightly into the surface so they become “fossils” embedded in the cookie.
  8. Bake for 20–22 minutes, until the edges are golden brown and the center is just set but still soft (a toothpick inserted in the center should come out with a few moist crumbs, not raw batter). The center will look slightly underdone—that’s intentional.
  9. Remove from the oven and let cool in the pan for 10 minutes. Then carefully lift the cookie out using the parchment paper and transfer to a cutting board or serving plate.
  10. Serve warm with small hammers, toothpicks, or plastic knives for digging. Crack the cookie open to reveal the chocolate and candy treasures inside.

Tips

  • Don’t overbake: The key to a good excavation cookie is a soft, slightly gooey center. Start checking at 18 minutes; the edges should be brown, but the middle should still look pale and puffy. It will continue to set as it cools.
  • Use a mix of sizes: For more interesting digging, use chocolate chunks instead of chips, and add nuts, dried fruit, or pretzel pieces. Just keep the total add-ins to about 2 cups (340 g) so the dough holds together.
  • Chill the dough (optional): If you have time, chill the dough for 30 minutes before baking. This prevents spreading and makes the cookie thicker and chewier.
  • Substitute for candy-coated pieces: If you want to avoid artificial colors, use chopped dried apricots or banana chips as “fossils.” They add a different texture but still work well.

Serving Suggestions

Serve the cookie warm on a large platter with small bowls of extra chocolate chips, sprinkles, or crushed cookies for “archaeological” fun. Provide small tools like toothpicks, plastic forks, or clean paintbrushes. Pair with glasses of cold milk or vanilla ice cream on the side. For a party, set out a “dig site” with a few cookies and let guests work in teams.

Variations

  • Peanut Butter Excavation: Replace 1/2 cup (113 g) of the butter with 1/2 cup (130 g) creamy peanut butter and reduce the flour to 2 cups (250 g). Use peanut butter chips and chocolate chunks.
  • Double Chocolate: Replace 1/4 cup (30 g) of the flour with 1/4 cup (25 g) unsweetened cocoa powder. Use dark chocolate chunks and white chocolate chips for contrast.
  • Vegan: Use melted coconut oil or vegan butter instead of butter, a flax egg (1 tablespoon ground flaxseed mixed with 3 tablespoons water) plus an extra tablespoon of water, and vegan chocolate chips. The texture will be slightly cakier.
  • Gluten-Free: Substitute the all-purpose flour with a 1:1 gluten-free baking flour blend. Add 1/4 teaspoon xanthan gum if your blend doesn’t include it.

Storage and Reheating

Store leftover cookie in an airtight container at room temperature for up to 3 days. For longer storage, wrap tightly in plastic wrap and refrigerate for up to 5 days or freeze for up to 3 months. To reheat, place a slice on a microwave-safe plate and heat in 10-second bursts until warm, or warm in a 300°F (150°C) oven for 5–7 minutes. The cookie will lose some of its gooey center after refrigeration, but reheating brings back the soft texture.

Frequently Asked Questions

Can I make this in a different pan? Yes, you can use a 9×9-inch (23×23 cm) square pan or a 10-inch (25 cm) round cake pan. Adjust the baking time by a few minutes; a larger, thinner cookie will bake faster, so start checking at 15 minutes.

Why is my cookie too hard? Overbaking is the most common cause. The center should look slightly underdone when you take it out. Also, using cold butter or too much flour can make the cookie dry. Measure flour by spooning it into the cup and leveling off.

Can I use all butter instead of melted butter? Yes, but soften the butter to room temperature and cream it with the sugars until fluffy. This will change the texture slightly—cookies made with softened butter are a bit cakier, while melted butter gives a chewier, denser result.

How do I get clean “fossil” pieces? Press the candy-coated pieces into the dough before baking so they stay on top. After baking, let the cookie cool for at least 10 minutes so they set firmly. If you add them after baking, they won’t be embedded and will just roll off.

Can I use a cookie mix? Yes, you can use a 17.5-ounce (496 g) pouch of chocolate chip cookie mix and follow the package instructions, but reduce the baking time by 2–3 minutes and use the same pan size. The result will be a bit less flavorful but still fun.

Is it safe to eat the cookie if it’s underbaked? The egg is cooked to a safe temperature if the center reaches 160°F (71°C) (USDA FSIS safe minimum for egg dishes). Since this recipe uses a whole egg and yolk, check with an instant-read thermometer in the center; it should read at least 160°F (71°C). If it doesn’t, bake for another 2–3 minutes.

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