Trust me, these lemon bars are the real deal.
Bright, tangy, and buttery.

And completely gluten free.
No flour mess, no sugar crash, just pure lemon joy.
Easy Keto Lemon Bars Recipe
Lemon bars are a classic for a reason.
This version swaps wheat for almond flour.
The crust is sturdy and sliceable.
The filling is silky, sweet, and sharp.
I make these on busy weeknights when I need a treat.
Ingredients
Gather everything before you start. The crust and filling come together quickly once you begin.
- Super fine almond flour: This is the base of the crust. Use super fine blanched almond flour so the bars stay smooth and tender, not gritty.
- Grass-fed unsalted butter: Melt it for the crust. Unsalted lets you control the salt, and grass-fed adds a rich, golden flavor you will notice.
- Swerve confectioners: This sweetens the crust and dusts the top. Powdered erythritol works just as well if that is what you have.
- Fresh lemon juice and zest: Use fresh lemons only. Bottled juice tastes flat, and the zest brings the aroma that makes these bars sing.
- Keto sweetened condensed milk: This gives the filling its thick, creamy body without the sugar load. Look for a low carb version in the baking aisle or online.
- Whole eggs: Use room temperature eggs for the filling. They blend smoothly and set into a clean, custard-like layer.
- Coconut flour and baking powder: A small amount helps the filling set and keeps it light. Measure carefully, since coconut flour is very absorbent.
- Xanthan gum: Just half a teaspoon adds structure in place of gluten. Too much makes the filling gummy, so stick to the amount.
How to Make Keto Lemon Bars
Preheat your oven to 350°F and line an 8×8 inch pan with parchment.
Mix the almond flour, melted butter, egg, Swerve, and vanilla until crumbly and well combined.
Press the dough firmly into the pan, then bake for about 12 minutes until lightly golden.
Whisk the lemon juice, zest, condensed milk, eggs, coconut flour, baking powder, and xanthan gum until smooth.
Pour the filling over the warm crust and bake for another 20 minutes until set.
Cool completely, then chill for at least two hours before slicing.
Tips for the Best Keto Lemon Bars
A few small habits make a big difference here.
- Press the crust firmly. A tightly packed base holds together and cuts cleanly.
- Use room temperature eggs. They blend more evenly into the filling.
- Whisk the xanthan gum well. Lumps can leave tiny gummy spots in the filling.
- Don’t overbake. The center should jiggle slightly when you pull it out.
- Chill before cutting. Cold bars slice into sharp, tidy squares.
- Dust just before serving. Sweetener on top can absorb moisture if it sits too long.

Substitutions and Variations
- Lime instead of lemon: Swap in lime juice and zest for a zesty twist.
- Orange zest: Add a little orange zest to the filling for a brighter citrus note.
- Dairy free: Use a plant-based butter, though the flavor will be milder.
- Powdered erythritol: Use it in place of Swerve for the crust and dusting.
How to Store Keto Lemon Bars
Keep the bars covered in the refrigerator for up to five days.
They taste best chilled, so I keep them cold until serving.
Let them sit out for about 10 minutes before eating if you want a softer bite.
Avoid leaving them at room temperature for long, since the filling is egg based.
Can You Freeze Keto Lemon Bars?
Yes, you can freeze them for up to three months.
Wrap the cut bars individually and thaw them overnight in the fridge.
FAQs
Are lemon bars with almond flour really gluten free?
Yes, almond flour contains no gluten and works well as a crust base. Just check that your condensed milk and baking powder are labeled gluten free for full peace of mind.
Can I make keto lemon bars without xanthan gum?
You can, but the filling may be looser and less sliceable. Xanthan gum helps the filling set, so using the half teaspoon is recommended for the cleanest results.
Why are my lemon bars runny in the middle?
They probably need more baking time or more chilling. Bake until the center barely jiggles, then refrigerate for at least two hours so the filling firms fully.
How many carbs are in these lemon bars?
Carbs depend on your serving size and sweetener brand. Because the sugar is replaced with low carb ingredients, each bar stays far lower in carbs than a traditional version.
Grab a square, share the pan, and enjoy every zesty bite!
Keto Lemon Bars (Gluten Free)

Ingredients
- 2 1/4 cups super fine almond flour
- 1/2 cup grass-fed unsalted butter (melted)
- 1 whole egg
- 1/2 cup Swerve confectioners (or powdered erythritol)
- 1 teaspoon vanilla extract
- 2/3 cup fresh lemon juice
- Zest of 2 lemons
- 1 cup Keto/Low Carb Sweetened Condensed Milk
- 4 whole eggs (at room temperature)
- 1 tablespoon coconut flour
- 1 teaspoon baking powder
- 1/2 teaspoon Xanthan Gum
Instructions
- Preheat the oven to 350°F (175°C) and line an 8×8 inch pan with parchment paper, leaving overhang on the sides.
- In a bowl, combine the almond flour, melted butter, whole egg, Swerve confectioners, and vanilla extract until a crumbly dough forms.
- Press the dough firmly and evenly into the bottom of the prepared pan.
- Bake the crust for 12 minutes, until the edges are lightly golden. Remove and let it cool slightly.
- In a large bowl, whisk the lemon juice, lemon zest, and keto sweetened condensed milk until smooth.
- Add the 4 room temperature eggs, coconut flour, baking powder, and xanthan gum. Whisk until no lumps remain.
- Pour the lemon filling over the warm crust.
- Bake for 18 to 20 minutes, until the center is just set and barely jiggles.
- Cool the pan on a wire rack for 30 minutes, then refrigerate for at least 2 hours.
- Lift the bars out using the parchment, cut into 16 squares, and serve chilled.
Notes
- Measure coconut flour carefully, as it absorbs liquid quickly.
- Store leftovers covered in the refrigerator for up to five days.
- Use a sharp knife dipped in hot water for the cleanest cuts.

