Keto lemon bars are one of those desserts I come back to again and again because they’re simple, reliable, and actually taste like a classic lemon bar. They have a buttery almond flour crust and a smooth, sweet and tangy lemon filling, without all the sugar.

The Keto Lemon Bars I Make on Repeat

What I love most about this recipe is how easy it is. There’s no need to pre-cook the filling or make a separate lemon curd. Everything comes together quickly, bakes in one dish, and gives you that bright lemon flavor and soft texture you expect, just in a low carb, keto-friendly version.
I’ve made a lot of low carb lemon desserts over the years, and this is the one that consistently turns out the best. The texture is smooth without being runny, the crust holds together without crumbling, and the lemon flavor is bright without being overpowering. It’s the kind of dessert you can make for family or take to a gathering and no one is questioning if it’s “keto” or not.
If you prefer something more cake-like, my keto lemon pound cake is another simple option with the same bright lemon flavor.
What you'll need
You only need a handful of simple ingredients to make these keto lemon bars. Everything works together to give you that classic sweet and tangy flavor without the sugar.

For the shortbread crust:
- 2 Cups almond flour
- 6 Tablespoons Butter, melted
- 3 Tablespoons Powdered Sugar Free Sweetener - I use Lakanto powdered sweetener which is an erythritol and monk fruit sweetener blend. You could also use Swerve or powdered erythritol. Just make sure it is a one for one replacement for sugar.
For the filling:
- 4 Large Eggs, beaten
- ½ Cup Powdered sugar free Sweetener - same as for the crust.
- 1 teaspoon xanthan gum
- ½ Cup lemon juice (about 2 lemons)
- pinch of salt
Xanthan gum helps thicken the filling so your lemon bars set properly and slice cleanly. You only need a small amount, and it blends right in with no noticeable texture.
How to Make Keto Lemon Bars
For the crust:
- Prep the dish and oven: Preheat your oven to 350F and lightly grease a 9x9 baking dish to prevent sticking.
- Make the crust: Combine the almond flour, butter and 3 tablespoons of powdered sweetener in a large bowl. Pour the crust mixture into the pan and flatten with a flat bottom cup.

- Bake in the pre-heated oven for 20 minutes or until golden brown. Remove from the oven and set aside. While the crust bakes you can make the filling.
For the keto lemon bar filling:
- Combine the eggs, powered sweetener, xanthan gum, lemon juice and salt.
You will want the mixture to be completely smooth so you can blend it in a blender or use an immersion blender.
- Pour this mixture on top of the crust and cook in the oven for 15 minutes more.
- Remove from the oven to cool for 10 minutes.
- Sift a little extra powdered sweetener over the top and cut into 9 squares.

Storage
These are best stored in the fridge after they have completely cooled. Place them in an airtight container or wrap the baking dish with plastic wrap.
Ingredient Substitutions
- Dairy-free - You can make these keto lemon bars dairy-free by swapping the butter in the crust for refined coconut oil. It will still hold together well, though the crust may be slightly more delicate and won’t have the same buttery flavor.
- Nut-free - You can make these lemon bars nut-free by swapping the almond flour for sunflower seed flour in a 1:1 ratio. The texture stays very similar, though the crust may bake a little darker, which is completely normal.
Tips from Jennifer's Kitchen
- Don’t skip blending the filling. Even if it looks mixed, giving it a quick blend makes it completely smooth and helps the xanthan gum distribute evenly so you don’t get any lumps.
- Press the crust in firmly. I like to use the bottom of a measuring cup to really pack it down so it holds together when you slice the bars.
- Let them cool completely before cutting. I know it’s tempting, but this is what helps the filling set and gives you clean squares instead of a soft center.
- Use fresh lemon juice. It makes a big difference in flavor and gives these that bright, tangy taste that makes lemon bars so good.
Frequently Asked Questions
This usually comes down to not blending the filling well enough or not letting them cool completely. The xanthan gum needs to be fully incorporated, and the bars will continue to firm up as they cool.
The xanthan gum helps the filling thicken and set properly. If you leave it out, the bars will be softer and may not hold their shape as well.
Yes, you can freeze them. Let them cool completely, then freeze in a single layer before transferring to a container. Thaw in the refrigerator before serving.
You can, but fresh lemon juice gives the best flavor. It’s brighter and less flat, which really makes a difference in a simple recipe like this.
Yes, these are actually better made ahead. Let them cool completely, then refrigerate for a few hours so the filling sets fully and the bars slice cleanly.
If you love lemon desserts, here are a few more I make on repeat:
- Keto Lemon Pound Cake – soft, sliceable, and great with coffee
- Keto Iced Lemon Cookies – quick, sweet, and easy to make
- Keto Lemon Blueberry Muffins – a great option if you want something you can grab and go

