This easy gluten free mug cake is tender and rich and ready in about 1 minute in the microwave. It’s the perfect single-serve chocolate fix when you want something quick without heating the oven or making a big mess.
After testing many variations, I found a reliable combination of gluten-free flour, cocoa, fat, and baking powder that yields a moist, egg-free cake that won’t turn rubbery. The instructions below include tips for different microwaves so your cake comes out soft and chocolatey every time.

Why this recipe works
Skipping eggs prevents the rubbery texture that sometimes happens in the microwave. Instead, this mug cake relies on a gum-free gluten-free flour blend, unsweetened cocoa, a bit of neutral oil or melted butter, and a touch of baking powder to create lift and a tender crumb.
Placing chopped chocolate or a few chips in the center melts as the cake cooks and helps keep the interior moist. The recipe includes guidance for microwave wattage and timing so you can adapt the cooking time for your oven.
The result is a single-serve chocolate cake with a soft bite and concentrated chocolate flavor, ready in roughly one minute.

Recipe ingredients

This single-serve dessert uses a short list of pantry-friendly ingredients. Here’s what each one does:
- Gluten free flour – Use a gum-free blend (such as Nicole’s Best, a simple 3-ingredient blend, or Bob’s Red Mill 1-to-1) for structure without gummy texture.
- Cocoa powder – Provides rich chocolate flavor. Dutch-processed or dark cocoa gives the deepest notes, but natural cocoa works fine.
- Baking powder – Gives lift in place of eggs; make sure it’s fresh for best rise.
- Salt – Balances and brightens the chocolate flavors.
- Granulated sugar – Sweetens and helps keep the cake tender; adjust to taste.
- Neutral oil or melted butter – Adds moisture and richness. Use oil for dairy-free cakes or butter for a richer flavor.
- Milk – Brings the batter together and adds moisture; any milk or milk alternative works.
- Chopped chocolate, wafers, or chips – Optional but recommended: press a piece into the center so it melts and keeps the cake fudgy.
How to make a gluten free mug cake
1. Mix the dry ingredients
In a microwave-safe mug (10 ounces or larger), whisk together the flour blend, cocoa powder, baking powder, salt, and sugar until uniform and free of clumps.
2. Add the wet ingredients
Stir in the oil or melted butter and the milk until the batter is smooth and there are no dry pockets.




3. Add chocolate (optional but recommended)
Press a small piece of chopped chocolate or a few chips into the center of the batter for a fudgy core.
4. Microwave
Cook for about 1 minute at 1000 watts. If your microwave is stronger, reduce power or shorten the time; check doneness with a toothpick and add 10–20 seconds if needed.
5. Cool and enjoy
Let the mug cake sit a minute so it finishes setting. Top with ice cream, whipped cream, or berries and enjoy straight from the mug.


Expert tips
Use these tips to improve results and avoid common pitfalls:
Don’t skip the chocolate center
A few chips or a small chunk of chocolate melt and help the cake stay moist as it cools.
Choose the right mug size
A 10–12 ounce mug gives the batter room to rise. If your mug is smaller, set it on a plate to catch any overflow.
Adjust for microwave power
If your microwave is stronger than 1000 watts, reduce power to roughly 80–90% and start with the shorter time. Err on the side of undercooking; you can always add 10–20 seconds.
Let it cool briefly
The cake is very hot when it comes out. Use oven mitts and wait a minute before adding cold toppings.

Ingredient substitutions
This mug cake is naturally egg-free. To adapt for other diets:
Dairy free
Use neutral oil or melted vegan butter and replace milk with an unsweetened plant milk, such as almond or oat. Use dairy-free chocolate if adding a center.
Vegan
Follow the dairy-free swaps and verify sugar and chocolate are vegan-friendly.
Gluten Free Mug Cake Recipe

Equipment
-
Microwave oven
-
Microwave-safe mug (at least 8 ounce capacity)
Ingredients
- ¼ cup gum-free gluten free flour blend (about 35 g)
- 2 tablespoons unsweetened cocoa powder (about 10 g)
- ¼ teaspoon baking powder
- ⅛ teaspoon kosher salt
- 2 tablespoons granulated sugar (about 24 g)
- 2 tablespoons neutral oil or melted unsalted butter (about 28 g)
- 3 tablespoons milk, at room temperature (any kind)
- ½ ounce chocolate, chopped or chips (optional, about 14 g)
Instructions
-
Grease a microwave-safe mug or jar (at least 8–10 ounces).
-
Combine the flour blend, cocoa, baking powder, salt, and sugar in the mug and whisk until even.
-
Add the oil or melted butter and milk, whisking until smooth.
-
Press the optional chocolate into the middle of the batter.
-
Microwave at about 1000 watts for 1 minute. Adjust power or time for your microwave as needed.
-
Check doneness with a toothpick; if it’s not mostly clean, microwave an additional 10–20 seconds.
-
Allow the cake to cool briefly before serving.
Notes
Use a gum-free blend such as Nicole’s Best, a simple 3-ingredient gum-free mix (superfine white rice flour, potato starch, tapioca starch), or a low-xanthan 1-to-1 blend.
Oil or butter:
Neutral oils like canola or grapeseed work well; use melted unsalted butter for more flavor. Avoid strongly flavored oils like olive oil.
Make-ahead mix option:
For a just-add-milk version, cut 2 tablespoons shortening into the dry ingredients and store in a sealed jar. When ready, add milk and microwave.
Microwave power:
Aim for roughly 1000 watts. If your microwave is stronger, reduce power to 80–90% and start with the shorter time. Add only brief increments if needed.
Nutrition
Nutrition information is automatically calculated and should be used as an approximation.

Storage instructions
Leftovers:
Cover the mug and refrigerate for up to 1 day. To reheat, sprinkle a little water on top and microwave 15–20 seconds at 50% power to restore softness.
Make-ahead dry mix:
Combine the dry ingredients (flour, cocoa, baking powder, salt) and store in a sealed container in a cool, dry place for up to 3 months. When ready, measure the mix, add oil or butter, milk, and optional chocolate, then microwave.
Just-add-milk option:
Cut 2 tablespoons shortening into the dry mix and store sealed for up to 2 months. When ready, add milk, press chocolate into the center, and microwave as directed.
FAQs
Dutch-processed or dark cocoa gives the richest flavor, but natural cocoa powder works well too.
This version is designed for the microwave. For an oven-baked single-serve option, use a flourless or small cake recipe adapted for the oven.
A 10–12 ounce mug is ideal so the batter has room to rise. If using a smaller mug, place it on a plate to catch any overflow.
This specific recipe depends on cocoa for structure and texture. For a vanilla version, use a recipe formulated for vanilla mug cake.
Common causes are stale baking powder, measurement errors, under-mixing, or overcooking. Check those first when troubleshooting.
Don’t double the ingredients in one mug; make two single cakes in separate mugs for even cooking. You can scale up in a very large mug but increase cooking time cautiously.
Store refrigerated and eat within 1 day. Reheat gently with a splash of water to restore texture.