Dinners

Vanilla Mug Cake Recipe UK and US Measures

Updated · By Patriot Kitchen

Total timeprep + cook
5 min
Prep
2 min
hands-on
Cook
3 min
oven or stovetop
Serves
1
as written
USDA safe temp
160°F / 71°C
check the thickest part

Jump to recipe Save

Time: 5 min, Serves: 1, The key step: Mixing until just combined to avoid a rubbery texture.

This vanilla mug cake is a single-serving sponge with a light, buttery taste and a soft crumb. It is suitable for a quick dessert or a snack when a full-sized cake is not practical.

Because this recipe uses raw flour and eggs, the flour must be heat-treated to 160°F (71°C) and pasteurised eggs should be used to eliminate bacteria. Pregnant people, young children, older adults, and anyone with a weakened immune system should avoid raw eggs and raw flour.

Ingredients

  • 4 tbsp (32 g) all-purpose flour (heat-treated to 160°F/71°C)
  • 2 tbsp (25 g) granulated sugar
  • 1/4 tsp (1 g) baking powder
  • 1 pinch salt
  • 3 tbsp (45 ml) milk (dairy or oat milk for a dairy-free version)
  • 1 tbsp (14 g) melted unsalted butter or neutral vegetable oil
  • 1/2 tsp (2.5 ml) vanilla extract
  • 1 tbsp (15 g) pasteurised egg or egg substitute (beaten)

Instructions

  1. Grease a standard 12 oz (355 ml) microwave-safe mug with a small amount of butter or oil to prevent sticking.
  2. Add the heat-treated flour, sugar, baking powder, and salt directly into the mug. Stir with a fork or small whisk until the dry ingredients are evenly distributed.
  3. Pour in the milk, melted butter (or oil), vanilla extract, and beaten pasteurised egg.
  4. Stir the mixture until the batter is smooth and no dry flour pockets remain. Stop stirring as soon as the batter is combined; over-mixing develops gluten, which results in a tough, rubbery cake.
  5. Place the mug in the centre of the microwave. Cook on high power for 70 to 90 seconds. The cake is done when the top has risen and is set to the touch, and the edges have pulled away slightly from the sides of the mug.
  6. Check the internal temperature with a food thermometer to ensure the egg dish has reached a safe minimum of 160°F (71°C) per USDA FSIS guidelines.
  7. Remove the mug carefully using a oven mitt or towel, as the handle will be hot. Let the cake cool in the mug for 2 minutes before eating to allow the structure to set.

Scaling for Different Batch Sizes

While designed for one person, the ratios can be adjusted for smaller portions or for making multiple cakes in separate mugs. Do not double the batter in a single mug, as it will overflow and may not cook through the centre.

Ingredient Half Batch (0.5 Serves) Double Batch (2 Serves – 2 Mugs)
Flour 2 tbsp (16 g) 8 tbsp (64 g)
Sugar 1 tbsp (12.5 g) 4 tbsp (50 g)
Baking Powder 1/8 tsp (0.5 g) 1/2 tsp (2 g)
Milk 1.5 tbsp (22.5 ml) 6 tbsp (90 ml)
Butter/Oil 1/2 tbsp (7 g) 2 tbsp (28 g)
Vanilla 1/4 tsp (1.25 ml) 1 tsp (5 ml)
Egg 1/2 tbsp (7.5 g) 2 tbsp (30 g)

Batter Texture and Consistency Fixes

The success of a mug cake depends on the ratio of liquid to dry ingredients and the power of the microwave. Because microwave wattage varies (typically between 700W and 1200W), the result can differ between machines.

Rubbery or Tough Texture

A rubbery texture is caused by over-mixing the batter. When flour is stirred too vigorously, the proteins form long gluten chains that tighten during the rapid heating of the microwave. To fix this, stir only until the flour streaks disappear. If the cake is consistently rubbery, replace 1 tablespoon of all-purpose flour with cornstarch to lower the protein content.

Dry or Spongy Texture

Dryness occurs when the cake is overcooked by even 10 to 15 seconds. Microwaves continue to cook the food after the timer stops. If the cake is dry, reduce the cooking time by 10 seconds in the next attempt. Adding an extra teaspoon of milk or a tablespoon of sour cream can also increase the moisture content of the crumb.

Runny or Gooey Centre

A runny centre indicates the cake is undercooked or the batter was too wet. If the top looks set but the middle is liquid, microwave in 10-second increments until the centre reaches 160°F (71°C). If the batter seems too thin before cooking, add 1 teaspoon of flour to thicken it. Ensure the baking powder is fresh; expired leavening agents will not provide the lift needed to set the structure.

Ingredient Swaps and Their Effects

Adjusting ingredients changes the density and flavour profile of the cake. Always maintain the volume ratio to ensure the cake rises and sets correctly.

  • Butter vs. Oil: Melted butter provides a richer, more traditional cake flavour. Vegetable or canola oil results in a moister, softer crumb that stays soft longer when cooled.
  • Milk Alternatives: Oat milk or soy milk provide a similar consistency to dairy milk. Almond milk is thinner and may result in a slightly less dense cake. Coconut milk adds a subtle coconut flavour and a creamier texture.
  • Sugar Alternatives: Brown sugar can be used in place of granulated sugar for a deeper, caramel-like taste and a slightly denser texture. Honey or maple syrup can be used, but reduce the milk by 1 tablespoon to compensate for the added liquid.
  • Flour Alternatives: For a denser, more protein-rich cake, almond flour can be used, though the cake will not rise as much and will have a grainier texture. A 1:1 gluten-free flour blend usually works without modification.

Cake Storage and Safety

Mug cakes are intended to be eaten immediately, as the high ratio of leavening to flour can cause them to dry out quickly once cooled.

If not eaten immediately, wrap the cake in plastic wrap or place it in an airtight container and refrigerate within 2 hours of cooking. The cake will keep in the refrigerator for 3 to 4 days. To reheat, microwave for 15 to 20 seconds until warmed through. For safety, ensure reheated leftovers reach an internal temperature of 165°F (74°C) as per USDA guidelines.

This cake can be frozen for up to 2 weeks. Wrap the cooled cake tightly in aluminium foil and place it in a freezer bag. Thaw in the refrigerator overnight before reheating in the microwave. Do not store the cake at room temperature for more than 2 hours due to the dairy and egg content.

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