The Feast

Home cooking recipes for everyday dinners and easy entertaining

Cocoa Mug Cake Recipe for a Quick Chocolate Dessert

· 6 min read · Baking and Desserts

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

This cocoa mug cake is a single-serving chocolate sponge made in a microwave. It has a moist crumb and a deep cocoa flavor, making it a fast option for a late-night snack or a quick dessert after a weeknight dinner.

Chocolate Mug Cake Basics

Mug cakes rely on the rapid heating of a microwave to steam and bake the batter simultaneously. Unlike oven-baked cakes, which use dry heat to create a crust, mug cakes remain soft and pudding-like if slightly underbaked. The use of cocoa powder provides the primary flavor profile, while a small amount of fat from oil or butter ensures the cake does not dry out during the high-intensity cooking process.

Because microwaves vary in wattage, the cooking time is a range rather than a fixed point. A 1200-watt microwave will cook the batter significantly faster than a 700-watt model. The goal is to reach a point where the top is set but still slightly tacky to the touch. Overcooking a mug cake by even 10 seconds can lead to a tough, rubbery consistency because the moisture evaporates quickly from the small volume of batter.

Ingredient Substitutions

The base recipe uses all-purpose flour and granulated sugar, but several swaps can be made depending on the desired result. For a richer flavor, replace the cocoa powder with Dutch-processed cocoa, which is neutralized in acidity and produces a darker color and smoother taste. If using natural cocoa powder, the cake will have a slightly more acidic, sharp chocolate profile.

For a dairy-free version, use oat milk, almond milk, or soy milk instead of cow's milk. These alternatives generally work in a 1:1 ratio without altering the bake time. If replacing the vegetable oil with melted butter, the cake will have a more buttery, traditional cake flavor but may be slightly denser. Using applesauce instead of oil reduces the fat content and adds moisture, though the cake will be more moist and less like a traditional sponge.

For those avoiding refined sugar, maple syrup or honey can be used. Use 2 tablespoons (30 ml) of syrup for every 3 tablespoons (38 g) of sugar. Note that honey is not for babies under 1 year. When using liquid sweeteners, reduce the milk by 1 tablespoon (15 ml) to maintain the batter consistency. If using monk fruit or erythritol, use a 1:1 ratio, though some granulated sugar alternatives can leave a cooling aftertaste in microwave desserts.

Serves 1 · Prep 2 min · Cook 2 min · Total 4 min

Ingredients

  • 4 tablespoons (32 g) all-purpose flour (heat-treated to 160°F/71°C)
  • 2 tablespoons (16 g) unsweetened cocoa powder
  • 2 tablespoons (25 g) granulated sugar
  • 1/4 teaspoon (1 g) baking powder
  • 1 pinch salt
  • 3 tablespoons (45 ml) milk (whole, oat, or almond)
  • 1 tablespoon (15 ml) vegetable oil or melted butter
  • 1/4 teaspoon (1 ml) vanilla extract
  • 1 tablespoon (15 g) chocolate chips (optional)

Instructions

  1. Heat-treat the flour by microwaving it in a bowl in 30-second intervals, stirring in between, until it reaches 160°F (71°C) on a food thermometer. This step is necessary because raw flour can contain bacteria. Let the flour cool before proceeding.
  2. Select a microwave-safe mug that holds at least 12 ounces (355 ml). A larger mug prevents the batter from overflowing as it rises.
  3. Add the heat-treated flour, cocoa powder, sugar, baking powder, and salt directly into the mug. Stir with a small whisk or fork until the dry ingredients are evenly distributed and no large clumps of cocoa remain.
  4. Pour in the milk, vegetable oil, and vanilla extract. Stir the mixture until the batter is smooth. Stop stirring as soon as the flour streaks disappear to avoid overworking the gluten, which causes the cake to become tough.
  5. If using chocolate chips, drop them onto the top of the batter or stir them in gently.
  6. Place the mug in the center of the microwave. Cook on high for 70 to 90 seconds. Start at 70 seconds and check for doneness.
  7. The cake is done when the top is set and no longer looks wet, but it still feels slightly springy. If the center is still liquid, continue cooking in 10-second increments.
  8. Remove the mug carefully, as the handle and batter will be very hot. Let the cake stand for 2 minutes before eating. This resting period allows the internal structure to set and the heat to distribute evenly.

Cake Texture and Doneness

Determining when a mug cake is finished is different from checking a standard oven cake. Because the microwave cooks from the outside in, the edges often set first. Use a toothpick or a knife to check the center; it should come out with a few moist crumbs attached, but not wet batter. If the toothpick is completely clean, the cake is likely overcooked and may become dry within minutes.

The internal temperature for a fully set mug cake typically reaches about 180°F to 190°F (82°C to 88°C), though most home cooks rely on the visual cue of the surface becoming matte rather than glossy. The cake will rise significantly during the 90 seconds of cooking and may slightly sink back down during the 2-minute resting period; this is normal behavior for a quick-rise sponge.

Batter and Baking Failures

One common mistake is over-mixing the batter. When flour is stirred too vigorously, the gluten proteins bond too strongly, resulting in a rubbery or chewy texture rather than a tender crumb. To prevent this, stir only until the ingredients are combined.

Another frequent issue is overcooking. Because the volume of the cake is so small, the transition from "perfect" to "dry" happens in seconds. If the cake looks like a dry sponge or pulls away significantly from the sides of the mug, it has been cooked too long. This results in a crumb that feels like styrofoam. If this happens, adding a tablespoon of warm milk or a dollop of whipped cream can help restore some moisture.

Using a mug that is too small can cause the batter to overflow, creating a mess in the microwave and resulting in an unevenly cooked cake. Always ensure the batter fills no more than half of the mug's volume to allow room for the baking powder to lift the cake.

Storing the Cake

Mug cakes are designed to be eaten immediately. However, if you must store the cake, let it cool completely to room temperature first. Place the cake in an airtight container or cover the mug tightly with plastic wrap. Store the cake in the refrigerator for 3 to 4 days. Because of the high moisture content and lack of preservatives, leaving the cake at room temperature for more than 2 hours can lead to spoilage.

To reheat a refrigerated mug cake, microwave it for 15 to 20 seconds. Do not overheat it, as this will further dry out the crumb. Freezing is not recommended for mug cakes, as the texture often becomes grainy upon thawing. For the best experience, prepare the batter and cook the cake only when ready to serve.

Measurement Reference Table

For those making multiple cakes or adjusting the size, use the following ratio for a standard chocolate mug cake. These measurements ensure the balance of leavening and moisture remains consistent.

Ingredient Single Serving (US) Single Serving (Metric) Ratio (Approx)
Flour 4 tbsp 32 g 4 parts
Cocoa 2 tbsp 16 g 2 parts
Sugar 2 tbsp 25 g 2 parts
Milk 3 tbsp 45 ml 3 parts
Oil/Butter 1 tbsp 15 ml 1 part

When scaling this recipe, avoid using a single giant mug for multiple servings. Microwave energy does not penetrate deep into large masses of batter effectively, which would leave the center raw while the edges burn. Instead, divide the batter into individual 12-ounce (355 ml) mugs and cook them one at a time or in pairs if your microwave has a rotating turntable and enough space to prevent crowding.

In this article
  1. Chocolate Mug Cake Basics
  2. Ingredient Substitutions
  3. Ingredients
  4. Instructions
  5. Cake Texture and Doneness
  6. Batter and Baking Failures
  7. Storing the Cake
  8. Measurement Reference Table