The Best Keto Cupcakes Recipe (Soft, Moist & Easy to Make)
These Keto Vanilla Cupcakes are soft, buttery, lightly sweet, and topped with a creamy vanilla frosting. Almond flour, coconut flour, sour cream, and softened butter help create a tender crumb without traditional wheat flour or added sugar.
They’re easy enough for beginner bakers and work well for birthdays, holidays, celebrations, or keeping a low-carb dessert ready in the refrigerator.
Jump to Recipe Print RecipeWhy You’ll Love These Keto Cupcakes
- Soft and moist with a tender crumb
- Rich vanilla and butter flavor
- Made without traditional wheat flour
- Approximately 4 net carbohydrates per frosted cupcake
- Beginner-friendly
- Easy to decorate for celebrations
- Freezer-friendly before frosting
- Ready in about 40 minutes
Ingredients You’ll Need
Exact measurements are included in the recipe card below.
Superfine blanched almond flour: Use finely ground almond flour rather than almond meal for a lighter, smoother texture.
Coconut flour: A small amount absorbs moisture and helps the cupcakes hold their shape. Measure carefully because it is highly absorbent.
Keto-friendly granulated sweetener: Choose a baking sweetener that measures similarly to sugar. Sweetness, browning, and cooling effects vary by brand.
Butter: Softened unsalted butter creates a rich flavor and tender crumb.
Eggs: Provide structure and help bind the gluten-free batter.
Sour cream: Adds moisture and helps prevent the cupcakes from becoming dry.
Vanilla extract: Gives the cupcakes their classic bakery-style flavor.
Butter extract: Optional, but it adds a richer butter-cake aroma.
Cream cheese: Adds body and a slight tang to the frosting.
Powdered keto sweetener: Powdered sweetener creates a smoother frosting than granulated sweetener.
Heavy cream: Loosens the frosting and helps make it light and spreadable.
Equipment You’ll Need
Useful tools for this recipe include:
- Standard 12-cup muffin pan
- Cupcake liners
- Large and medium mixing bowls
- Hand mixer or stand mixer
- Whisk
- Silicone spatula
- Cookie or muffin scoop
- Cooling rack
- Piping bag and large tip, optional
- Digital kitchen scale, optional
How to Make Keto Vanilla Cupcakes
1. Prepare the Oven and Pan
Preheat the oven to 350°F.
Line a standard 12-cup muffin pan with paper or silicone cupcake liners.
Lightly grease paper liners if they tend to stick.
2. Mix the Dry Ingredients
In a medium bowl, whisk together the almond flour, coconut flour, baking powder, and salt.
Break apart any visible lumps so the dry ingredients are evenly distributed.
3. Cream the Butter and Sweetener
In a large bowl, beat the softened butter and granulated keto sweetener for approximately three minutes.
The mixture should look lighter and slightly fluffy.
4. Add the Wet Ingredients
Beat in the eggs one at a time.
Add the sour cream, vanilla extract, and optional butter extract.
Mix until smooth and evenly combined.
5. Finish the Batter
Gradually add the dry ingredients to the wet mixture.
Mix only until the batter is combined. Avoid overmixing.
Let the batter rest for approximately three minutes so the coconut flour can absorb some of the moisture.
6. Fill the Cupcake Liners
Divide the batter evenly among the 12 cupcake liners.
Fill each liner approximately two-thirds to three-quarters full.
A cookie scoop helps keep the cupcakes similar in size.
7. Bake
Bake for 18 to 22 minutes.
The cupcakes are ready when the tops appear set and a toothpick inserted into the center comes out clean or with a few moist crumbs.
Avoid overbaking because almond-flour cupcakes can dry out quickly.
8. Cool Completely
Let the cupcakes cool in the pan for approximately 10 minutes.
Transfer them to a cooling rack and allow them to cool completely before frosting.
How to Make Keto Vanilla Frosting
Beat the softened butter and cream cheese until smooth and fluffy.
Gradually add the powdered keto sweetener.
Mix in the vanilla, salt, and one tablespoon of heavy cream.
Continue beating for three to five minutes. Add the second tablespoon of cream only if needed.
Pipe or spread the frosting over completely cooled cupcakes.
If the frosting becomes too soft, refrigerate it for 10 to 15 minutes before decorating.
Tips for Moist Keto Cupcakes
Use room-temperature ingredients. Cold butter, eggs, or sour cream may prevent the batter from blending evenly.
Measure coconut flour carefully. Even a small amount of extra coconut flour can make the cupcakes dry.
Use softened butter, not melted butter. Melted butter changes the batter’s structure.
Do not overmix. Stop as soon as the dry ingredients are incorporated.
Watch the baking time. Remove the cupcakes when the centers are set but still tender.
Cool before frosting. Warm cupcakes will melt the butter and cream cheese frosting.
Use full-fat dairy. Full-fat sour cream and cream cheese produce the richest texture.
Easy Flavor Variations
Chocolate Keto Cupcakes
Replace ¼ cup of the almond flour with unsweetened cocoa powder. Add one to two tablespoons of almond milk if the batter seems too thick.
Lemon Keto Cupcakes
Add one tablespoon of lemon zest and replace part of the vanilla with lemon extract.
Strawberry Keto Cupcakes
Mix finely ground freeze-dried strawberry powder into the batter or frosting.
Birthday Cake Cupcakes
Fold a small amount of keto-friendly rainbow sprinkles into the batter and add more on top.
Coconut Cupcakes
Fold ¼ cup of unsweetened shredded coconut into the batter.
Pumpkin Spice Cupcakes
Replace part of the sour cream with pumpkin puree and add pumpkin pie spice. This variation may require additional recipe testing because pumpkin adds moisture.
How to Store Keto Cupcakes
Unfrosted cupcakes: Store in an airtight container at room temperature for up to two days.
Frosted cupcakes: Refrigerate in a covered container for up to five days because the frosting contains cream cheese.
For the best texture, let a refrigerated cupcake sit at room temperature for approximately 10 to 15 minutes before serving.
Can You Freeze Keto Cupcakes?
Yes.
Freeze unfrosted cupcakes in a freezer-safe container for up to three months.
Thaw overnight in the refrigerator or for several hours at room temperature before frosting.
The frosting can also be frozen separately, although it may need to be whipped again after thawing.
Frequently Asked Questions
Why are my keto cupcakes dry?
They may have been overbaked, made with too much coconut flour, or measured with packed almond flour.
Can I use only almond flour?
Not as a direct replacement without adjusting the recipe. Coconut flour absorbs moisture and helps give the cupcakes structure.
What sweetener works best?
Use a granulated keto-friendly sweetener intended for baking in the cupcake batter and a powdered version for the frosting.
Can I make the cupcakes ahead of time?
Yes. Bake them one or two days in advance, refrigerate them in an airtight container, and frost shortly before serving.
Are these cupcakes gluten-free?
They can be, but only when every packaged ingredient is confirmed gluten-free.
Can I use buttercream without cream cheese?
Yes. Replace the cream cheese with an additional ½ cup of softened butter. You may need more powdered sweetener or cream to reach the desired consistency.
Find More Keto Desserts
Keto Recipe Vault includes searchable keto cupcakes, brownies, cookies, cakes, cheesecakes, frozen treats, breakfasts, dinners, snacks, and drinks, all organized to help you find something that matches your craving.

