Vanilla
Vanilla Coconut Mug Cake
Dairy-free vanilla cake with coconut milk richness and a snowy coconut top.
Steps
-
Stir flour, sugar, baking powder, and salt in a mug. Shake the coconut milk before measuring so the fat is even.
-
Add coconut milk, oil, and vanilla. Mix until the batter is thick and glossy.
-
Fold in 1 tablespoon coconut, then sprinkle the rest on top.
-
Microwave 75-85 seconds. Coconut milk keeps the surface pale, so judge by spring, not color.
-
Rest one minute; the coconut on top dries into a tender chew.
Tips from the test kitchen
Full-fat coconut milk matters. Carton coconut milk is thinner and gives a flatter, drier cake.
Success guide
Make it work the first time
Expected texture
Expect a pale, tender cake with a clean vanilla crumb. Vanilla dries faster than chocolate, so stop as soon as the top looks set.
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.
Substitutions
- Plant milk
- Use the milk listed in the recipe for the most predictable texture. Thinner plant milks may need a few seconds less cooking.
- 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
- Do not assume a direct gluten-free flour swap unless the blend is labeled cup-for-cup; the texture may turn gummy.
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
- Fold in sprinkles after mixing for a birthday-cake version.
- Top the warm cake with berries or jam after microwaving.
- Top with coconut yogurt or dairy-free ice cream after resting.


