Edible Peanut Butter Cookie Dough
This post contains affiliate links. Read the full disclosure here.
This edible peanut butter cookie dough recipe is perfect for when you want to sneak a little taste of cookie dough! It’s safe to eat and you only need 8 simple ingredients. Plus, you can make it dairy-free or vegan!

I think we can all agree that the best part of making cookies is eating a little piece of raw cookie dough! I’ve made this peanut butter cookie dough recipe so it’s totally safe to eat since it doesn’t use eggs and has heat-treated flour!
Just like my edible sugar cookie dough and double chocolate cookie dough, this edible peanut butter cookie dough recipe is made in one bowl without any fancy equipment. I think this might become your go-to dessert!
Why You’ll Love This Edible Peanut Butter Cookie Dough
- You only need 8 pantry ingredients, nothing too fancy.
- It’s all made in one bowl, fewer dishes is always a win for me!
- It’s an eggless recipe, but you can make it gluten-free, vegan, and dairy-free.
- This is the perfect recipe for peanut butter lovers!
Ingredients Needed

- Flour: I’m using all-purpose flour, but you can also use gluten-free all-purpose 1-1 baking flour if you’re gluten-free.
- Butter: You can use regular butter or vegan butter!
- Peanut Butter: I prefer to use commercial peanut butter, like Jif or Skippy. You can use natural peanut butter (the type with oil on top), but the cookie dough won’t be as sweet and it might be a bit runny.
Step by Step Instructions

Step 1: Start by heat treating your flour. Place it in a bowl in the microwave for 1-2 minutes, or until hot. You can also pour the flour onto a baking sheet and bake at 350°Fahrenheit for 5 minutes. Set aside to cool.
Step 2: In the bowl of a stand mixer fitted with the paddle attachment, or with a hand mixer, beat the butter and peanut butter together until smooth.

Step 3: Add the brown sugar and granulated sugar. Beat until light and fluffy, then add the vanilla.
Step 4: Add the heat-treated flour and salt to the bowl. Feel free to add chocolate chips and enjoy!
Making Cookie Dough Safe to Eat
You might think the way to make edible cookie dough safe to eat is to not add eggs, but to make this completely safe to eat, we also need to heat treat the flour!
Raw flour can contain bacteria that aren’t safe to eat, which is why we need to heat up the flour to kill any bacteria. The only time you need to heat treat flour is in a no-bake recipe, like this edible cookie dough recipe!
My favorite way to heat treat flour is microwaving it, but you can also heat treat it in the oven. You’ll need slightly more flour (about 2 tablespoons in this recipe) as there will be less flour after it has been heated.

Expert Tips
- I love adding ¼ cup of semisweet chocolate chips to this peanut butter cookie dough, but you could also add chopped chocolate, peanut butter chips, chopped up peanut butter cups, or mini M&Ms!
- Don’t skip out on heat treating the flour! It’s how we make this edible cookie dough safe to eat.
- Let the flour cool before adding it to the other ingredients.
- Make this cookie dough vegan by using vegan butter!
Storage Instructions
Store the cookie dough in an airtight container in the fridge for up to 7 days.
To freeze, scoop the cookie dough into balls and freeze on a tray. Once frozen, place the cookie dough balls into a bag and freeze for up to 2 months.
More Edible Dough Recipes You’ll Love
If you make this recipe, let me know how it went in the comments below, I’d love to hear from you! You can also tag me on Instagram or Facebook so I can check it out!

Edible Peanut Butter Cookie Dough
Ingredients
- ¼ cup (53 g) butter (vegan or regular, softened)
- ¼ cup (65 g) creamy/smooth peanut butter (SEE NOTES)
- 2 Tablespoons (25 g) brown sugar
- ¼ cup (50 g) granulated sugar
- 1 tsp vanilla extract
- ¼ tsp salt
- ½ cup (63 g) all-purpose flour (SEE NOTES)
- ¼ cup semisweet chocolate chips or peanut butter chips, (optional)
Instructions
- Heat treat your flour by microwaving it in a bowl for around 1 -2 minutes or until it's hot, or pouring it on a baking sheet and baking it in a preheated oven (350°F) for 5 minutes (or microwave for 1-2 minutes), then set aside to cool* Heat treat around 2 tablespoons more than the recipe calls for, then measure out the exact quantity after. (SEE NOTES)
- In the bowl of a standing mixer with the paddle attachment or using a hand mixer, beat peanut butter and butter together until smooth.
- Add in the granulated and brown sugars and beat until light and fluffy, then mix in the vanilla extract.
- Add the flour and salt into the bowl and mix until combined. Stir in chocolate chips if using!
Equipment
Video
Notes
The calorie information provided for this recipe is an estimate. The accuracy of the calories listed is not guaranteed.