Dinners

Gluten Free Mug Cake Recipes for the Microwave

Updated · By Patriot Kitchen

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

Jump to recipe Save

This gluten free chocolate mug cake is a single-serving dessert with a moist, cake-like crumb and a rich cocoa flavor. It is designed for quick preparation on weeknights or as a fast treat when a full batch of cake is not needed.

Ingredients

  • 4 tbsp (30 g) gluten-free all-purpose flour blend (ensure it contains xanthan gum)
  • 2 tbsp (15 g) unsweetened cocoa powder
  • 2 tbsp (25 g) granulated sugar
  • 1/4 tsp (1 g) baking powder
  • 1 pinch (0.5 g) salt
  • 3 tbsp (45 ml) milk of choice (dairy, almond, or oat)
  • 1 tbsp (15 ml) neutral oil (vegetable, canola, or melted coconut oil)
  • 1/4 tsp (1 ml) vanilla extract
  • 1 tbsp (15 g) semi-sweet chocolate chips

Instructions

Prep the Batter

  • 4 tbsp (30 g) gluten-free flour
  • 2 tbsp (15 g) cocoa powder
  • 2 tbsp (25 g) sugar
  • 1/4 tsp (1 g) baking powder
  • 1 pinch salt
  1. Select a microwave-safe ceramic mug that holds at least 12 ounces (350 ml) to prevent overflow during the rise.
  2. Sift the gluten-free flour, cocoa powder, sugar, baking powder, and salt directly into the mug to remove lumps.
  3. Stir the dry ingredients with a small fork or whisk until the cocoa powder is evenly distributed and no white streaks of flour remain.

Cook the Cake

  • 3 tbsp (45 ml) milk
  • 1 tbsp (15 ml) oil
  • 1/4 tsp (1 ml) vanilla extract
  • 1 tbsp (15 g) chocolate chips
  1. Pour the milk, oil, and vanilla extract into the mug with the dry mixture.
  2. Stir the batter until smooth, scraping the bottom edges of the mug to ensure no dry flour pockets remain.
  3. Fold in the chocolate chips or press them into the center of the batter for a molten core.
  4. Place the mug in the center of the microwave. Cook on high power for 70-90 seconds.
  5. Check for doneness: the cake is done when the top looks set and matte rather than shiny or wet, and the edges have pulled away slightly from the sides of the mug.
  6. Since this recipe contains raw flour and raw eggs are not used, ensure the flour is heat-treated to 160°F (71°C) if you are serving this to pregnant people, young children, or those with weakened immune systems.

Finish and Serve

  1. Remove the mug carefully using a towel or oven mitt, as the ceramic will be hot.
  2. Let the cake rest for 2-3 minutes. This resting period allows the steam to settle and the crumb to firm up, preventing the cake from collapsing.
  3. Serve warm directly from the mug or invert the cake onto a small plate.

Flour and Sweetener Swaps

The choice of gluten-free flour significantly impacts the texture of a microwave cake. Most commercial 1-to-1 gluten-free flour blends use a mix of rice flour, potato starch, and tapioca starch. If your blend does not include xanthan gum, add 1/8 tsp (0.5 g) of xanthan gum to the dry ingredients to provide the structure that gluten normally offers; without it, the cake may be crumbly or fall apart when inverted.

Substitution Ratio Result Change
Almond Flour 1:1 by volume Denser, moister, and more nutty; may require 10-15 extra seconds of cook time.
Coconut Flour 1 tbsp coconut : 4 tbsp GF blend Much more absorbent; requires an additional 1-2 tbsp of milk to avoid dryness.
Maple Syrup 1 tbsp syrup : 2 tbsp sugar Moister texture and deeper flavor; reduce milk by 1 tsp to compensate for liquid.
Honey 1 tbsp honey : 2 tbsp sugar Similar to maple syrup; do not use honey for infants under 1 year of age.
Monk Fruit Sweetener 1:1 by volume Similar texture; some brands may leave a slight cooling aftertaste.

Mug Cake Texture and Doneness

Microwaves cook by vibrating water molecules, which can lead to uneven heating. This often results in “hot spots” where the cake overcooks and becomes rubbery while the center remains raw. To avoid this, use a mug with straight sides rather than a tapered shape, as this allows for more even heat distribution.

The primary doneness cue is the surface appearance. A raw microwave cake looks like a glossy liquid or a thick paste. A cooked cake has a dull, matte surface that springs back slightly when touched with a toothpick. If the cake looks wet in the center, microwave in 10-second increments. Overcooking is a common issue; if the cake becomes hard or chewy, reduce the cook time by 10 seconds in the next batch.

For those using a food thermometer, the internal temperature of a gluten-free mug cake should reach approximately 200°F (93°C) to ensure the starches have gelatinized and the cake is fully set. Because the volume is so small, the temperature rises rapidly, so check the center quickly.

Storing and Reheating Cake

Mug cakes are intended for immediate consumption, as the high moisture content and lack of traditional preservatives cause them to dry out quickly. If you do not eat the cake immediately, wrap the mug tightly in plastic wrap or transfer the cake to an airtight container.

  • Refrigeration: Store the cake in the refrigerator for 3-4 days. Perishable dairy components mean the cake must be refrigerated within 2 hours of cooking.
  • Freezing: While possible, freezing a single mug cake is not recommended as the texture often becomes grainy upon thawing. If freezing, wrap in foil and store for up to 1 month.
  • Reheating: To reheat a refrigerated cake, microwave it for 15-20 seconds. To ensure safety for leftovers, reheat until the internal temperature reaches 165°F (74°C) as per USDA FSIS guidelines.

Common Mug Cake Issues

One frequent problem is the “sinkhole,” where the cake rises rapidly and then collapses in the center. This is usually caused by too much baking powder or over-mixing the batter. Stir only until the flour disappears; over-mixing can incorporate too much air or activate the leavening agent too quickly, leading to a collapse.

Another issue is a rubbery texture. This occurs when the cake is overcooked or when too much protein-based flour (like soy or pea flour) is used in the blend. If your cake is consistently rubbery, try reducing the microwave power to 80% and increasing the time by 20 seconds. This slower cook allows the heat to penetrate the center without scorching the outer edges.

If the cake is too dry, it is often due to the gluten-free flour absorbing more liquid than wheat flour. Different brands of gluten-free blends vary in their absorption rates. If the batter looks like a thick paste rather than a pourable batter, add milk one teaspoon at a time until it reaches a smooth, thick consistency. A small dollop of peanut butter or a teaspoon of water placed in the center of the batter before cooking can also create a moist pocket that prevents the overall cake from feeling dry.

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