Chocolate Chip Cookie in a Cup Recipe: Warm, Gooey Magic in 5 Minutes

Desserts

Chocolate Chip Cookie in a Cup Recipe: Warm, Gooey Magic in 5 Minutes

A chocolate chip cookie in a cup delivers all the warmth and gooeyness of a classic batch cookie—without the mess or waiting. This single-serving recipe transforms pantry staples into a 5-minute dessert that’s perfect for busy weeknights or last-minute cravings.

The secret lies in precise measurements and a foolproof baking technique that ensures crisp edges and a molten center every time.

What makes this recipe special is its simplicity: just 6 basic ingredients and a microwave or oven. Unlike traditional cookies, this version requires no mixing bowls or rolling—just stir, bake, and enjoy.

The result? A golden, crackly cup filled with gooey chocolate chips and tender cookie dough, ready in minutes. It’s the ideal solution when you want that comforting cookie experience without the effort.

By the time you’re done, you’ll have a warm, freshly baked cookie that tastes like it came straight from the oven. The edges stay crisp while the center remains soft and chewy, with pockets of melted chocolate in every bite.

This recipe is versatile enough for meal prep or spontaneous cravings—just adjust the baking time based on your preferred texture.

Whether you’re feeding one or making a batch for a crowd, this method delivers restaurant-quality results with minimal cleanup. The best part? No one will believe it took just 5 minutes to create. Let’s get baking!

👨‍🍳
Difficulty
Medium
🔥
Calories
Med Cal

Ingredients for chocolate chip cookie in a cup

Six simple ingredients transform into four golden, crackly cookies in cups.

Ingredient Amount Notes
All-Purpose Flour 🌾 ½ cup Sifted for even baking texture
Unsalted Butter 🧈 ¼ cup Cold, cubed for even melting
Granulated White Sugar 🍚 ¼ cup Packed lightly for accurate measure
Packed Brown Sugar 🍯 ¼ cup Lightly packed for moisture
Vanilla Extract 🌸 1 tsp Pure extract for authentic flavor
Semisweet Chocolate Chips 🍫 ¼ cup Nestlé or Ghirardelli preferred
Large Egg 🥚 1 whole Room temperature for even mixing
Diamond Crystal Kosher Salt 🧂 ½ tsp Fine grain for balanced flavor

The butter and sugars form the foundation of this recipe, so quality matters. Use European-style butter like Plugrá or Land O'Lakes for higher fat content—it creates that perfect crisp edge. If your brown sugar has hardened, microwave it for 20 seconds to soften before packing. For chocolate chips, Nestlé or Ghirardelli melt more evenly than store brands. I always buy extra because they disappear fast. The flour should be sifted to prevent dense cookies—just toss it in a fine-mesh strainer over a bowl before measuring.

No vanilla extract? Vanilla bean paste or even vanilla sugar works in a pinch—just adjust the measurement to 1.5 teaspoons. Out of brown sugar? White sugar plus 1 teaspoon molasses mimics the flavor, though it won't be identical. For a lower-sugar option, reduce the white sugar to 0.125 cup and add 0.125 cup applesauce. The egg can be replaced with a flax egg (1 tbsp ground flaxseed + 3 tbsp water) for vegan versions, but texture may vary slightly. If you're making these ahead, store the dry ingredients separately until ready to mix.

These cookies stay fresh for 3 days at room temperature if stored in an airtight container. For longer storage, freeze the baked cups for up to 3 months. Reheat in the microwave for 10-15 seconds to restore that fresh-from-the-oven warmth. I like to make a batch on Sunday nights and freeze extras—perfect for quick breakfasts or late-night cravings. The microwave method works best for single servings, but for a batch, use the oven at 350°F for 10-12 minutes in greased ramekins.

❤️

