A peanut butter cookie in a mug is a single-serving dessert that bakes in about a minute, giving you a soft, warm, and slightly gooey cookie with crisp edges. This method uses a microwave and a mug, so there is no oven to preheat and no dough to chill—just mix, microwave, and eat.
Ingredients
- 2 tbsp (28 g) creamy peanut butter (use natural, well-stirred)
- 1 tbsp (15 ml) milk (any kind; see substitutions)
- 1 tbsp (12 g) granulated sugar
- 1 tbsp (8 g) all-purpose flour
- 1/8 tsp baking powder
- 1/8 tsp vanilla extract
- Pinch of salt (about 1/16 tsp)
Instructions
- In a microwave-safe mug (at least 12 oz / 355 ml capacity), stir together the peanut butter, milk, sugar, flour, baking powder, vanilla, and salt with a small fork until smooth and no dry streaks remain. The batter will be thick.
- Spread the batter evenly in the mug. Place the mug in the microwave.
- Microwave on high for 45 to 60 seconds. Start checking at 45 seconds: the cookie should look set on top but still slightly soft in the center. If it still looks wet, microwave in 10-second bursts until just set. Do not overcook, or the cookie will become rubbery.
- Let the mug cool for 1 to 2 minutes before eating. The mug and cookie will be very hot. Eat directly from the mug with a spoon.
Pick the Right Mug and Microwave
Use a mug that holds at least 12 oz (355 ml) so the batter has room to rise without spilling over. A wide, shallow mug (like a soup mug) works better than a tall, narrow one because it cooks more evenly. Microwave wattages vary: a 1000-watt oven will cook the cookie in about 45 seconds, while an 800-watt oven may need 60 to 75 seconds. The first time you make it, check at 45 seconds and add 10-second bursts until the top looks set.
Substitutions That Change the Texture
- Peanut butter: Use crunchy peanut butter for added texture. Almond butter or sunflower seed butter work, but they change the flavor and may need an extra 1 tsp of flour if the batter seems too runny.
- Milk: Any milk works—dairy, oat, almond, or soy. Using a thicker milk (like whole milk or oat milk) gives a slightly denser cookie; using water makes it less rich.
- Sugar: Brown sugar adds a deeper, molasses-like flavor and makes the cookie slightly chewier. Coconut sugar works but is less sweet. Do not use liquid sweeteners like honey or maple syrup without reducing the milk by 1 tsp, or the batter will be too wet.
- Flour: Whole wheat flour makes the cookie denser and nuttier. Gluten-free all-purpose flour works, but the texture may be more crumbly. Do not use almond flour or coconut flour without adjusting the liquid—they absorb differently.
- Add-ins: Stir in 1 tbsp (15 g) chocolate chips, chopped peanuts, or a pinch of cinnamon before microwaving. For a chocolate-peanut butter version, add 1 tsp cocoa powder and reduce the flour to 2 tsp.
Serve It Warm or Make It Ahead
This cookie is best eaten warm, right from the mug. For a more dessert-like treat, top with a small scoop of vanilla ice cream, a drizzle of chocolate sauce, or a sprinkle of flaky sea salt. It also pairs well with a glass of cold milk. If you want to make the dry mix ahead, combine the flour, sugar, baking powder, and salt in a small jar or bag; store at room temperature for up to 1 month. When ready to bake, add the peanut butter, milk, and vanilla to the dry mix and proceed with the recipe.
Store and Reheat Leftovers
This recipe makes one serving, but if you have leftovers, cover the mug with plastic wrap and refrigerate for up to 2 days. To reheat, microwave on 50% power in 15-second bursts until warm. The texture will be denser after refrigeration. Do not leave the cookie at room temperature for more than 2 hours. Because the cookie contains milk and peanut butter, it is a perishable food.
Why the Cookie Can Turn Rubbery and How to Avoid It
The most common issue is overcooking: microwave ovens vary, and even 15 extra seconds can make the cookie tough and rubbery. Watch for the top to look set but still slightly moist in the center. Another issue is using a mug that is too small, causing the batter to spill over. If your cookie is dry, you likely used too much flour or overcooked it. If it is too wet, microwave in 10-second bursts until just set. Remember that the cookie continues to cook as it sits, so it is better to undercook slightly and let it rest for a minute.
Related
- PB Fit Banana Bread (Peanut Butter Powder)
- Lemon Bread and Butter Pudding Recipe
- Substitute for Butter in Zucchini Bread
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).
