Dinners

Coconut Flour Mug Cake That Holds Its Shape

Updated · By Patriot Kitchen

Ingredients
8

Jump to recipe Save

Time: 5 minutes prep, 90 seconds cook · Serves: 1 · The key step: whisk the batter until completely smooth, then let it rest 2 minutes before microwaving. This single-serving cake is tender, lightly sweet, and sturdy enough to eat with a fork straight from the mug. It suits a quick breakfast, an after-dinner dessert, or a snack that needs no oven.

Why Resting the Batter Is Non-Negotiable

Coconut flour absorbs liquid far more aggressively than wheat flour. If you microwave the batter immediately, the center stays gummy while the edges overcook. Resting for 2 minutes lets the flour fully hydrate, so the cake rises evenly and sets into a cohesive crumb instead of a dense paste.

Use a fork or small whisk to beat the batter for a full 30 seconds. You should see no dry flecks of flour. The batter will look thinner than a typical mug cake batter — that is correct. Coconut flour needs that extra liquid to soften.

Ingredients

  • 2 tbsp (16 g) coconut flour
  • 1 tbsp (12 g) granulated sugar or coconut sugar
  • 1/4 tsp baking powder
  • 1/8 tsp salt
  • 1 large egg (about 50 g), at room temperature
  • 2 tbsp (30 ml) milk of choice (dairy, almond, or oat)
  • 1 tbsp (15 ml) melted butter or neutral oil (coconut oil works)
  • 1/2 tsp vanilla extract

For a chocolate version: replace 1 tbsp of coconut flour with 1 tbsp unsweetened cocoa powder and increase milk to 2 1/2 tbsp (37 ml). For a lemon version: add 1/2 tsp lemon zest and replace vanilla with 1/4 tsp lemon extract.

Instructions: From Bowl to Mug in 5 Minutes

  1. In a small bowl, whisk together the coconut flour, sugar, baking powder, and salt. Break up any lumps with the back of a fork.
  2. Add the egg, milk, melted butter, and vanilla. Whisk vigorously for 30 seconds until the batter is completely smooth and slightly thickened.
  3. Let the batter rest for 2 minutes. It will thicken as the coconut flour absorbs liquid.
  4. Scrape the batter into a microwave-safe mug (about 12 oz / 350 ml capacity). Smooth the top.
  5. Microwave on high for 90 seconds. The cake should rise above the rim and feel firm to the touch in the center. If your microwave runs hot, start at 75 seconds and add 10-second bursts until done. Do not overcook — the center will dry out.
  6. Let the mug cake cool for 2 minutes before eating. It will pull away from the sides slightly as it sets.

If you prefer an oven-baked version: preheat to 350°F (175°C). Pour the batter into a buttered 4-oz ramekin and bake for 12–15 minutes, until a toothpick inserted in the center comes out clean. The texture will be slightly more cake-like and less custardy.

What Ruins a Coconut Flour Mug Cake

Overmixing or undermixing. Overmixing makes the cake tough; undermixing leaves dry flour pockets. Whisk until just smooth, then stop.

Skipping the rest. The 2-minute rest is not optional. Without it, the cake will be gummy in the center and may collapse.

Using a too-small mug. The cake rises 2–3 times its batter volume during microwaving. A mug that is too small will overflow. Use a 12-oz (350 ml) mug or larger.

Overcooking. At 90 seconds, the cake is set but still moist. At 2 minutes, it becomes rubbery and dry. Check at 75 seconds the first time you make it, then adjust for your microwave.

Adding too much coconut flour. Coconut flour is extremely absorbent. Even an extra teaspoon can turn the cake into a dry brick. Measure by weight if possible (16 g is 2 tbsp).

Storage and Make-Ahead Timeline

This mug cake is best eaten fresh — within 10 minutes of microwaving. If you need to store it, let it cool completely, wrap in plastic wrap, and refrigerate for up to 2 days. Reheat in the microwave for 20 seconds, but expect a denser texture.

You can prepare the dry ingredients (flour, sugar, baking powder, salt) in a small jar or zip-top bag up to 1 week ahead. When ready, add the wet ingredients and proceed. Do not mix the wet ingredients ahead of time — the egg and milk will separate.

To freeze: bake the mug cake, cool completely, wrap in plastic wrap and foil, and freeze for up to 1 month. Thaw overnight in the refrigerator, then microwave for 30 seconds. The texture will be slightly more crumbly but still edible.

Serving and Pairing Ideas

Eat it plain with a spoon, or top with a pat of butter and a drizzle of honey. For a dessert, add a scoop of vanilla ice cream or a spoonful of whipped cream. For breakfast, spread with peanut butter or almond butter. The neutral flavor of coconut flour pairs well with berries, sliced banana, or a dusting of cinnamon.

If you want a more indulgent treat, stir in 1–2 tbsp of chocolate chips or chopped nuts before microwaving. For a citrus version, add 1 tsp of orange zest and replace the vanilla with orange extract.

This recipe makes one generous serving. To make two, double all ingredients and microwave in two separate mugs — do not double the time in one mug, as the center will not cook through.

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