Chocolate
Cocoa Nut Crunch Mug Cake
Gluten-free chocolate cake with toasted nuts for the bite a mug cake usually misses.
Steps
-
Stir almond flour, cocoa, sugar, baking powder, and salt in a 12 oz mug. Almond flour packs down, so scrape the sides once.
-
Add milk, oil, and vanilla. Mix until the batter looks glossy and no dry cocoa sits at the bottom.
-
Fold in most of the walnuts, then sprinkle the rest over the top so you still get crunch after microwaving.
-
Microwave 70-80 seconds. The surface should be matte with a slightly soft center.
-
Rest one minute. The nuts firm back up as steam leaves the top layer.
Tips from the test kitchen
Toast the nuts before they hit the batter. The microwave warms nuts, but it does not toast them from raw.
Success guide
Make it work the first time
Expected texture
Expect a soft, spoonable crumb rather than crisp edges. Chocolate mug cakes cook like tiny steamed cakes, so the best cue is a set edge with a slightly soft center.
Success tips
- Use a microwave-safe mug with visible headroom. If the batter fills more than about half the mug, move it to a larger mug before cooking.
- Start with the lower end of the microwave time in the steps. Add time in short bursts only if the center still looks wet.
- Let the cake rest before eating. The crumb keeps setting after the microwave stops, and the mug will be very hot.
- This recipe avoids a whole egg, which helps prevent the bouncy texture people often dislike in small mug cakes.
- Almond flour stays tender but can look less dry on top. Judge by set edges and rest time, not by browning.
Substitutions
- Milk
- Whole milk gives the softest crumb. Unsweetened oat or almond milk can work, but the cake may taste a little lighter.
- Fat
- Neutral oil keeps mug cakes moist. Melted butter works in some chocolate or vanilla cakes, but it can make the crumb firmer as it cools.
- Flour
- Keep the gluten-free flour or almond flour listed here; swapping back to wheat flour changes the liquid balance.
Troubleshooting
- Rubbery texture
- Usually caused by overmixing, overcooking, or too much egg for one mug. Mix only until no dry flour remains and stop at the first set-top cue.
- Dry crumb
- The cake likely cooked too long. Next time start at the low end of the time range and let rest instead of microwaving until fully dry.
- Overflow
- The mug was too small or too full. Use more headroom and set the mug on a paper towel if your microwave runs hot.
- Wet center
- Microwave in one short burst, then rest again. A slightly glossy center is fine; a puddle of batter needs more time.
Variations
- Add a pinch of instant espresso to make the cocoa taste deeper.
- Drop extra chocolate chips in the center for a softer spoonful.
- Serve with whipped cream or yogurt if you want a softer finish.


