There is something incredibly comforting about a warm, freshly made cake that you can prepare in just a few minutes. This keto raspberry lemon mug cake feels like a special treat made just for you. From the first bite, it offers cozy sweetness balanced by a gentle tartness, making it a perfect choice for any time you want something indulgent without fuss. I find it especially satisfying during quiet afternoons or when I need a little solo pick-me-up.
This little cake combines a handful of simple, wholesome ingredients that work beautifully together. You’ll need 3 tablespoons of almond flour, which brings a light, nutty texture. Sweetness comes from 1 tablespoon of granulated erythritol, a keto-friendly sugar substitute. To give it a bit of lift, 1/4 teaspoon of baking powder is included. One egg binds everything, while 1 tablespoon of melted butter adds richness. The zest of half a lemon and 1 teaspoon of lemon juice give a fresh citrus punch. Finally, 5 fresh raspberries add just the right pop of tart flavor and a burst of color.
The method is straightforward and designed for convenience. First, whisk together the almond flour, erythritol, and baking powder right in a microwave-safe mug. Then, add the egg, melted butter, lemon zest, and lemon juice, whisking until smooth. Gently fold in those fresh raspberries to keep their shape. After that, it’s ready to be microwaved on high for 70 to 90 seconds until it is just set and still slightly moist in the center. A quick cool down for a minute, and your mug cake is ready to enjoy.
This recipe shines as a quick dessert for chilly nights when you want something warm and bright. It also works well when you need an easy, portable dessert for potlucks or family gatherings. Because it’s low in carbs and free from grains, you can enjoy it guilt-free anytime. Its balance of tart lemon and sweet raspberry wakes up your taste buds, making it a delightful treat in any season.

Why You’ll Love This Keto Raspberry Lemon Mug Cake
- Super fast to make: Ready in less than 5 minutes, perfect when you’re short on time.
- Simple ingredients: Uses pantry staples and fresh raspberries that are easy to find.
- Low carb and keto-friendly: Keeps carbs low without sacrificing flavor or texture.
- Perfect single serving: No need to bake a whole cake, just enough for one.
- Bright flavor balance: Lemon zest and juice add freshness to the sweetness of the raspberries.
Almond Flour Tips
Almond flour is the heart of this mug cake. When choosing almond flour, look for a finely ground variety rather than almond meal, which has larger particles and can create a denser texture. Making sure your almond flour is fresh is also key since nuts can go rancid over time. Store your almond flour in a cool, dry place or in the refrigerator for longer freshness. When measuring, spoon the flour lightly into your tablespoon to avoid packing it down, which can alter the cake’s texture. Almond flour brings moisture and a subtle nutty flavor, so it works beautifully in quick cakes like this one.
Options for Substitutions
- Swap almond flour for coconut flour, but reduce to about 1 tablespoon and add more liquid since coconut flour is more absorbent.
- Replace granulated erythritol with monk fruit sweetener or stevia to suit your preferred keto sweetener.
- Use baking soda plus a tiny splash of vinegar instead of baking powder if you don’t have any on hand.
- Substitute the egg with a flax egg (1 tbsp ground flaxseed mixed with 3 tbsp water) for an egg-free version.
- Replace butter with coconut oil or a plant-based butter substitute to make it dairy-free.
- Use frozen raspberries if fresh aren’t available, just thaw and drain excess liquid before folding into the batter.
Watch Out for These Mistakes
Overcooking is a common pitfall with mug cakes since microwaves vary in power. Cooking the cake for too long can lead to a dry, rubbery texture, so start with 70 seconds and check before adding more time. The cake should be set but still a little moist in the center for the best experience.
Another mistake is adding the raspberries too early or mixing them too vigorously. This can break them down, creating a pink swirl rather than distinct berries throughout. Gently folding them in helps maintain texture and appearance.
Lastly, be careful not to overlook the lemon zest and juice. These small amounts pack a lot of flavor and help balance the sweetness of the erythritol and raspberries. Missing or skimping on them may leave the cake tasting flat.