Keto Vanilla Cupcakes
Ingredients
Equipment
Method
- Preheat the oven to 350°F.
- Line a standard muffin pan with 12 cupcake liners.
- In a medium bowl, whisk together the almond flour, coconut flour, baking powder, and salt.
- In a large bowl, beat the softened butter and granulated sweetener for approximately three minutes.
- Add the eggs one at a time, mixing after each addition.
- Add the sour cream, vanilla extract, and optional butter extract.
- Gradually mix in the dry ingredients just until combined.
- Let the batter rest for approximately three minutes.
- Divide the batter evenly among the cupcake liners.
- Bake for 18 to 22 minutes, until the tops are set and a toothpick comes out clean or with a few moist crumbs.
- Cool in the pan for approximately 10 minutes.
- Transfer the cupcakes to a cooling rack and cool completely.
- To make the frosting, beat the softened butter and cream cheese until smooth.
- Gradually add the powdered sweetener.
- Add the vanilla, salt, and one tablespoon of heavy cream.
- Beat for three to five minutes, adding the remaining cream only if needed.
- Pipe or spread the frosting over the cooled cupcakes.
- Add optional decorations and refrigerate until ready to serve.
Notes
- Use superfine blanched almond flour rather than almond meal.
- Measure coconut flour carefully.
- Use room-temperature ingredients.
- Do not overmix or overbake.
- Cool the cupcakes completely before frosting.
- Frosted cupcakes must be refrigerated.
- Sweetener and ingredient brands may change the texture and nutrition.
- Nutrition includes the cupcakes and frosting but not optional decorations.
Estimated Nutrition Per Frosted Cupcake
Based on 12 cupcakes:- Calories: approximately 335
- Protein: approximately 7 g
- Fat: approximately 31 g
- Saturated fat: approximately 14 g
- Total carbohydrates: approximately 9 g
- Dietary fiber: approximately 4 g
- Net carbohydrates: approximately 5 g
- Sugar: approximately 2 g
- Sodium: approximately 215 mg
