
This olive oil lemon mug cake is a small, tender cake mixed right in a mug and cooked in the microwave. It is made with pantry staples, fresh lemon zest and juice, and no egg, so it is a quick option when you want a warm dessert without making a full cake.
Olive oil keeps the crumb moist, while baking powder gives it a light lift and the zest brings fragrant lemon flavor to every bite. The result is sweet but not heavy, with a little citrus tang and a soft, cake-like center. You can make it in the microwave or use an oven-safe ramekin if you prefer to bake it.
Why This Recipe Works
The batter is small enough to mix directly in the mug, which means fewer dishes and less chance of overworking it. Stir the dry ingredients together before adding the liquids so the baking powder and salt are spread evenly. Once the flour is moistened, mix only until the last dry streaks disappear. A few small lumps are fine; prolonged stirring can make a mug cake dense.
Olive oil is liquid at room temperature, so it blends easily with the milk and lemon juice and helps the cake stay soft as it cooks. Its flavor also suits lemon: a mild, fruity oil adds character without covering up the citrus. If your oil tastes sharply bitter or peppery, choose a milder one for this dessert.
Fresh zest matters because much of the lemonโs aromatic flavor is in its peel. The juice supplies acidity and brightness, but the zest gives the cake its fuller lemon scent. Baking powder provides lift without an egg, and the relatively short cook keeps the small portion from drying out. Because microwaves vary, use the doneness cues as well as the time.
Ingredients
- 4 tablespoons all-purpose flour
- 1/4 teaspoon baking powder
- 2 tablespoons olive oil
- 3 tablespoons granulated sugar
- 1/4 teaspoon vanilla extract
- 1 tablespoon finely grated lemon zest
- 2 tablespoons lemon juice
- 1/8 teaspoon salt
- 3 tablespoons milk or a dairy-free alternative
Ingredient Notes
All-purpose flour: This gives the cake its structure. Spoon flour into the measuring spoon and level it rather than packing it down; too much flour is a common reason mug cakes turn dry or bready. A measure-for-measure gluten-free flour blend can work, though texture varies by blend. Do not use coconut flour as a direct swap because it absorbs liquid differently.
Baking powder: This is the leavener that helps the batter rise. Check that it is fresh and measure it level. Baking soda is not a direct substitute here; it needs a different balance of acid and can leave an unpleasant taste if used in the same amount.
Olive oil: Use a mild or medium-flavored olive oil if you want lemon to lead. A more robust oil will give the cake a distinctly grassy or peppery note, which some people enjoy. If needed, a neutral oil such as canola or sunflower oil can replace it, but the olive-oil flavor will be absent.
Sugar and vanilla: Granulated sugar sweetens the lemon and helps the crumb stay tender. Vanilla rounds out the sharp citrus edge. You can use the same amount of superfine sugar if that is what you have; coarse sugar may not dissolve as evenly in this quick batter.
Lemon zest and juice: Zest the lemon before squeezing it, and take only the yellow outer peel. The white pith underneath can taste bitter. Fresh juice gives the cleanest flavor. Bottled lemon juice can be used in a pinch, but it will not replace the fragrant lift of fresh zest.
Milk and salt: Dairy milk or an unsweetened dairy-free alternative both work. Oat, soy, and almond drinks can each change the flavor slightly, so use one you like drinking. Salt sharpens the sweetness and lemon flavor; keep it in the batter even if the cake is served with a sweet topping.
Instructions
- Choose the cooking vessel. For the microwave, use a microwave-safe mug that holds at least 12 ounces, so the batter has room to rise without spilling. For the oven method, use an oven-safe ramekin. A mug marked microwave-safe is not automatically oven-safe.
- Combine the dry ingredients. Add the flour, baking powder, sugar, and salt to the mug. Stir thoroughly with a small fork, breaking up any flour clumps. An even mixture helps the cake rise consistently instead of leaving a concentrated pocket of baking powder.
- Add the wet ingredients. Stir in the olive oil, vanilla, lemon zest, lemon juice, and milk. Scrape the bottom and sides of the mug, then mix just until no dry flour remains. The batter should be thick but pourable. Avoid vigorous or extended mixing, which can make the finished cake tough.
- Cook in the microwave. Microwave on high for 60 seconds, then check the top. If the middle still looks wet, continue in 10-second bursts, checking each time; most mugs take about 70 to 90 seconds in total. It is ready when the surface looks set and the center springs back lightly when touched. The cake may rise during cooking and settle a little afterward. Stop as soon as it is set, since extra cooking quickly dries a single serving.
- Or bake in the oven. Heat the oven to 350ยฐF. Spoon the mixed batter into an oven-safe ramekin and bake for 14 to 18 minutes. Begin checking at 14 minutes: the top should look set, the edges should be lightly golden, and a toothpick inserted near the center should come out without wet batter. A few moist crumbs are fine. Let it stand for several minutes before eating.
- Rest and serve. Let a microwaved cake stand for 1 to 2 minutes before eating; the mug and cake will be hot, and the crumb finishes setting as it rests. Eat from the mug or loosen the edge with a small spoon and turn the cake into a bowl. Add a topping if you like, but taste it plain first so the lemon and olive oil come through.
Tips for Success
- Measure the flour lightly. A packed spoonful adds more flour than this little cake needs and can make the texture firm.
- Use a fine grater for the zest and avoid scraping into the white pith. Distribute the zest through the wet ingredients so it does not gather in one spot.
- Mix the dry ingredients well before adding liquid. This is especially useful in a narrow mug, where a fork may miss flour at the bottom.
- Do not fill the mug close to the rim. The batter needs space to puff up, and a generous mug makes cleanup easier if it rises unevenly.
- Microwave power varies. Start with the shorter cook time, then add brief bursts rather than running it for a long stretch without checking.
- Let the cake rest before digging in. It will be very hot just out of the microwave, and a short pause improves both safety and texture.
- Use a mug with a flat bottom and straight sides if possible. It helps the batter cook more evenly than a very narrow or unusually shaped vessel.
Troubleshooting
The cake is dry or rubbery. It was likely cooked too long, or the flour was packed into the spoon. Reduce the initial microwave time next time and finish in short bursts. Measure flour lightly and stop cooking as soon as the top is set; a mug cake continues to firm slightly while resting.
The center is still wet. Return it to the microwave for a short burst, then check again. A deep mug, a cold ingredient, or a lower-powered microwave can slow cooking. For the oven method, allow a few more minutes and check for wet batter near the center rather than relying on browning alone.
The cake did not rise much. Check that the baking powder is fresh and evenly mixed into the flour. A mug that is too small can also make the batter rise and then sink over the sides. The cake is meant to be tender and compact, so it will not rise like a full-size sponge cake.
The texture is gummy. This can happen when the batter is stirred too much, the flour is overmeasured, or the cake is undercooked. Mix only until combined, scrape the bottom of the mug, and cook in brief increments until no liquid batter remains in the center.
The lemon tastes bitter. The zest may include some white pith, or the olive oil may be especially bitter. Grate only the yellow peel and try a milder oil next time. A little more sugar on top can soften the impression of bitterness, but it will not hide a large amount of pith.
Variations
For a simple glaze, stir powdered sugar with a few drops of lemon juice until it is thick enough to drizzle. Add it after the cake has rested so it does not immediately melt into the hot surface. A spoonful of plain yogurt or lightly sweetened whipped cream is another easy finish.
Fold a few blueberries into the batter just before cooking for pockets of fruit, or scatter them over the top after cooking. A small pinch of ground cardamom pairs well with lemon. For a sweeter finish, add a few white chocolate chips, keeping in mind that they can make the cake richer and sweeter.
To make the cake dairy-free, use an unsweetened plant-based milk. For a different citrus profile, replace some of the lemon zest with orange zest while keeping the listed lemon juice. Avoid changing several ingredients at once if you want to keep the same texture and cooking time.
What to Serve With It
This cake is satisfying on its own while warm. For a more dessert-like serving, add a spoonful of thick yogurt, whipped cream, or vanilla ice cream. Fresh berries offer a juicy contrast to the soft crumb, while a light dusting of powdered sugar makes a simple finish without overwhelming the lemon.
If serving it as an afternoon snack, pair it with tea or coffee. For brunch, a little fruit on the side keeps the plate fresh. The cake is best served shortly after cooking, when its center is soft and the lemon aroma is most noticeable.
Make-Ahead, Storage and Reheating
This recipe is quick enough to mix and cook just before serving, and the batter is best cooked right away. Baking powder begins working once it meets liquid, so holding the mixed batter can reduce its lift. You can measure the dry ingredients into the mug ahead of time, then add the wet ingredients when you are ready to cook.
If you have leftover cake, cover it or transfer it to a sealed food-safe container and refrigerate it within two hours. For food safety, eat refrigerated leftovers within three to four days. The texture is best on the day it is made; refrigeration can make the crumb firmer.
You can freeze a cooled portion in a well-sealed freezer-safe container for up to two to three months for best quality. Thaw it in the refrigerator, or reheat from frozen in short microwave bursts until warm throughout. Reheat only what you plan to eat, and avoid repeated warming and cooling. A frozen mug should not go directly into the microwave unless the container is labeled safe for that use.
Recipe Card
Servings: 1
Prep time: 5 minutes
Cook time: 1 to 2 minutes in the microwave, or 14 to 18 minutes in the oven
Total time: About 6 minutes in the microwave, including a short rest
Ingredients
- 4 tablespoons all-purpose flour
- 1/4 teaspoon baking powder
- 2 tablespoons olive oil
- 3 tablespoons granulated sugar
- 1/4 teaspoon vanilla extract
- 1 tablespoon finely grated lemon zest
- 2 tablespoons lemon juice
- 1/8 teaspoon salt
- 3 tablespoons milk or a dairy-free alternative
Condensed steps
- In a microwave-safe mug holding at least 12 ounces, stir the flour, baking powder, sugar, and salt together.
- Add the olive oil, vanilla, lemon zest, lemon juice, and milk. Mix just until no dry flour remains.
- Microwave on high for 60 seconds. Check, then cook in 10-second bursts until the surface is set, usually 70 to 90 seconds total. Rest for 1 to 2 minutes.
- For the oven method, bake in an oven-safe ramekin at 350ยฐF for 14 to 18 minutes, until set with no wet batter in the center. Rest before serving.
Frequently Asked Questions
Can I make this without a microwave?
Yes. Mix the batter as directed, transfer it to an oven-safe ramekin, and bake at 350ยฐF for 14 to 18 minutes. Check the center for wet batter, since ramekin shape and oven behavior can affect the timing.
Can I use bottled lemon juice?
Yes, bottled juice will provide acidity and lemon flavor. Fresh zest is still important for the fragrant citrus aroma, so use fresh lemon peel if you can. If bottled juice is all you have, the cake will still work but taste less aromatic.
Which olive oil should I choose?
A mild or medium-flavored olive oil gives a gentle, fruity background. A robust oil will be more noticeable and may taste peppery or grassy beside the lemon. Choose according to whether you want the oil to be subtle or distinct.
Can I make the batter ahead?
It is better to mix it just before cooking. Once the baking powder is wet, it starts doing its work, and a long wait can make the cake rise less. You can combine the dry ingredients in the mug ahead, then stir in the wet ingredients when ready.
Why is there no egg in this mug cake?
The small amount of flour and liquid can form a tender single-serving cake without egg. Leaving it out also avoids the springy, eggy texture that can happen in a quick-cooking mug cake. The result is soft and compact rather than tall and airy.
Can I double the recipe in one mug?
It is better to cook separate portions. A larger mass of batter heats less evenly in the microwave, so the outside may become tough before the middle sets. If you make more than one serving, use separate mugs or ramekins and cook them individually for more predictable results.
How do I know when it is done?
The top should look set rather than glossy with liquid batter, and a light touch should meet a soft spring in the center. In the oven version, a toothpick near the middle should come out without wet batter. Stop cooking when those cues appear; a little residual warmth will finish setting the crumb.
Can I use a sweetened dairy-free milk?
Yes, but it may make the cake a little sweeter and can add its own flavor. An unsweetened option keeps the balance closest to the recipe. Use the same amount and keep the cooking method unchanged.