Why You'll Love This Recipe

  • No Mixer Needed: I swear by this recipe when my hands are full—just fold the dry ingredients into the butter-sugar mix with a spoon. The texture comes out just right, even if you’re not a baking pro.
  • Buttery-Chewy Magic: That perfect balance of crispy edges and soft centers? It’s all in the creamed butter and brown sugar—plus the vanilla ties it together like a warm hug. Honestly, I’ve tried store-bought, but this beats them every time.
  • Party in a Mug: Serve these as edible dessert cups at gatherings, or pack them for a picnic. They’re sturdy enough to handle travel but still taste like a bakery treat. My kids grab them first—no judgment here.
  • Zero Waste, Big Payoff: A single batch makes 12 portions, and the leftovers stay fresh for days. Plus, the ingredients cost pennies compared to pre-made cookies. Between us, I’ve made this on a $5 grocery run before.

Step-by-step instructions for chocolate chip cookie in a cup recipe

Here's the method—simple, foolproof, and ready in minutes.

1

Preheat and Prepare Ingredients

Preheat your oven to 350°F and position a rack in the center. While the oven heats, measure all ingredients precisely: the 0.5 cup all-purpose flour, 0.25 cup unsalted butter (cold, cubed), 0.25 cup granulated white sugar, 0.25 cup packed brown sugar, 1 tsp vanilla extract, 0.25 cup semisweet chocolate chips, 1 whole large egg, and 0.5 tsp diamond crystal kosher salt.

I always use room-temperature egg for even mixing, so let it sit out for 10 minutes if it's cold. The cold butter cubes will melt gradually in the oven, creating pockets of gooey goodness. Sift the flour to avoid lumps—this ensures a tender texture. Keep everything ready for quick assembly.

2

Mix Dry and Wet Ingredients

In a microwave-safe mug, combine the 0.5 cup all-purpose flour, 0.5 tsp diamond crystal kosher salt, 0.25 cup granulated white sugar, and 0.25 cup packed brown sugar. Stir with a fork until the dry ingredients are evenly distributed—no flour clumps should remain. This step prevents dense cookies.

In a small bowl, whisk the 1 whole large egg and 1 tsp vanilla extract until smooth. Add the 0.25 cup unsalted butter (still cubed) and stir until the butter begins to soften slightly. Pour this wet mixture into the mug with the dry ingredients and fold gently with a spoon until just combined. Overmixing develops gluten, so stop when streaks of flour remain.

3

Fold in Chocolate Chips

Gently fold in the 0.25 cup semisweet chocolate chips using a spoon, ensuring even distribution. Press the mixture down lightly in the mug to compact it slightly—this helps the cookie hold its shape while baking. The chocolate should be scattered throughout, not clustered in one spot.

Here's the thing—don't press too firmly or you'll compress the dough, which can lead to a flat cookie. Aim for a loose, slightly uneven surface. This texture ensures the edges crisp while the center stays soft and gooey. Place the mug on a baking sheet to catch any potential spills.

4

Bake to Golden Perfection

Bake for 4-5 minutes until the edges are golden brown and the top looks slightly puffed. The center should still appear soft and slightly undercooked—this is key for that classic cookie-in-a-cup texture. Rotate the mug halfway through for even baking if needed.

Remove from the oven immediately and let it cool for 1 minute—the cookie will continue to set as it rests. The edges should be crisp, while the center remains warm and gooey. Serve straight from the mug while the chocolate is still melty. If you prefer a firmer cookie, bake for an additional 30 seconds, but you'll sacrifice some of that signature softness.

👨‍🍳

Pro Tips For Making Chocolate Chip Cookie In A Cup

  • Melt Butter Slowly: I learned this the hard way—dumping cold butter straight into the microwave makes greasy, uneven cookies. Instead, cut the butter into small cubes (about ¼-inch pieces) and microwave in 15-second bursts, stirring between each. You want it just melted, not bubbling like it’s auditioning for a horror movie.
  • Measure Brown Sugar Right: Packed brown sugar isn’t just a suggestion—it’s the thing that matters most. Use a spoon to press it firmly into the measuring cup, then level it off. I used to just scoop and wonder why my cookies tasted like they were missing something. Trust me, the moisture difference is real.
  • Skip the Overmixing: Once you add the flour, stir just until combined—maybe 10 seconds max. Overmixing develops gluten, and that turns your gooey mug cookie into a dense brick. Your future self will thank you when you’re dunking instead of chewing.
  • Use a Dark Mug: Dark-colored ceramic mugs absorb heat better, so your cookie edges crisp up faster without burning. If you’re using a light mug, microwave in 30-second intervals instead of one long blast. (Yes, even if you’re impatient like me.)