Easy Keto Lemon Bars (Sweet and Tangy, 2g Net Carbs)
Ingredients
- 2 Cups almond flour (see my favorite on Amazon)
- 6 Tablespoons Butter, melted
- 3 Tablespoons sugar free powdered sweetener
- 4 Large Eggs, beaten
- ½ Cup sugar free powdered sweetener
- 1 teaspoon xanthan gum
- ½ Cup Fresh lemon juice (about 2 lemons)
- pinch of salt
Method
- Preheat the oven to 350F (176C) and grease a 9x9 baking dish.
- Combine the almond flour, melted butter and 3 tablespoons of powdered lakanto sweetener in a large bowl. Pour the crust mixture into the casserole dish and press in with a flat bottom cup.
- Bake in the pre-heated oven for 20 minutes or until golden brown. Remove from the oven and set aside while you make the filling.
- Combine the eggs, powdered sweetener, xanthan gum, lemon juice and salt. You want the mixture to be completely smooth so you can blend it in a blender or use an immersion blender.
- Pour this mixture on top of the crust and cook in the oven for 15 minutes more. Remove from the oven to cool for 10 minutes.
- Sift a little extra powdered sweetener over the top and cut into 9 squares.






Paula S says
I love this recipe! I even added a teeny bit of lemon extract and that was good too. But as is this recipe is great!!
Sandra Laramy says
Can I use coconut flour instead of almond
Jennifer Banz says
Coconut flour is not a 1 for 1 substitute for almond flour so it will not work. If you need a nut free crust, you could try sunflower seed flour!
Pam G says
Love these bars. In fact, I pretty much love your recipes as you make the types of recipes I actually eat. I can’t tell you how many items I have ended up throwing away from bad recipes that people say are good and they are not. Your muffin recipes are the best!
Jennifer Banz says
So happy to hear that!
Daphne says
Easy and so delicious! I love anything lemon. I had to use sugar (but non GMO and organic sugar! LOL) so obviously they were not keto or low carb. I've got to get some monk fruit sweetener.
Danielle says
These lemon bars were so simple to make and so yummy. I brought them to a friend’s house and they all LOVED them, as well as my partner who stole a handful before I brought them over. Amazing and will absolutely make again. Also, I used corn starch instead of xanthan gum because I did not have any on hand and it did the trick
Laura says
I will double the filling next time
Kathy says
Next time I think I'll add a touch of lemon extract. I like a stronger lemon taste.
Cheryl says
You could add lemon zest to punch up lemon flavor.
Jane says
I wonder if I could seperate the eggs and beat the egg whites as a meringue... crust, topped with curd, topped with fluffy meringue. I’ll let you know if it works as I have so many lemons atm ?
Connie says
What can we use if we don’t have xanthum gum and would the ratio be the same? Thanks!
jenniferbanz says
I haven't tested this with anything else so I am not sure
Gail says
You mentioned cornstarch. Is that a possibility
Phyllis Cheever says
Can I somehow add a cream cheese swirl to these lemon bars? It's the same one you can use for brownies. 8 oz cream cheese ,1/4 cup sweetener,1 lg egg ,1/2 teas. Vanilla. I'm just not sure how to incorporate it in them? Thanks honey love your recipes and I do share them lots!
jenniferbanz says
I think that would work just like with the brownies!
Phyllis Cheever says
Thanks so much for getting back with me! I love all your recipes and always look forward to trying new ones of your! So far 100 percent fabulous!
Natalie Dixon says
Can I use limes instead of lemons
jenniferbanz says
Sure but they would be like key lime bars, yum!
Kelly says
These were so good. And easy Definitely one of my new favorites. Thanks for sharing.
Debra says
I have made this recipe three times. The first time I missed the word “melted” butter so I just naturally cut the butter into the almond flour as I would in normal baking and it turned out amazing. The next time I added melted butter to the almond flour and I didn’t like it as much. Third time I went back to cutting in the butter and the crust comes out nice and flaky.
Linda says
Delicious! Quick and easy. My crust only needed 20 minutes.
Tara says
Yum! You had me at tangy sweet lemon filling. Definitely perfect for pairing with that almond crust.
Erika says
These look amazing! I love all things lemon.
Tisha says
Perfect dessert for those days you craving something sweet and don't wanna feel guilty about it!
Holly says
Lemon bars are a favorite of mine. So glad to have a keto option for this family favorite. Thanks!
Tawnie Kroll says
I made these over the weekend and they were a hit - such a great use of almond flour. Thank you!!
Sara Welch says
This has me dreaming of spring! Love how easy this recipe is; looking forward to baking this over the weekend! Delish!
annie says
Lemon bars are my all time favorite!
Irina says
I am still in look out for edible gifts around this holiday time. I think I have found what was looking for - these lemon bars! Going to make them ASAP and pack as gifts:)
Demeter says
Such a quick and easy way to satisfy a craving! These are amazing, thanks!
Alison says
Yum! These bars are easy and delicious!
Tara says
I can hardly believe these are keto -- SO tasty!
Jack says
Its hard to find tasty keto desserts, this one is definitely one I will be making more then once!
Lisa Huff says
Perfect! I'm generally not a fan of lemon bars because they are way too sweet for me but these sound perfect. Pinning!
kim says
I love this recipe! These were so yummy and easy. I will definitely make again!
Paula Montenegro says
A lemon bar with a no-fuss lemon filling, I'm in! Wonderful post, detailed and with great process shots. I'm adding this recipe to my winter baking!
Dominique Boucher says
Can we use smwerve...granulated for the filling and the crust
jenniferbanz says
yes, but your filling may be a little grainy