Peanut Butter Mug Cake in Under 2 Minutes
When you want something sweet but don’t have much time, this peanut butter mug cake is a reliable answer. It uses four simple pantry ingredients, comes together in one mug, and is ready in about two minutes. The result is a warm, soft, and lightly nutty cake with a tender crumb and a rich peanut butter flavor.

Why You’ll Love This Recipe
- Ready in about 2 minutes: Mix in the mug and microwave, so there is no oven to preheat.
- Only 4 ingredients: Most of these are likely already in your kitchen.
- Easy cleanup: You only need one mug and a spoon or fork.
- Single serving: It is an easy way to satisfy a sweet craving without baking a full batch.
Ingredients
- 2 tbsp (32 g) creamy peanut butter
- 1 large egg
- 2 tbsp (25 g) granulated sugar
- 2 tbsp (16 g) all-purpose flour
Quantities are practical estimates for a standard 12-ounce (about 350 ml) mug. Measurements may need slight adjustment depending on your peanut butter brand.
Ingredient Notes
Creamy peanut butter provides the flavor and most of the moisture. Smooth, runny-style peanut butter works best. Natural peanut butter that separates can make the batter oily, so stir it well before measuring.
Egg binds the batter and gives the cake its soft, spongy structure.
Sugar adds sweetness and helps the top brown lightly. Brown sugar can be used for a deeper, caramel-like flavor.
Flour gives the cake enough structure to hold its shape. Measure it by spooning it into the cup and leveling it off, so you don’t pack in too much.
Equipment You’ll Need
- A microwave-safe mug, about 12 ounces (350 ml)
- A small fork or spoon for mixing
- A microwave
How to Make a Peanut Butter Mug Cake
- Add the egg. Crack the egg into your mug and whisk it for about 15 seconds, until the yolk and white are blended and no streaks remain.
- Mix in the peanut butter. Add the peanut butter and stir until the mixture is smooth and glossy. It should look like thick, creamy batter with no lumps of peanut butter.
- Add the sugar and flour. Stir in the sugar and flour until the batter is evenly combined. It should be thick but spoonable, with no dry pockets of flour at the bottom or sides of the mug.
- Microwave on high for 60 seconds. Wattage varies by microwave, so check the cake at 60 seconds. The top should look set and feel springy when lightly pressed. If the center still looks wet or batter-like, microwave in 10-second bursts until set.
- Rest for 1 minute. Let the cake sit so it can finish setting and cool enough to handle. Be careful, because the mug and cake will be very hot.
- Serve warm. Eat it straight from the mug or tip it onto a small plate.
Pro Tips for the Best Results
- Whisk the egg first so it blends evenly into the peanut butter and doesn’t leave streaks.
- Use a mug with straight sides and a wide top. Batter that rises too high can overflow in the microwave.
- Start with 60 seconds and add time in short bursts. Overcooking is the main reason mug cakes turn rubbery.
- Let the cake rest for a minute before eating. It firms up slightly and is less likely to burn your mouth.
- If you like a sweeter cake, add a small pinch of chocolate chips on top before microwaving.
Common Mistakes to Avoid
Overcooking: Microwaves vary a lot. Cooking for too long makes the cake dry and tough, so add time in small increments.
Overfilling the mug: The batter rises as it cooks. Keep the mixture in the lower half of the mug to prevent a mess.
Using oily or separated peanut butter: This can make the texture greasy or uneven. Stir it well or choose a smooth, stabilized brand.
Skipping the stir: Batter that is not fully mixed can cook unevenly, leaving dry flour in some spots and wet batter in others.
Variations and Substitutions
- Chocolate peanut butter mug cake: Stir in 1 teaspoon of cocoa powder with the flour for a chocolate-peanut flavor.
- Brown sugar version: Swap the granulated sugar for brown sugar for a deeper, caramel-like taste.
- Topped version: Add a few chocolate chips or a small spoonful of sliced banana on top before microwaving.
- Crunchy version: Sprinkle chopped peanuts over the finished cake for texture.
Serving Suggestions
Serve the mug cake warm with a small spoonful of vanilla ice cream or whipped topping. A glass of cold milk is a classic pairing, especially if you enjoy peanut butter and milk together. You can also dust it lightly with powdered sugar for a simple finish.

Storage and Reheating
This mug cake is best eaten right after it is made, while it is warm and soft. Mug cakes firm up as they cool, so there are no great leftovers. If you have some left over, cover it loosely and store it at room temperature for a few hours. Reheat it in the microwave for 10 to 15 seconds to soften it again. Because the recipe is made with a raw egg, do not store it for later use or make it ahead for a group.
Frequently Asked Questions
Can I make this peanut butter mug cake without an egg?
This recipe is designed around one egg, which gives the cake its structure. Egg-free versions exist, but they use different ingredients and methods, so the results will not be identical.
Why did my mug cake turn out rubbery?
Rubbery mug cakes are usually overcooked. Try reducing the microwave time in the next batch and add time in 10-second bursts only if the center is still wet.
Can I use natural peanut butter?
Yes, but stir it well before measuring. Natural peanut butter with a lot of oil on top can make the cake greasy. Smooth, creamy peanut butter gives the most consistent results.
Can I make this in a regular oven?
This recipe is written for the microwave. Baking in an oven requires a different method, temperature, and timing, so it is best to make a separate oven recipe for that.
Can I double the recipe?
You can, but cook each mug separately rather than making one large mug. Doubling the batter in a single mug usually leads to uneven cooking and overflow.
Recipe Card
Recipe Name: Peanut Butter Mug Cake
Short Description: A warm, soft, single-serving peanut butter cake made in one mug in about 2 minutes.
Prep Time: 2 minutes
Cook Time: About 1 minute, plus 1 minute to rest
Total Time: About 4 minutes
Servings: 1
Course: Dessert
Cuisine: American
Cooking Method: Microwave
Ingredients:
- 2 tbsp (32 g) creamy peanut butter
- 1 large egg
- 2 tbsp (25 g) granulated sugar
- 2 tbsp (16 g) all-purpose flour
Instructions:
- Whisk the egg in a 12-ounce microwave-safe mug until smooth.
- Stir in the peanut butter until glossy and lump-free.
- Add the sugar and flour and mix until no dry streaks remain.
- Microwave on high for 60 seconds, then check. Add 10-second bursts if the center is still wet.
- Rest for 1 minute before eating.
Notes: Microwave wattage varies, so cooking times are estimates. Use a mug with straight sides to prevent overflow.
Storage: Best eaten immediately. Cover loosely and reheat for 10 to 15 seconds if needed.
Nutrition: Nutrition information is an estimate and may vary depending on the ingredients and brands used.
Tried this recipe? Let us know in the comments what toppings you chose for your mug cake.



