Mug Cookie
Posted Jun 03, 2026
This post may contain affiliate links. Please read our disclosure policy.
This easy mug cookie recipe makes a warm, buttery, gooey cookie in minutes – no oven required! A cookie in a mug is the perfect quick and easy single-serve dessert when the cookie craving strikes!

Sometimes you just need a chocolate chip cookie right now, and when the craving hits – you need this mug cookie recipe.
Making a chocolate chip cookie in a mug couldn’t be easier. You mix the dough in the mug, cook it in the mug, and enjoy it straight from the mug—no extra bowls, no mess. In just minutes, you’re digging into a warm, gooey, chocolate chip cookie with hardly any dishes to clean up.
All you need is 9 simple ingredients and less than 5 minutes and you’ll be enjoying this delicious single-serving treat!

Mug Cookie: Ingredients & Substitutions

- Salted Butter. Unsalted butter & coconut oil are both good substitutes.
- Granulated sugar. Use organic cane sugar if you’d like.
- Light brown sugar. Dark brown sugar or coconut sugar are great choices.
- Mini chocolate chips. I prefer mini chips because they spread well throughout the dough so there’s chocolate in every bite. You can use regular-sized chips, chopped chocolate bars, etc.

How to Make a Cookie in a Mug
Let’s walk through how to make a cookie in a mug together – and you can watch the video if you need some more help! The best thing about this recipe is that it’s all made in the mug! So easy!
First, melt the butter in the mug.


Then, let it cool slightly by stirring it a few times, and mix in the sugar, brown sugar, vanilla, and egg yolk.


Next, add the flour, salt, and baking soda and stir to combine.


Then, stir in the mini chocolate chips until they’re evenly distributed throughout the dough.


Cook in the microwave for 55 seconds. Then let the mug cookie cool before serving.

Serve
Serve this cookie in a mug nice and warm with a sprinkle of flaky sea salt or a scoop of vanilla ice cream. We also love topping it with some homemade whipped cream!

Store
You really shouldn’t need to store this because it’s made to be eaten by one person in a single serving. However, if you don’t finish it, just cover the top of the mug with plastic wrap and store it in the fridge for up to 3 days. Reheat in the microwave for a few seconds.

Mug Cookie Recipe FAQS
45 to 60 seconds depending on the strength of your microwave.
You can replace the egg yolk with 2 or 3 Tablespoons of heavy cream. It won’t rise the same, but it will taste delicious.
Use a 10 to 12 ounce mug.
Yes! Bake at 350°F (175°C) for about 10–12 minutes, or until the top is just barely set and the edges are lightly brown.
Slightly undercook it and use a good amount of chocolate chips and it will be extra gooey.
I have up to quadrupled this recipe to make them for 4 of my kids at one time. I just cook each one in an individual mug.
Here are some mix-in suggestions:
– Chocolate chips (obviously)
– White chocolate chips
– Chopped peanut butter cups
– Peanut butter chips
– Nuts

If you make and love my recipes, it would mean so much to me if you would leave a comment and rating! And don’t forget to follow along on Instagram, Pinterest, Facebook, TikTok and Youtube – be sure to tag @joyfoodsunshine and use the hashtag #joyfoodsunshine so I can see your creations!

Chocolate Chip Cookie in a Mug
Video
Equipment
- mug
Ingredients
- 2 Tablespoons salted butter
- 2 Tablespoons granulated sugar
- 2 Tablespoons light brown sugar
- 1 egg yolk (or 1 Tablespoon heavy cream)
- ¼ teaspoon pure vanilla extract
- ¼ cup all-purpose flour
- ⅛ teaspoon baking soda
- ⅛ teaspoon fine sea salt
- 2 Tablespoons mini chocolate chips
Instructions
- Melt butter for 20 seconds in a 10 to 12 ounce mug.
- Add white sugar, brown sugar, egg yolk and vanilla and stir to combine.
- Stir in the flour baking soda and sea salt until incorporated.
- Stir in chocolate chips.
- Microwave for 45-55 seconds, until the top is set.
- Let cool slightly and serve warm.
Notes
- Salted Butter. unsalted butter & coconut oil are both good substitutes.
- Granulated sugar. Use organic cane sugar if you’d like.
- Light brown sugar. dark brown sugar or coconut sugar are great choices.
- Mini chocolate chips. I prefer mini chips because they spread well throughout the dough so there’s chocolate in every bite. You can use regular-sized chips, chopped chocolate bars, etc.
Nutrition
Nutrition information is automatically calculated, so should only be used as an approximation.










