This nut-free cookie dough is smooth, buttery, and safe to eat by the spoonful because the flour is heat-treated and the eggs are pasteurized. It has the classic vanilla-sugar flavor of a drop cookie, with a soft, scoopable texture that holds its shape. Use it as a base for chocolate chips, sprinkles, or a swirl of caramel.
Ingredients
- 1 ½ cups (180 g) all-purpose flour
- ½ teaspoon salt
- ½ cup (1 stick, 113 g) unsalted butter, softened
- ½ cup (100 g) granulated sugar
- ¼ cup (50 g) packed light brown sugar
- 1 large pasteurized egg
- 1 teaspoon vanilla extract
- ¾ cup (130 g) semisweet chocolate chips (check label for nut-free facility)
Heat-Treat the Flour Before You Mix
Raw flour can carry harmful bacteria, so it must be heated to 160°F (71°C) before eating raw. Spread the flour on a rimmed 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 mixing—warm flour will melt the butter.
If you don’t have a thermometer, bake for the full 7 minutes and let cool; the flour will look slightly darker and smell toasty. Do not skip this step.
Mix the Dough in 10 Minutes
- In a medium bowl, whisk the cooled flour and salt together. Set aside.
- In a large bowl, beat the softened butter, granulated sugar, and brown sugar with an electric mixer on medium speed until creamy, about 2 minutes.
- Add the pasteurized egg and vanilla extract. Beat on low until combined, about 30 seconds.
- Add the flour mixture in two additions, mixing on low until just combined. Do not overmix—the dough should be soft but not sticky.
- Fold in the chocolate chips with a spatula.
- Chill the dough in the refrigerator for 30 minutes if you want a firmer texture for scooping. Otherwise, serve immediately.
Swap Ingredients Without Losing the Texture
Use these substitutions in the same amounts unless noted. Each changes the flavor or texture slightly.
- Butter: Use ½ cup (113 g) vegan butter stick for a dairy-free version. The dough will be softer; chill for 45 minutes before serving.
- Egg: Use ¼ cup (60 ml) pasteurized liquid egg product from a carton. The dough will be slightly less rich.
- Flour: Use 1 ½ cups (180 g) gluten-free all-purpose flour blend that contains xanthan gum. The dough will be crumblier; add 1 tablespoon milk (dairy or nondairy) if it doesn’t hold together.
- Sugars: Use ¾ cup (150 g) coconut sugar instead of the granulated and brown sugars. The dough will be darker and less sweet.
- Chocolate chips: Use ¾ cup (130 g) white chocolate chips, butterscotch chips, or chopped nut-free candy bars. If you use dried fruit, reduce to ½ cup (80 g) to keep the dough from getting sticky.
Store It Cold and Eat It Within a Week
Because this dough contains a raw egg (even pasteurized), it must stay refrigerated. Store in an airtight container for up to 4 days. If you want to keep it longer, freeze the dough in a freezer-safe bag for up to 3 months; thaw overnight in the refrigerator before eating.
Do not leave the dough at room temperature for more than 2 hours (1 hour if the room is above 90°F/32°C). If you prefer to bake the dough into cookies, scoop it onto a parchment-lined baking sheet and bake at 375°F (190°C) for 10–12 minutes, until edges are golden. The baked cookies keep in an airtight container at room temperature for 3 days.
Why Pasteurized Eggs and Heat-Treated Flour Matter
Raw eggs and raw flour are both potential sources of foodborne illness. Pasteurized eggs have been heated to a temperature that kills bacteria without cooking the egg, so they are safe to eat raw. Heat-treated flour reaches 160°F (71°C), which kills pathogens that can survive in dry flour. Pregnant people, young children, older adults, and anyone with a weakened immune system should avoid raw eggs and raw flour entirely; for them, bake the dough into cookies instead of eating it raw.
If you cannot find pasteurized eggs, use a pasteurized egg product from a carton. If you cannot heat-treat your flour, do not eat the dough raw—bake it.
Serve It as a Dessert or a Snack
This dough is a dessert on its own, but it also works as a topping. Spread it on graham crackers, use it as a dip for apple slices, or roll it into small balls and coat with cocoa powder for truffle-style bites. For a sundae, drop spoonfuls over vanilla ice cream and drizzle with chocolate sauce. If you serve it at a party, keep the bowl on ice to maintain a safe temperature.
For a festive version, fold in ¼ cup (40 g) rainbow sprinkles instead of chocolate chips. For a peanut-free but nutty flavor, toast ½ cup (50 g) rolled oats and add them with the flour; the oats add texture but no nuts.
Related
- Dairy-Free Banana Bread Cookie Dough
- Honey in Bread Dough: How to Use It
- Gluten Free Pie Crust Dough Recipe
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).