Need an easy gluten-free, dairy-free, and grain-free dessert in a flash? My chocolatey, moist, fluffy almond flour mug cake uses only simple ingredients (I bet you have them all on hand!) for the world’s best single-serving dessert. If dense, heavy almond flour cakes have you down, I’ve got a simple trick to make your chocolate mug cake light and airy.

Want to Save This Recipe?
Enter your email below & we'll send it straight to your inbox. Plus you’ll get affordable and easy gluten-free recipes delivered each week!
Simply The Best Chocolate Almond Flour Mug Cake
A mug cake made with almond flour is a dangerously easy way to enjoy a gluten-free dessert whenever cravings strike. Almond flour is the only speciality ingredient required, so a short trip to your kitchen and less than 2 minutes is all you will need.
My favorite gluten-free recipes made with almond flour are such a hit because not only are they an easy grain-free and gluten-free alternative to flour, but the rich, nutty taste is especially great in desserts and breads. It’s the reason why many readers have told me my homemade almond flour carrot cake wins out over any traditional version.
The recipe was adapted from ganched covered almond flour chocolate cake by replacing peanut butter for the oil and decreasing the amounts to serve one. While oil may used interchangeably, I find peanut butter adds a hint more moisture while still keeping the crumb light and fluffy.
The other trick I like to use for mug cakes works for my single-serving almond flour dessert as well. The egg helps with binding and structure, but has a tendency to settle down to the bottom of the mug while cooking. Stirring the mixture halfway through keeps it evenly incorporated so the whole cake stays fluffy and light!

Free Guide! Receive a Free Almond Flour Cookbook
TOP 5 Highest Rated Recipes!
Ingredient Swaps
- Sugar – I use granulated white sugar, but it can be swapped out depending on what works for you. For a sugar-free, use 1 tablespoon erythritol, stevia, or monk fruit. Use two tablespoons coconut or date sugar in place of granulated sugar as well.
- Peanut Butter – Use any preferred nut butter or nutella. Alternatively, omit the peanut butter and use 1 tablespoon oil or coconut oil in its place. If replacing peanut butter with oil, omit the milk from the recipe.
- Milk – For a dairy-free recipe, replace with almond milk, soy milk, or any preferred dairy-free milk.
- Egg – If you are looking for an egg-free cake, increase the peanut butter to 2 tablespoons and add 3 tablespoons milk
Toppings and Bonus Yummy Ideas
For the best taste and texture, it’s best to enjoy warm. I love to dollop on whipped cream or a scoop of vanilla ice cream, but adding some extra chocolate chips on top when it comes out of the microwave is highly recommended. 🤤
Fresh berries, nuts, chocolate sauce, or a dollop of peanut butter also pairs well with the cake. If you want to make your own molten version of mug cake, add a spoonful of peanut butter or nutella after stirring the cake halfway through cooking. It will sink down to the middle as it cooks.

Save this recipe to your pinterest board!
Let’s be friends on Pinterest! I’m always sharing great recipes!
Did you make this recipe? I love hearing from you! Leave a star rating and comment below the recipe card. It helps others when searching for recipes and I appreciate feedback from our community. You will always hear back from me! -Melissa

