Keto Almond Mocha Cupcakes
Rich almond flour espresso cupcakes with mocha cream swirl, ready in 25 minutes prep and 18 minutes bake.
Last updated: August 27, 2026
Ingredients
- 2 1/2 cups almond flour, finely ground
- 1/3 cup unsweetened cocoa powder
- 1 tbsp instant espresso powder
- 1 tsp baking soda
- 1/4 tsp salt
- 3/4 cup granulated erythritol
- 4 large eggs, room temperature
- 1/2 cup unsalted butter, melted and cooled
- 1/2 cup sour cream
- 1 tsp vanilla extract
- 1/4 cup unsweetened almond milk
- 1 cup unsalted butter, softened, for frosting
- 1 1/2 cups powdered erythritol, for frosting
- 3 tbsp unsweetened cocoa powder, for frosting
- 2 tsp instant espresso powder, dissolved in 1 tbsp hot water
- 1 pinch salt, for frosting
Instructions
Preheat your oven to 350°F. Line a 12 cup muffin pan with paper liners.
Whisk almond flour, cocoa powder, espresso powder, baking soda, and salt in a large bowl.
In another bowl, beat eggs and erythritol until light, about 1 minute.
Add melted butter, sour cream, vanilla, and almond milk to the egg mix. Whisk until smooth.
Pour wet ingredients into dry ingredients. Stir just until no dry streaks remain.
Divide batter evenly among liners, filling each about two thirds full.
Bake for 16 to 18 minutes, until a toothpick comes out clean. Cool in the pan for 5 minutes.
Move cupcakes to a wire rack and cool completely before frosting.
For the frosting, beat softened butter until creamy, about 2 minutes.
Add powdered erythritol, cocoa powder, dissolved espresso, and salt. Beat on low, then high, until fluffy.
Pipe the mocha frosting in a tall swirl onto each cooled cupcake using a large star tip.
Pro Tips
- • Use finely ground almond flour, not almond meal, for a smoother crumb.
- • Dissolve espresso powder in warm water before adding to frosting so it blends without gritty specks.
- • Let cupcakes cool fully before frosting or the buttercream will melt and slide off.
- • If your kitchen is warm, chill the frosting for 10 minutes before piping for cleaner swirls.
Recipe Details
Timing
About the Author
Home baker sharing tested cupcake recipes, techniques, and troubleshooting tips.
Nutrition (per cupcake)
When to Enjoy
Recipe Highlights
Final Thoughts
These mocha cupcakes prove keto baking can still feel indulgent. The almond flour base stays moist and the coffee flavor comes through without any bitter edge. Bake a batch for your next coffee break and see how fast they disappear.
Frequently Asked Questions
Can I use brewed coffee instead of espresso powder in the cake?
You can swap the almond milk for the same amount of strong brewed coffee. Keep the espresso powder in the batter too, since it gives a deeper flavor than brewed coffee alone.
Why does my keto frosting taste gritty?
Powdered erythritol can feel grainy if it is not beaten long enough. Beat the frosting on high speed for a full 3 minutes and it should turn smooth and fluffy.
How many net carbs are in one cupcake?
Each cupcake has about 4 grams net carbs, based on total carbs minus fiber and erythritol. This can shift slightly depending on your exact sweetener brand.
Can I make these dairy free?
Swap the butter for a plant based butter stick and use full fat coconut cream instead of sour cream. The texture stays close to the original, just slightly denser.