What to Serve With Keto Raspberry Lemon Mug Cake?
This mug cake is delightful on its own but pairs beautifully with a few simple sides. A dollop of unsweetened whipped cream or a spoonful of full-fat Greek yogurt complements the tang and sweetness nicely. Fresh berries or a small handful of mixed nuts add textural contrast. For a warm drink pairing, herbal tea or black coffee enhances the bright lemon notes and rounds out the dessert experience.
Storage Instructions
Store any leftover mug cake in an airtight container in the refrigerator. It should keep well for up to 3 days, though it’s best enjoyed fresh. For longer storage, wrap it tightly in plastic wrap and place it in the freezer where it can last for up to 1 month.
When you want to reheat, microwave on low power for about 20 to 30 seconds or until warmed through. Alternatively, gently warm it on the stovetop in a non-stick pan over low heat, covering loosely to prevent drying out.
Recipe Info
Preparation Time: About 3 minutes
Cooking Time: 70 to 90 seconds
Total Time: Approximately 5 minutes
Level of Difficulty: Easy
Servings: 1 mug cake
Estimated Nutrition
Estimated nutrition for the whole recipe (without optional ingredients):
Calories: 250-280
Protein: 8-10 grams
Fat: 20-22 grams
Carbohydrates: 4-6 grams (with net carbs under 4 grams depending on the erythritol and berries)
Ingredients
- 3 tablespoons almond flour
- 1 tablespoon granulated erythritol
- 1/4 teaspoon baking powder
- 1 egg
- 1 tablespoon melted butter
- Zest of 1/2 lemon
- 1 teaspoon lemon juice
- 5 fresh raspberries

Step-by-Step Instructions
Step 1: Mix Dry Ingredients
Start by adding the almond flour, granulated erythritol, and baking powder into a microwave-safe mug. Whisk these dry ingredients together until well combined. This helps the leavening distribute evenly for a lighter texture.
Step 2: Add Wet Ingredients
Next, crack the egg into the mug. Pour in the melted butter, lemon zest, and lemon juice. Whisk everything together thoroughly until you get a smooth batter with no lumps.
Step 3: Fold in Raspberries
Gently fold the fresh raspberries into the batter. Take care not to break them up too much, so they remain whole and burst with flavor after baking.
Step 4: Microwave the Cake
Place the mug in your microwave and cook on high power for 70 to 90 seconds. Check the cake’s center for doneness: it should be set but still moist. If needed, microwave in small increments of 10 seconds until done.
Step 5: Cool and Serve
Let the mug cake cool for about a minute before digging in. This short cooling period helps the flavors settle and prevents burning your tongue when you take the first bite.
Conclusion
This keto raspberry lemon mug cake is a quick, easy, and tasty way to enjoy a low-carb dessert anytime you crave something sweet. Its fresh lemony flavor with the burst of raspberries makes it truly special. Plus, the minimal cleanup and fast cooking time mean you won’t be tied to the kitchen for long. I encourage you to try this recipe soon, and don’t forget to share your thoughts or any tasty tweaks you make. If you love simple keto treats, explore my other recipes to keep your low-carb journey fresh and enjoyable.
Print
Keto Raspberry Lemon Mug Cake
- Prep Time: 3 minutes
- Cook Time: 1.5 minutes
- Total Time: 5 minutes
- Yield: 1 serving 1x
- Category: Dessert
- Method: Microwave
- Cuisine: Keto
- Diet: Keto, Low Carb
Description
A quick and easy keto-friendly mug cake combining the bright flavors of raspberry and lemon, perfect for a single-serving dessert.
Ingredients
- 3 tablespoons almond flour
- 1 tablespoon granulated erythritol
- 1/4 teaspoon baking powder
- 1 egg
- 1 tablespoon melted butter
- Zest of 1/2 lemon
- 1 teaspoon lemon juice
- 5 fresh raspberries
Instructions
- Mix the almond flour, erythritol, and baking powder in a microwave-safe mug.
- Add the egg, melted butter, lemon zest, and lemon juice and whisk until smooth.
- Fold in the fresh raspberries gently.
- Microwave on high for 70 to 90 seconds until set but still moist.
- Cool for a minute before serving.
Notes
Store any leftovers in an airtight container in the refrigerator for up to 3 days or freeze for up to 1 month.
Nutrition
- Serving Size: 1 mug cake
- Calories: 260
- Sugar: 1g
- Sodium: 90mg
- Fat: 22g
- Saturated Fat: 8g
- Unsaturated Fat: 12g
- Trans Fat: 0g
- Carbohydrates: 5g
- Fiber: 3g
- Protein: 10g
- Cholesterol: 185mg