This coconut flour mug cake may be the best single-serve grain-free cake you’ll make. It bakes up with the texture and flavor of a classic yellow cake — without any eggy aftertaste. Gluten-free, grain-free, and nut-free friendly when using the milk you prefer.

After a lot of trial and error I finally settled on a simple, reliable formula for a coconut flour mug cake that isn’t dense or eggy. Coconut flour behaves very differently from wheat flour: it absorbs a lot of moisture and usually demands eggs to provide structure. The challenge is to use just enough liquid and fat to achieve a tender crumb without producing that characteristic eggy texture many coconut flour recipes have.
I tested different approaches — including some recipes that use beans or extra thickeners — and while those yield good results in other recipes, this one is aimed at being quick and fuss-free. It’s an easy way to enjoy fewer grains for a meal or snack while still having a familiar cake-like bite.
Can I make this without the egg?
Short answer: not reliably. Coconut flour needs a binder to hold the cake together, and in my experience the egg plays that role best. There are egg-free methods that use starches, gums, or other binders, but those change the texture and ingredient list in ways I didn’t prefer. If you need an egg-free cake, you may want to try a different base flour formulated for eggless baking.

Do I have to use chocolate chips?
No — the add-ins are entirely flexible. Chocolate chips are a favorite here, but fresh or frozen blueberries, chopped fruit, or a spoonful of nut butter would all work well. You can also omit mix-ins for a plain vanilla mug cake and top it with a simple glaze or a dollop of yogurt. For a gooey center, try dropping a spoonful of peanut butter, almond butter, or a small piece of chocolate into the middle before baking to create a lava-like surprise.
Recipe tips
Coconut flours vary in absorbency, so if your batter seems too dry add an extra teaspoon or two of milk. I recommend using a room-temperature egg so that melted coconut oil stays smooth and doesn’t re-solidify when mixed. If you prefer less coconut flavor, swap the coconut oil for butter and use a neutral milk such as almond, oat, or dairy milk. Homemade nut or seed milks also work well if you have them on hand.
Measure coconut flour carefully — it compacts differently than other flours. Stir the dry ingredients first, then whisk in the wet ingredients until the batter is smooth and lump-free. If you want chocolate chips on top, reserve a few to sprinkle over the batter so they stay visible after baking.
Ingredients
Dry Ingredients
- 2 Tablespoons coconut flour
- ½ teaspoon baking powder
- A good dash sea salt
Wet Ingredients
- 1 large egg, room temperature
- 1 Tablespoon melted coconut oil or butter
- 2 teaspoons maple syrup
- 2 Tablespoons milk of your choice
- ½ teaspoon vanilla extract
- 1–2 Tablespoons chopped dark chocolate or chocolate chips (optional)
Instructions
- Preheat the oven to 350°F (175°C).
- In a small bowl, whisk together the coconut flour, baking powder, and sea salt until evenly combined.
- Add the egg, melted coconut oil (or butter), maple syrup, milk, and vanilla. Whisk until the batter is smooth and homogeneous. Stir in the chocolate now or reserve some to sprinkle on top.
- Grease an 8–10 ounce mug or small ramekin thoroughly, then pour in the batter and smooth the top.
- If desired, scatter remaining chocolate chips on top for a nice finish.
- Bake for 15–20 minutes, until the top springs back lightly when touched and a toothpick inserted into the center comes out mostly clean.
- Allow the mug cake to cool for a few minutes before eating. It can be enjoyed straight from the mug or inverted onto a plate.
Notes
Nutrition facts will vary depending on the milk and chocolate you choose. The estimates shown here were calculated using unsweetened almond milk and one tablespoon of chocolate chips.
Adapted from a simple coconut-flour mug cake concept; adjusted for texture and simplicity.
Nutrition (approx.)
Carbohydrates: 33.3 g
Protein: 11.2 g
Fat: 26.2 g
Fiber: 10.6 g
Sugar: 16 g
If you try this recipe, please consider leaving a star rating and a comment to share how it turned out for you.

Enjoy this quick, satisfying mug cake when you want a grain-free treat that still feels familiar. Small tweaks — like swapping maple syrup for another sweetener or adding a pinch of cinnamon — will personalize the flavor without changing the method.