Dinners

Peanut Butter Cookie Mug Cake Recipe

Updated · By Patriot Kitchen

Ingredients
8
Steps
4

Jump to recipe Save

Peanut Butter Cookie Mug Cake Recipe

Time: 5 minutes · Serves: 1 · The key step: Stir until no streaks of flour remain, then microwave in 30-second bursts.

This single-serving peanut butter cookie mug cake is a soft, warm, deeply peanutty dessert that comes together in one mug in about five minutes. It tastes like a freshly baked peanut butter cookie in cake form, with a tender crumb and a slightly chewy edge. It is ideal for a quick weeknight treat or a late-night craving when you do not want to heat up the oven.

Ingredients

  • 3 tbsp (24 g) all-purpose flour
  • 2 tbsp (25 g) granulated sugar
  • 1/4 tsp baking powder
  • Pinch of salt
  • 2 tbsp (32 g) creamy peanut butter
  • 3 tbsp (45 ml) milk (any kind)
  • 1/2 tbsp (7 ml) neutral oil (such as vegetable or canola)
  • 1/4 tsp vanilla extract

Optional add-ins: 1 tbsp (15 g) chocolate chips, 1 tbsp (8 g) chopped peanuts, or a sprinkle of flaky salt on top.

Instructions

  1. In a microwave-safe mug (about 12 oz / 350 ml capacity), whisk together the flour, sugar, baking powder, and salt with a fork until combined.
  2. Add the peanut butter, milk, oil, and vanilla. Stir with the fork until the batter is smooth and no dry streaks of flour remain. Scrape the bottom and sides of the mug to make sure everything is mixed. If using chocolate chips or peanuts, fold them in now.
  3. Microwave on high for 45 seconds. Check the cake: it should be risen and just set on top, with a slightly moist crumb. If the center is still wet and glossy, microwave in 10-second bursts until it is just set, usually 55–70 seconds total. Do not overcook, or the cake will turn rubbery.
  4. Let the mug cake cool in the mug for 1–2 minutes before eating. It will be very hot. Serve warm, directly from the mug, with a spoon.

Doneness Cues and Timing

The cake is done when it has risen above the rim of the mug, the top looks dry and set, and a toothpick inserted into the center comes out with a few moist crumbs (not wet batter). The total microwave time will vary by wattage: a 700-watt microwave may need 70–80 seconds, while a 1200-watt microwave may need only 45–55 seconds. Start with 45 seconds and add 10-second bursts until done.

If you prefer a firmer, more cookie-like texture, microwave for an extra 10 seconds past the set point, but watch closely—overcooking makes it dry and tough.

Mistakes That Ruin the Texture

Overmixing the batter. Stirring too vigorously develops gluten, which makes the cake dense and chewy rather than tender. Mix just until the ingredients are combined, about 15–20 seconds.

Using a mug that is too small. The cake rises significantly during cooking. If the mug is smaller than 10 oz (300 ml), the batter may overflow. Use a 12 oz (350 ml) mug and fill it no more than halfway.

Microwaving too long. A few extra seconds can turn the cake rubbery or dry. Check at 45 seconds, then in 10-second bursts. The cake continues to cook slightly as it rests, so it is better to undercook by a few seconds than to overcook.

Variations and Swaps

Crunchy peanut butter: Use chunky peanut butter for added texture; it works the same way.

Dairy-free: Use any plant-based milk (such as oat or almond) and a dairy-free chocolate chip if adding. The cake will be slightly less rich but still tender.

Gluten-free: Substitute a 1:1 gluten-free all-purpose flour blend. The texture may be slightly more crumbly, but the cake will still hold together.

Sweetener: Replace the granulated sugar with 2 tbsp (30 ml) maple syrup or honey. Reduce the milk to 2 tbsp (30 ml) and expect a slightly denser, more moist cake. Note: honey is not suitable for children under 1 year.

Storage and Reheating

This mug cake is best eaten immediately, but you can store it in the mug covered with plastic wrap or in an airtight container in the refrigerator for up to 2 days. To reheat, microwave on high for 15–20 seconds until warm. The texture will be slightly denser after refrigeration. Do not freeze, as the texture becomes mushy when thawed.

If you have leftover batter (unlikely for one serving), do not store it raw—raw batter contains flour and eggs (if using) and should not be eaten raw. This recipe uses no eggs, but raw flour can carry bacteria, so do not taste the raw batter.

Raw Flour Safety

This recipe uses raw flour, which may contain harmful bacteria. To make it safe to eat without cooking, heat-treat the flour before using: spread the flour on a baking sheet and bake at 350°F (175°C) for 5 minutes, or microwave it in a bowl for 30 seconds until it reaches 160°F (71°C). Let it cool completely before mixing. This step is optional if you are cooking the cake, but it is essential if you plan to taste the raw batter.

Frequently Asked Questions

Can I use a regular oven instead of a microwave? Yes. Preheat the oven to 350°F (175°C). Pour the batter into a small oven-safe ramekin (about 6 oz / 180 ml) and bake for 12–15 minutes, until a toothpick inserted in the center comes out clean. The texture will be slightly more cake-like and less chewy.

Why is my mug cake gummy in the middle? The cake was undercooked. Microwave it in 10-second bursts until the center is just set. A slightly moist crumb is fine, but a wet, shiny center means it needs more time.

Can I make this without peanut butter? You can substitute any nut or seed butter (such as almond butter or sunflower seed butter) for a similar flavor and texture. Sunflower seed butter will turn the cake greenish due to a natural reaction with baking powder—this is harmless.

How do I know if my mug is microwave-safe? Check the bottom of the mug for a microwave-safe symbol or label. If unsure, place the empty mug in the microwave with a cup of water next to it and heat for 30 seconds. If the mug is hot and the water is cool, the mug is not microwave-safe.

Related

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).