A warm, gooey chocolate chip cookie baked in a mug and ready in under five minutes sounds too good to be true, but here we are. This mug cookie recipe delivers everything you crave from a freshly baked cookie without heating up your entire kitchen or dirtying a dozen bowls.
Perfect for late-night sweet tooth emergencies or when you want dessert without the commitment of baking an entire batch, this single-serve treat comes together with pantry staples you probably already have. You get crispy edges, a soft center, and melted chocolate chips in the time it takes to brew a cup of coffee.
The beauty of this recipe lies in its simplicity and speed. No mixers, no waiting for butter to soften, and definitely no standing around wondering if you should eat raw cookie dough instead of actually baking it.
Why You’ll Love This Recipe
This mug cookie solves the eternal problem of wanting just one cookie without the temptation of 23 others sitting on your counter. It delivers maximum satisfaction with minimum effort and cleanup.
- Ready in under 5 minutes from start to finish
- Makes exactly one serving so you can satisfy your craving without overdoing it
- Requires only one mug and one spoon, making cleanup ridiculously easy
- Uses basic pantry ingredients with no special equipment needed
- Completely customizable with your favorite mix-ins and flavors
My Experience Making This Recipe
I first made this mug cookie on a random Tuesday night when I desperately wanted something sweet but refused to turn on my oven. The skeptic in me thought it would turn out rubbery or weird, but I was genuinely shocked when I pulled a perfectly baked, warm cookie from my microwave.
The texture hit that sweet spot between cake and cookie, with edges that pulled away from the mug slightly and a center that stayed soft and melty. My partner walked into the kitchen, smelled the vanilla and butter, and immediately demanded I make another one.
Since that first attempt, I’ve made this recipe at least two dozen times, tweaking the chocolate chips, testing different sugars, and even adding a spoonful of peanut butter once. It never disappoints, and I love that I can have a fresh-baked cookie any night of the week without the production of traditional baking.
Recipe Overview
- Recipe Name: Mug Cookie
- Servings: 1
- Prep Time: 2 minutes
- Cook Time: 1 minute
- Total Time: 3 minutes
- Course: Dessert
- Cuisine: American
- Calories per Serving: 320
Equipment You Will Need
- One microwave-safe mug (at least 12 ounces)
- Small spoon or fork for mixing
- Measuring spoons
- Microwave
Ingredients for Mug Cookie
- 1 tablespoon unsalted butter, melted
- 1 tablespoon granulated sugar
- 1 tablespoon light brown sugar, packed
- 3 drops vanilla extract
- 1 pinch salt
- 1 egg yolk (save the white for another use)
- 3 tablespoons all-purpose flour
- 2 tablespoons chocolate chips
Ingredient Notes and Substitutions
- Unsalted butter: Provides richness and helps create the cookie texture; you can use salted butter but skip the added pinch of salt.
- Granulated and brown sugar: The combination gives you sweetness plus the caramel notes from molasses; you can use all of one or the other, but the flavor will be less complex.
- Egg yolk: Creates richness without making the cookie too cakey; a whole egg makes it puffier and more cake-like, which some people prefer.
- All-purpose flour: Gives structure to the cookie; almond flour works for gluten-free but changes the texture to more crumbly.
- Chocolate chips: Classic choice that melts beautifully; swap with any mix-in you like including white chocolate, nuts, or candy pieces.
How to Make Mug Cookie
Step 1: Melt the Butter
Place the butter in your microwave-safe mug and microwave for about 15 to 20 seconds until completely melted. Starting with melted butter means you can mix everything directly in the mug without waiting for softened butter, which speeds up the entire process.
Step 2: Add the Sugars
Add both the granulated sugar and brown sugar to the melted butter in the mug. Stir vigorously with a spoon until the mixture looks smooth and slightly glossy, which takes about 20 seconds of stirring.
Step 3: Mix in Vanilla and Salt
Add the vanilla extract and pinch of salt to the butter-sugar mixture and stir to combine. The salt balances the sweetness and makes the chocolate flavor more pronounced, so don’t skip it even though it seems like a tiny amount.
Step 4: Add the Egg Yolk
Drop in just the egg yolk and stir until the mixture becomes smooth and uniform in color. Using only the yolk keeps the texture dense and fudgy rather than fluffy and cake-like, which is what makes this taste like an actual cookie.
Step 5: Stir in the Flour
Add the flour all at once and stir gently until no dry streaks remain, being careful not to overmix. Stop stirring as soon as you no longer see flour because overmixing develops gluten and makes the cookie tough instead of tender.
Step 6: Add the Chocolate Chips
Fold in the chocolate chips, reserving a few to press into the top for presentation if you care about that sort of thing. Distributing them throughout the batter means you get chocolate in every bite rather than just at the bottom.
Step 7: Shape the Dough
Use your spoon to press the dough down gently and smooth the top slightly. The dough will puff up as it cooks, so you want it relatively flat to start so it cooks evenly without overflowing the mug.
Step 8: Microwave the Cookie
Microwave on high power for 40 to 60 seconds, watching carefully through the window. The cookie is done when the edges look set but the center still appears slightly underdone, as it will continue cooking from residual heat after you remove it.
Step 9: Cool Briefly
Let the mug cookie cool for at least 2 minutes before eating because the mug and cookie will be extremely hot. This brief cooling time also lets the texture set properly so you get that perfect cookie consistency rather than molten batter.
Pro Tip: Every microwave cooks differently, so start checking at 40 seconds and add time in 5-second increments if needed. The center should look barely set and still a bit glossy when you stop cooking, not dry or puffed up like a cake.
Tips for the Best Mug Cookie
- Use a mug that holds at least 12 ounces to prevent overflow as the cookie puffs up during cooking. A smaller mug risks a messy microwave disaster.
- Pack your brown sugar when measuring to get the correct sweetness level and moisture content. Loosely measured brown sugar makes a drier, less flavorful cookie.
- Separate your egg carefully and save the white for scrambled eggs or an omelet the next morning. Getting even a bit of egg white in your dough makes it puffier and less cookie-like.
- Stop microwaving when the center still looks slightly underdone because carryover cooking finishes it perfectly. An overcooked mug cookie becomes dry and rubbery.
- Let it cool for the full 2 minutes even though you want to dive in immediately. The texture improves dramatically as it sets, and you won’t burn your tongue.
- Experiment with microwave power if your first attempt doesn’t turn out perfectly. Some microwaves run hot and need only 40 seconds, while others need the full minute.
Common Mistakes to Avoid
- Using a mug that’s too small causes overflow and a mess in your microwave. Size up to be safe.
- Overcooking the cookie makes it dry and cake-like instead of soft and chewy. Watch it carefully and err on the side of underdone.
- Adding a whole egg instead of just the yolk creates a puffy, cakey texture that doesn’t resemble a real cookie at all.
- Overmixing the flour develops too much gluten and makes the cookie tough and dense in a bad way. Stir just until combined.
- Skipping the cooling time means you miss out on the proper texture and probably burn your mouth. Patience pays off here.
Serving Suggestions
This mug cookie is delicious straight from the mug with a spoon, but you can elevate it into a proper dessert with simple additions. The warm, soft texture makes it perfect for pairing with cold, creamy accompaniments.
- Top with a scoop of vanilla ice cream that melts into the warm cookie for an instant cookie sundae
- Drizzle with caramel or chocolate sauce for extra indulgence and visual appeal
- Add a dollop of whipped cream and a sprinkle of sea salt for a fancy presentation
- Serve alongside a glass of cold milk for the classic cookie experience
- Pair with hot coffee or espresso for a satisfying after-dinner treat
Variations to Try
- Double chocolate: Replace 1 tablespoon of flour with cocoa powder and use chocolate chips for an intensely chocolatey experience that tastes like a brownie-cookie hybrid.
- Peanut butter: Swap the butter for peanut butter and reduce the flour by 1/2 tablespoon for a nutty, rich flavor that pairs beautifully with chocolate chips.
- White chocolate cranberry: Use white chocolate chips and add a tablespoon of dried cranberries for a tart, sweet combination that feels more sophisticated.
- Nutty: Add a tablespoon of chopped walnuts or pecans for crunch and a toasted, buttery flavor that complements the sweet dough.
- Snickerdoodle: Skip the chocolate chips, add 1/4 teaspoon cinnamon to the dough, and sprinkle cinnamon sugar on top before microwaving for a warm, spiced cookie.
Dietary Adaptations
- Gluten-free: Replace all-purpose flour with a 1-to-1 gluten-free baking flour, which works well but may make the texture slightly more crumbly and less chewy than the original.
- Dairy-free: Use vegan butter or coconut oil instead of regular butter, and choose dairy-free chocolate chips; the flavor is nearly identical with minimal texture difference.
- Vegan: Replace the egg yolk with 1 tablespoon of applesauce or mashed banana, use vegan butter, and dairy-free chocolate chips; the texture becomes slightly cakier but still satisfying.
- Low-carb: Use almond flour, a low-carb sweetener like erythritol, and sugar-free chocolate chips for a keto-friendly version; the texture is more crumbly and the sweetness level differs slightly.
Storage and Reheating
Refrigerator
Honestly, this cookie is best eaten fresh, but you can cover the mug with plastic wrap and refrigerate for up to 2 days. The texture becomes firmer and less soft when cold, but it’s still tasty.
- Cover tightly with plastic wrap to prevent drying out
- Store in the same mug or transfer to an airtight container
Freezer
Freezing a mug cookie doesn’t make much sense since it takes 3 minutes to make fresh. If you must, wrap extremely well in plastic wrap and freeze for up to 1 month, but you lose much of the texture appeal.
- Wrap tightly in multiple layers of plastic wrap
- Thaw in the refrigerator before reheating
Reheating
Microwave for 10 to 15 seconds to warm it back up if you stored it. The texture won’t be quite as good as fresh, but warming helps restore some of the softness.
- Microwave in 10-second intervals to avoid overcooking
- Add a tiny splash of milk before reheating to add moisture back
Nutrition Information
| Nutrient | Amount |
|---|---|
| Calories | 320 |
| Total Fat | 16g |
| Saturated Fat | 9g |
| Carbohydrates | 41g |
| Fiber | 1g |
| Sugar | 28g |
| Protein | 4g |
| Sodium | 150mg |
| Cholesterol | 75mg |
Nutritional values are approximate and will vary based on specific ingredients used and any modifications you make to the recipe.
Frequently Asked Questions
Can I make this in the oven instead of the microwave?
Yes, bake at 350°F for about 12 to 15 minutes in an oven-safe ramekin or small dish. The texture will be slightly different and more like a traditional cookie, but it works well if you prefer oven-baking.
Why did my mug cookie turn out rubbery?
Rubbery texture usually means you overcooked it or your microwave runs hot. Try reducing the cook time by 10 seconds next time and remember that the center should look slightly underdone when you stop.
Can I use a whole egg instead of just the yolk?
You can, but the texture becomes puffier and more cake-like rather than dense and cookie-like. If you prefer that texture, go for it, but the yolk-only version tastes more like an actual cookie.
What should I do with the leftover egg white?
Save it in a small container in the fridge for up to 4 days and add it to scrambled eggs, use it in an omelet, or brush it on pastries. You can also freeze egg whites for up to 3 months.
Can I double this recipe to make two mug cookies?
Absolutely, just make each one in its own mug using the same measurements and microwave them one at a time. Microwaving two mugs together cooks unevenly and usually results in one overdone cookie and one underdone.
My cookie overflowed in the microwave, what went wrong?
Your mug was too small or you filled it too high with dough. Use a larger mug (at least 12 ounces) and make sure the dough only fills about one-third of the mug before cooking.
How do I know when the mug cookie is done?
The edges should look set and pull away slightly from the mug while the center still appears a bit glossy and soft. It will continue cooking for a minute or two after you remove it from the microwave.
Final Thoughts
This mug cookie recipe proves that you don’t need an elaborate baking session to enjoy a warm, homemade treat. In the time it takes to scroll through social media, you can have a real, satisfying cookie that hits all the right notes.
Keep the ingredients on hand and you’ll always be three minutes away from dessert whenever the craving strikes. Now grab a mug, mix up this simple recipe, and enjoy the magic of a fresh-baked cookie made just for you.

Mug Cookie
Ingredients
Equipment
Method
- Place the butter in your microwave-safe mug and microwave for about 15 to 20 seconds until completely melted.
- Add both the granulated sugar and brown sugar to the melted butter in the mug. Stir vigorously with a spoon until the mixture looks smooth and slightly glossy, which takes about 20 seconds of stirring.
- Add the vanilla extract and pinch of salt to the butter-sugar mixture and stir to combine.
- Drop in just the egg yolk and stir until the mixture becomes smooth and uniform in color.
- Add the flour all at once and stir gently until no dry streaks remain, being careful not to overmix. Stop stirring as soon as you no longer see flour.
- Fold in the chocolate chips, reserving a few to press into the top for presentation if desired.
- Use your spoon to press the dough down gently and smooth the top slightly so it cooks evenly.
- Microwave on high power for 40 to 60 seconds, watching carefully through the window. The cookie is done when the edges look set but the center still appears slightly underdone.
- Let the mug cookie cool for at least 2 minutes before eating. The brief cooling time lets the texture set properly.