Fluffy 2-Minute Almond Flour Mug Cake Recipe
Ingredients
- 1 egg
- 2 tablespoons (25 g) granulated sugar
- 1 tablespoon (14 g) peanut butter, see recipe notes for substitutions
- 1 tablespoon (14 g) milk or dairy-free milk
- ½ teaspoon vanilla extract
- ¼ cup (25 g) almond flour
- 1 tablespoon (7 g) unsweetened cocoa powder
- ½ teaspoon baking powder
- 1 tablespoon (optional) chocolate chips
Instructions
- Grease a microwave-safe 10 ounce mug or ramekin with nonstick cooking spray. Whisk together the egg, sugar, peanut butter, milk, and vanilla extract until as smooth as possible.1 egg, 2 tablespoons granulated sugar, 1 tablespoon peanut butter, 1 tablespoon milk or dairy-free milk, ½ teaspoon vanilla extract
- Stir in the almond flour, cocoa powder, and baking powder, making sure everything is incorporated throughout. If using the chocolate chips reserve those to sprinkle in halfway through cooking.¼ cup almond flour, 1 tablespoon unsweetened cocoa powder, ½ teaspoon baking powder, 1 tablespoon (optional) chocolate chips
- Place in the microwave and cook for 30 seconds. It will start to puff up, but stir the mixture to work in the egg so it doesn't settle to the bottom. If adding chocolate chips, sprinkle them in halfway through cooking. Return to the microwave to cook for 30-45 seconds longer.
- The mug cake is done with the top is set, but still slightly wet / moist looking. Let rest for 1 minute before enjoying out of the mug or invert onto a plate.
Notes
Peanut Butter Substitute
Use any preferred nut butter or Nutella. Alternatively, omit the peanut butter and use 1 tablespoon oil or coconut oil in its place. If replacing peanut butter with oil, omit the milk from the recipe.This post contains affiliate links. My opinions are always my own. If you purchase a product through an affiliate link, I make a small commission – at no cost to you. Read full disclosure policy here.



Hmmm I used pumpkin seed butter and a dash of avocado oil, and I didn’t have almond flour so I used Bob’s Red Mill GF 1 to 1. Cooked it in the microwave for 1 minute 30 seconds and it came out dry 😞
Hi Sara,
Almond flour has a lot more moisture and oil then other flours so, yes, swapping out another flour wouldn’t have the same results. I do have an oat mug cake and gluten free mug brownie recipes on the site if you don’t have almond flour on hand. Hope you this helpful!
Best,
Melissa
I substituted peanut flour for the cocoa powder today, and added some chocolate chips. It turned out great!
Thanks so much! That is always great to hear!
Best,
Melissa
The texture was more cake-like than any almond flour based mug cake I’ve ever made. I used almond butter rather than the peanut butter and added a tiny pinch of salt. I also added sugar-free marshmallows for a Suzy Q in a mug. I baked it in my basket-style air fryer for 18 minutes at 350 F. I’ll try 17 minutes next time because the very last little bite at the bottom of the cake was just a tad bit dry. I’m going to try substituting the cocoa powder with peanut flour for a peanut mug cake. I’ll let you know how it turns out. Thanks for a scrumptious recipe. I’ve been searching for an excellent almond mug cake and this one didn’t disappoint!
Wow, this sounds absolutely phenomenal! Thanks for the Suzy Q inspo! Can’t wait to try that version!
Best,
Melissa
Hi, do you have baking instructions for this mug cake?
Hello,
I haven’t tried it, but I think it would work fine. Place the batter in a greased oven-safe mug or ramekin. Bake at 350 for about 15 minutes, or until a toothpick comes clean. Hopefully this works out well for you!
Best
Melissa
Do you think PEANUT flour would work just the same?
Hi Monika,
I haven’t tried it, but I don’t think it should be a problem since they are both nut flours.
Best,
Melissa
I doubled the recipe. I didn’t have vanilla. I used low calorie maple syrup instead of sugar. I didn’t have chocolate chips of raisins, but it was still pretty good. I used liquid egg ( 6 T.) for 2 eggs.
Thanks for sharing, Fran!
Best,
Melissa
Thank you for this recipe! I was craving a vanilla cake, so I left out the cocoa powder and used the vegan substitutes. For the peanut butter, I did 1 tbsp. regular peanut butter and 1 tbsp. biscoff cookie butter. I also added about 20g of birthday cake protein powder and added sprinkles! This was heavenly.
Love the suggestions, Michelle! Thanks for sharing!
Best,
Melissa
Great quick and easy gluten free dessert, will definitely be making it again!
Thanks, Alex! Really appreciate you taking the time to let me know!
Best,
Melissa
Best mug cake ever! Used natvia for diabetic husband. Served with strawberries and 50mls custard. Delicious. Thankyou.
Thank you, Catherine! I really appreciate you taking the time to let me know!
Best,
Melissa