Food

How to Make a Peanut Butter Mug Cake

By Hayride Live · Updated · 4 min read

Peanut butter mug cake is a single-serving dessert you can mix and microwave in about 5 minutes. The basic method works for any microwave, but the exact cook time depends on your wattage, so start with the shorter time and add more in 10-second bursts. If you want a fluffier, more cake-like texture, use the egg version below; for a denser, fudgier cake, use the eggless version.

Microwave Mug Cake Method

All mug cakes follow the same pattern: mix dry ingredients, add wet ingredients, stir until just combined, then microwave. The key is not to overmix—stir just until the flour disappears, or the cake will be tough. Use a microwave-safe mug that holds at least 12 ounces (about 1.5 cups) to leave room for rising.

  1. In a microwave-safe mug (12 oz / 350 ml or larger), whisk together 4 tablespoons (30 g) all-purpose flour, 2 tablespoons (25 g) granulated sugar, 1/4 teaspoon baking powder, and a pinch of salt.
  2. Add 3 tablespoons (45 ml) milk (any kind), 2 tablespoons (30 g) creamy peanut butter, 1 tablespoon (15 ml) vegetable oil or melted butter, and 1/4 teaspoon vanilla extract. Stir with a small fork or whisk until no dry streaks remain, but do not overmix.
  3. If using the egg version, add 1 large egg yolk (save the white for something else) and stir it in now. If using the eggless version, skip this step.
  4. Microwave on high for 60–90 seconds for the eggless version, or 70–100 seconds for the egg version. Start with the shorter time, then add 10-second bursts until the top is just set and a toothpick inserted in the center comes out with a few moist crumbs (not wet batter).
  5. Let the mug cake cool for 2–3 minutes before eating—it continues to cook and set as it rests. Serve warm, straight from the mug, or tip it onto a plate.

Egg vs. Eggless: Which to Use

Both versions taste like peanut butter, but they have different textures. The egg version rises more and has a lighter, cakier crumb, while the eggless version is denser and more fudgy, almost like a warm peanut butter brownie. If you’re sensitive to raw egg, use the eggless version or use a pasteurized egg yolk.

Version Texture Cook Time (1000W microwave)
With egg yolk Fluffy, cake-like 70–100 seconds
Eggless Dense, fudgy 60–90 seconds

If your microwave is lower wattage (700W or less), expect to add 15–30 seconds to the times above. If it’s higher (1200W+), start at the lower end of the range. The mug cake is done when the top is no longer wet and the edges have pulled away slightly from the mug.

Mistakes That Make It Rubbery or Dry

The most common problem is a rubbery, tough cake, which comes from overmixing or overcooking. Mix just until the flour disappears—a few small lumps are fine. And stop microwaving as soon as the top is set; even 10 seconds too long can dry it out.

Symptom Cause Fix
Rubbery or chewy Overmixed batter or too much flour Stir less; measure flour by spooning into the spoon and leveling off
Dry, crumbly Overcooked Reduce cook time; check at the first time
Sunken center Too much baking powder or undercooked Use exact 1/4 tsp; cook until toothpick comes out with moist crumbs
Sticky, gooey center Undercooked Add 10-second bursts until set

Another common issue is the cake overflowing the mug. Use a large mug (12 oz or more) and don’t fill it more than halfway—the batter should be about 1/2 inch from the rim. If you’re using a smaller mug, cut the recipe in half.

Flavor Add-Ins and Toppings

Once you have the basic cake down, you can customize it without changing the method. Add 1–2 tablespoons of chocolate chips, a sprinkle of cinnamon, or a teaspoon of cocoa powder (reduce flour by 1 teaspoon) to make it chocolate-peanut butter. For a gooey center, place a teaspoon of extra peanut butter or a chocolate square in the middle of the batter before microwaving.

Top the finished cake with a scoop of vanilla ice cream, a drizzle of honey, or a few chopped peanuts. If you want a less sweet cake, reduce the sugar to 1.5 tablespoons (19 g). For a dairy-free version, use any plant-based milk and skip the butter (use oil instead).

Peanut Butter Mug Cake for Two

To make two servings, double all ingredients and divide the batter between two mugs. Microwave them separately or together—if together, add about 15–20 seconds to the cook time. Check each mug individually, as microwaves can have hot spots.

For a slightly larger cake, use a wide, shallow mug or a small ramekin (about 1 cup capacity). The wider surface cooks more evenly, but you may need to reduce the time by 10 seconds. The cake is done when a toothpick comes out with a few moist crumbs, not wet batter.

Storing and Reheating Leftovers

Mug cakes are best eaten fresh, but if you have leftovers, wrap the mug in plastic wrap and refrigerate within 2 hours. It will keep for up to 2 days. To reheat, microwave on medium power in 20-second bursts until warm—don’t overdo it or it will dry out. You can also eat it cold, straight from the fridge.

If you’re making the egg version, note that the raw egg yolk is not safe for pregnant people, young children, older adults, or anyone with a weakened immune system. Use a pasteurized egg yolk for those groups, or stick to the eggless version. Always refrigerate any leftovers promptly.

Spotted a mistake? Tell us and we will correct it. How we write and check articles.