This chocolate lava mug cake features a sponge-like exterior with a molten, liquid center. It is a fast dessert for weeknights or a single-serving treat when a full cake is not practical. The microwave method uses rapid heating to set the edges while leaving the center undercooked to create the lava effect.
How to Scale the Batch Size
The base recipe is designed for one standard 12-ounce (355 ml) microwave-safe mug. If you need to adjust the quantity, use the ratios in the table below. When doubling the recipe, do not cook both cakes in one large container; use two separate mugs to ensure the heat penetrates the batter evenly and the centers remain molten.
| Batch Size | Flour | Sugar | Cocoa Powder | Milk | Oil/Butter |
|---|---|---|---|---|---|
| Half (0.5x) | 2 tbsp (8 g) | 1 tbsp (12 g) | 1 tbsp (5 g) | 1.5 tbsp (22 ml) | 0.75 tbsp (11 ml) |
| Single (1x) | 4 tbsp (16 g) | 2 tbsp (25 g) | 2 tbsp (10 g) | 3 tbsp (44 ml) | 1.5 tbsp (22 ml) |
| Double (2x) | 8 tbsp (32 g) | 4 tbsp (50 g) | 4 tbsp (20 g) | 6 tbsp (88 ml) | 3 tbsp (44 ml) |
Ingredients
Serves 1 · Prep 5 min · Cook 1 min · Total 6 min
- 4 tbsp (16 g) all-purpose flour (heat-treated to 160°F/71°C)
- 2 tbsp (25 g) granulated white sugar
- 2 tbsp (10 g) unsweetened cocoa powder
- 1/4 tsp (1 g) baking powder
- Pinch (0.5 g) salt
- 3 tbsp (44 ml) whole milk
- 1.5 tbsp (22 ml) vegetable oil or melted unsalted butter
- 1/4 tsp (1 ml) vanilla extract
- 1 tbsp (15 g) semi-sweet chocolate chips or one square of baking chocolate
Instructions
- Prepare the flour: To make the raw flour safe for consumption, spread the 4 tbsp (16 g) of all-purpose flour on a baking sheet and heat in the microwave or oven until it reaches 160°F (71°C) on a food thermometer. Let it cool before using. This step is necessary because raw flour can contain bacteria.
- Mix dry ingredients: Add the heat-treated flour, sugar, cocoa powder, baking powder, and salt directly into a 12-ounce (355 ml) microwave-safe ceramic mug. Stir with a small fork or whisk until no large lumps of cocoa powder remain.
- Combine wet ingredients: Pour in the milk, oil (or melted butter), and vanilla extract. Stir the mixture until the batter is smooth and glossy. Ensure you scrape the bottom edges of the mug so no dry flour pockets remain.
- Create the lava center: Push the chocolate chips or the square of baking chocolate into the center of the batter. Do not stir the chocolate into the mix; press it down until it is completely covered by the batter.
- Microwave: Place the mug in the center of the microwave. Cook on high power for 60 to 80 seconds. The cooking time varies by microwave wattage. The cake is done when the edges are firm and set, but the center still looks slightly wet and jiggles when the mug is gently shaken.
- Rest and serve: Let the cake stand in the microwave for 1 to 2 minutes. This allows the residual heat to finish setting the walls of the cake while keeping the center liquid.
What to Use for Different Textures
The choice of fat and liquid changes the density of the mug cake. Using melted unsalted butter provides a richer, more traditional cake flavor and a denser crumb. Vegetable oil results in a lighter, more moist texture that stays soft even if the cake cools down. For a dairy-free version, replace the whole milk with oat milk or soy milk and use vegetable oil. Check all labels for allergens when using substitutions.
The type of chocolate used for the center also affects the result. Semi-sweet chocolate chips maintain a thick, syrup-like consistency. A piece of high-cocoa dark chocolate (70% cocoa or higher) creates a more intense, bitter center that balances the sweetness of the cake batter. If you use a white chocolate square, the center will be creamier and sweeter.
To avoid a rubbery texture, do not overmix the batter once the flour is added. Overmixing develops gluten, which in a microwave environment leads to a chewy or tough cake. Stir only until the streaks of flour disappear. If the batter looks too thick to pour, add milk one teaspoon at a time until it reaches a thick but pourable consistency.
Why is the Cake Rubbery or Dry?
The most common cause of a rubbery mug cake is overcooking. Microwaves heat water molecules rapidly, and because the cake is small, the transition from undercooked to overcooked happens in seconds. If the top of the cake looks completely matte and dry, it has likely been cooked too long. The center should remain glossy.
Another cause of dryness is the type of flour. All-purpose flour is standard, but using a high-protein bread flour will make the cake too tough. If the cake is dry, reduce the microwave time by 10 seconds in the next attempt. Ensure the mug is not too small; if the batter fills more than two-thirds of the mug, it may overflow or cook unevenly, leading to dry spots on the top.
If the cake does not rise, check the expiration date of the baking powder. Baking powder reacts with heat and moisture to create carbon dioxide bubbles. If it is old, the cake will be dense and flat. You can test baking powder by adding a pinch to hot water; if it bubbles immediately, it is active.
How to Store and Reheat Lava Cakes
Lava cakes are intended to be eaten immediately while the center is molten. However, if you have leftovers, transfer the cake from the mug to an airtight container or cover the mug tightly with plastic wrap. Refrigerate within 2 hours of cooking. The cake will keep in the refrigerator for 3 to 4 days.
To reheat, place the cake back in the microwave. Heat in 15-second intervals until the center is warm again. Do not overheat, as this will cook the "lava" center into a solid sponge. Reheat the cake until it reaches a safe internal temperature of 165°F (74°C) if you are reheating leftovers, as per USDA FSIS guidelines for reheated foods.
This cake does not freeze well because the moisture in the molten center can cause the cake to become soggy upon thawing. If you must freeze it, wrap it tightly in foil and freeze for up to 2 weeks. Thaw in the refrigerator overnight before reheating in the microwave.
Pairing and Serving Ideas
Because the cake is rich and sweet, it pairs well with acidic or cold accompaniments. A scoop of vanilla bean ice cream provides a temperature contrast that complements the hot chocolate center. Fresh raspberries or sliced strawberries add acidity that cuts through the richness of the cocoa.
For a more complex flavor, serve the cake with a dollop of unsweetened whipped cream or a spoonful of Greek yogurt. A sprinkle of flaky sea salt on top of the finished cake enhances the chocolate flavor. If serving as a dessert for guests, dust the top with a small amount of powdered sugar using a fine-mesh sieve for a clean appearance.
For those who prefer a beverage pairing, a glass of cold milk or a cup of black coffee balances the sweetness. If the cake is served to adults of legal drinking age, a small glass of fortified wine or a dessert liqueur can be paired with it; please drink responsibly.
Lava Mug Cakes for Different Dietary Needs
For a version without gluten, replace the all-purpose flour with a 1:1 gluten-free flour blend that contains xanthan gum. The texture will be slightly more fragile, so allow the cake to cool for an extra minute before eating to let it set. If the gluten-free blend does not have xanthan gum, add 1/8 tsp of it to the dry ingredients to prevent the cake from crumbling.
To make the cake without refined sugar, you can use an equal amount of monk fruit sweetener or erythritol. Note that some sugar substitutes can leave a cooling aftertaste or affect the browning of the cake. Maple syrup can be used as a replacement for sugar, but you must reduce the milk by 1 tablespoon to account for the extra liquid in the syrup.
If you are avoiding eggs, this specific recipe is already egg-free, relying on baking powder for lift. This makes it a safer option for those with egg allergies. Always check the labels of your cocoa powder and chocolate chips to ensure they are processed in a facility that meets your dietary requirements.