Creative variations of this dish

Microwave Magic

Skip the oven entirely and bake these in 30-second bursts in the microwave for an instant dessert. Use a 12-ounce microwave-safe mug and bake for 30 seconds at 70% power, then rotate and bake another 30 seconds until golden.

The texture will be slightly denser but still delicious—perfect for when you're craving a cookie but short on time. 🔥

Gluten-Free Twist

Swap the all-purpose flour for a 1:1 gluten-free baking blend like Bob's Red Mill or King Arthur. Add ½ tsp xanthan gum to help bind the dough.

Reduce the baking time by 30 seconds since gluten-free cookies brown faster. I’ve tested this with almond flour too—just add 1 tbsp cornstarch to prevent dryness.

Double Chocolate Upgrade

Replace half the chocolate chips with chopped dark chocolate (60-70% cocoa) or white chocolate chunks for a sophisticated twist. For extra richness, add 1 tbsp cocoa powder to the dry ingredients. The contrast of dark and milk chocolate creates layers of flavor in every bite. 🍫

Spiced Variations

Add ½ tsp cinnamon or ¼ tsp nutmeg to the dry ingredients for a warm, cozy flavor. For a fall twist, fold in ¼ cup chopped pecans or walnuts along with the chocolate chips.

These spices complement the vanilla beautifully while adding depth. I love this version with a sprinkle of sea salt on top.

Protein-Packed Version

Boost nutrition by replacing ¼ cup of the flour with ¼ cup oat flour or 2 tbsp almond flour. Add 1 scoop vanilla protein powder (like Optimum Nutrition or Orgain) to the dry mix.

The texture stays tender, and you get an extra 10 grams of protein per cookie. Perfect for breakfast or a post-workout treat!

Dairy-Free Adaptation

Use vegan butter like Miyoko’s or Earth Balance, and replace the egg with 1 tbsp ground flaxseed + 3 tbsp water (let it sit for 5 minutes to thicken).

The cookies will be slightly chewier but just as satisfying. For extra richness, use dairy-free chocolate chips like Enjoy Life brand. 🌱

Nutrition facts

Servings 4
Amount Per Serving
Calories 310kcal
% Daily Value *
Total Fat 16g20%
Saturated Fat 10g50%
Cholesterol 55mg18%
Sodium 180mg8%
Total Carbohydrate 40g14%
Dietary Fiber 1g4%
Sugars 28g
Protein 4g8%
* Percent Daily Values are based on a 2,000 calorie diet. Your daily values may be higher or lower depending on your calorie needs.

Frequently asked questions

1

Can I make these in a regular mug instead of a ramekin?

Yes, but use a 12-ounce microwave-safe mug for best results. Regular mugs may not distribute heat evenly, leading to uneven baking. For the oven method, stick to 6-ounce ramekins to ensure proper rise and texture. The mug's shape affects how the cookie expands—too wide, and it may spread too much.

2

Why did my cookie turn out flat and dense?

This usually happens from overmixing the dough or using warm butter. Cold butter cubes create steam pockets for rise, while overmixing develops gluten. Also ensure your flour is sifted and measure ingredients precisely. For extra lift, try adding ½ tsp baking powder to the dry mix.

3

How do I make these ahead for meal prep?

Prepare the dry and wet ingredients separately, then store them in airtight containers for up to 3 days. When ready to bake, combine and cook as directed. For longer storage, freeze the unbaked mixtures for up to 1 month. Reheat baked cookies in the microwave for 10-15 seconds to restore freshness.

4

Can I substitute white chocolate chips?

White chocolate chips work beautifully and add a creamy contrast. For best results, use them alongside milk chocolate chips (like the original recipe) to balance sweetness. White chocolate melts faster, so fold them in just before baking to prevent premature melting.

5

What's the best way to reheat a stale cookie?

Pop the cookie back in the mug and microwave for 10-15 seconds at 50% power to restore warmth without drying it out. For oven reheating, bake at 300°F for 2-3 minutes until edges crisp again. The microwave method is fastest and preserves the gooey center best.

★★★★★5.0(4 reviews)
Categories Desserts