Keto Lemon Bar Recipe

Keto Lemon Bar Recipe

Enjoy a delicious and lightly tart keto lemon bar using a flaky gluten free shortbread base, paired with a tangy lemon filling you know and love.

Whether it’s a hot summer day or you just simply love lemons, there is something so classic about a delicious lemon bar. These bars are gluten free (the shortbread crust is made from almond flour) and I have perfected the simplest keto friendly lemon filling too.

This is a great alternative if you follow a ketogenic diet or possibly struggle with insulin resistance (or are just looking to cut down on carbs).

Each Bar is only two net carbs as well! The perfect after dinner dessert. The best part? You would never know these weren’t made with traditional ingredients like flour or granulated white sugar.

Baking can often feel intimidating (especially when using gluten free or keto ingredients); let me help you master this delicious baked good with confidence!

Below you will find helpful baking instructions and techniques to make an incredible keto friendly lemon bar. Want a non-keto lemon bar recipe we love? Check out this version for strawberry and blueberry lemon bars too.

Keto Lemon Bar Recipe

Supplies Needed

  • Food Processor
  • Measuring Cups/Spoons
  • 9×9 Baking Pan
  • Parchment Paper
  • Spatula 

Is Lemon Keto?

I know you might be wondering if lemon can properly fit into a keto diet. I also wondered the same thing! The good news is that lemon is in fact keto. Lemons are low in sugar with about 4 net carbs per lemon, and they contain Vitamin C and Pectin which are both associated with health benefits!

Keto Lemon Bar Ingredients:

For the Shortbread base:

  • Almond Flour
  • Baking Powder
  • Xanthan Gum
  • Salted Butter
  • Vanilla or Almond Extract
  • Egg

For the Lemon Filling:

  • Egg Yolks
  • Fresh Lemon Juice
  • Xanthan Gum
  • Powdered Low Carb Sweetener- Optional
Keto Lemon Bar ingredients

Can I Omit Xanthan Gum?

One of the most common questions I get about keto baking is in regards to using xanthan gum. Yes, it is necessary.

Xanthan gum acts as a binding agent in place of the gluten that’s been removed from this recipe (i.e swapping almond flour for a classic white flour). Because almond flour is a lot denser, it often can get crumbly when it’s been baked.

Xanthan gum works to help bind and keep the almond flour together in the way regular flour would bake up in my opinion.

This is helpful for keto-friendly desserts. Your bars will be intact, easy to eat, and won’t fall apart!

If you don’t have xanthan gum some possible substitutions (though I haven’t tried) would be cornstarch or arrowroot root starch. Just calculate that into your total carbs at the end. 

What if I don’t have a Food Processor?

No food processor? Though I have to say the food processor is the best way to go, your other option would be to freeze your butter and grate it into the dry ingredients.

Use a hand mixer then to combine everything thoroughly. I pre-bake the dough in a parchment paper-covered pan (it makes clean-up so easy), poke holes with a fork in it so it doesn’t bubble up, and let it cool just slightly before adding the filling.

Keto Lemon Bar Shortbread Base

This base is my go-to for shortbread. I used it as the base for my Keto and Gluten Free Samoa Girl Scout Cookie recipe and even worked as a gluten-free and keto-friendly pie crust too.

It will be a staple for you when making many keto-friendly desserts. What I love the most about this recipe is that it is only a handful of ingredients, a few pulses in the food processor, and it comes together in what feels like 5 minutes.

Keto shortbread base made in the food processor
  1. Preheat the oven to 350 F. (Please note you will lower the temperature when you bake with the filling) and line a 9×9 inch pan with parchment paper (or grease well but parchment is the best option).
  1. In a food processor, combine the almond flour, sweetener, baking powder, and xanthan gum and pulse a few times to combine. Add the very cold butter and pulse again until the mixture is combined well. Finish with the egg and the vanilla and blend until it’s one solid mixture that resembles cookie dough. If you do not have a food processor, see the notes in the post above for how to best make the shortbread base.
  1. Press the base evenly into the 9×9 inch pan use a fork to poke a few holes across the top (prevents air bubbles) and bake at 350 F for about 15 minutes. The edges should look lightly golden brown. Allow it to sit for a bit before adding the filling (I wait to make the filling once this comes out first).
Keto lemon bar cookie base in a pan

Keto Lemon Bar Filling

This filling is incredible. It reminds me so much of my grandma’s lemon meringue pie and I find it so rich and flavorful and a good balance between tart and sweet.

I tested this recipe two times and found a few tips I’d like to recommend for the filling, found in the steps below. Keep in mind that this filling has only been tested with Allulose and Lakanto sweeteners, so if you try a different one it might come out slightly different!

Keto lemon bar filling steps
  1. To make the filling, beat the 6 eggs very well in a bowl to start. In a separate bowl, whisk the sweetener and xanthan gum together well. DO NOT SKIP THIS STEP or you may end up with chunks of undissolved xanthan gum in your filling.
  1. Combine the dry ingredients with the eggs and beat until combined well. Finally, whisk in your lemon juice and blend everything by hand until it looks like one solid, cohesive mixture.
  2. Slowly pour the mixture over the shortbread base and pop back in the oven. Be sure to remember to bump the temperature down to 325 F or they will overcook!
  1. Bake for about 22-25 minutes. The center should be set but slightly jiggly. You might notice that it looks a little bit wet in the middle. That is okay, as it will sit in the fridge. Remove from the oven and let it rest a bit at room temperature before putting it in the fridge. I find they set best after at least a few hours in the fridge. I know… patience is hard.
  1. Top with some low-carb powdered sugar or leave and eat as is. Gluten-free keto lemon bars will last for a good week in the fridge (if you don’t eat them all by then). I freeze them as well and defrost individual ones as desired for a late-night treat too!
Keto lemon bar filling poured over the crust

Baking and Storage Tips

  • Let the bars cool for 3-4 hours before slicing. You want to make sure they are nice and set before you slice into them!
  • Wipe the knife clean between each slice for clean-cut bars. Nothing is more satisfying than those clean edges!
  • You can garnish your gluten free keto lemon bars with keto friendly powdered sugar or a keto friendly whipped cream.
  • Store your lemon bars in an airtight container in the fridge.
  • These bars are best when eaten within 3-4 days, but it would be surprising if you had any left by then anyway!
  • If freezing, freeze them each individually and then take them out as you want them. It is best to defrost these in the fridge before serving.
Keto lemon bars on plates

If you’re a lemon lover like me, check out my Keto Ricotta Lemon Poppy Seed Scones recipe too! It’s easy and delicious as well. Or if you just have a sweet tooth and want some good keto friendly dessert options, try my Keto and Gluten Free Thin Mints, my Low Carb Sweet Potato Pie Bars, or my Keto Shortbread Sugar Cookies!

Keto Lemon Bar Recipe

Keto Lemon Bar Recipe

A delicious buttery gluten free and keto shortbread base topped with a delicious, lemon filling! These lemon bars taste like the real deal and you won't even miss the carbs!

4.97 from 54 votes
Print Pin Rate
Course: Desserts
Cuisine: American
Keyword: Gluten Free Keto Lemon Bars
Prep Time: 10 minutes
Cook Time: 35 minutes
Additional Time: 2 hours
Total Time: 2 hours 45 minutes
Servings: 16 Bars
Calories: 130kcal
Author: Bon Appeteach

Ingredients

Keto Shortbread Cookie Base

  • 1 1/2 cups Almond Flour
  • 3/4 cup Low Carb Sweetener I like allulose or lakanto brand
  • 1 tsp Baking Powder
  • 1 tsp Xanthan Gum do NOT omit
  • 6 tbsp. Salted butter diced and very cold
  • 1/2 tsp vanilla or almond extract
  • 1 Egg

Lemon Bar Filling

Instructions

Shortbread Base

  • Preheat the oven to 350 F. (please note you will lower the temperature when you bake with the filling) and line a 9×9 inch pan with parchment paper. Parchment must be used for the best outcome of this recipe.
  • In a food processor, combine the almond flour, sweetener, baking powder, and xanthan gum together and pulse until combined. Add the very cold butter and pulse again until the mixture is combined well. Finish with the egg and the vanilla and blend until it's one solid mixture that resembles cookie dough.
    If you do not have a food processor, see notes in the post above for how to best make the shortbread base.
  • Press the base evenly into the 9×9 inch pan and use a fork to poke a few holes across the top (prevents air bubbles) and bake at 350 F for about 15 minutes. The edges should look lightly golden brown.
  • Tap the pan onto the counter gently to deflate the shortbread base. The edges of the shortbread should form a lip to help hold in the lemon filling. You can also take a spatula and push down around the inside edge and the middle to slightly flatten if needed. Let this cool off to the side.

Lemon Filling:

  • To make the filling, whisk the 6 egg yolks very well in a bowl to start. In a separate bowl, whisk the sweetener and xanthan gum together well. DO NOT SKIP THIS STEP or you may end up with chunks of undissolved xanthan gum in your filling. Combine the dry ingredients with the eggs and whisk until combined well. Then mix in the lemon juice until its one cohesive mixture. Gentle whisking helps reduce air bubbles.
  • Slowly pour the filling over the shortbread so that the filling sits all the way against that inside edge. If the filling goes over the edge, it will be ok. Place the lemon bars into the oven very gently and reduce the oven temperature to 325 F.
  • Bake for 25 minutes. The filling should be set around the edges and may slightly jiggle in the center. Remove from the oven and let it rest for 15-20 minutes. Then place it in the fridge to set up fully for at least 2 hours to fully cool.
  • When ready to slice, lift the bars out of the pan using the edges of the parchment paper. Slice into 16 individual bars. Top with whipped cream, meringue, or just some low carb powdered sugar if desired.
  • Store the bars for 3-5 days in the fridge or freeze individually as desired.

Video

Notes

Make a keto whipped cream with vanilla, low carb powdered sugar, and heavy cream to add to the top. 

Nutrition

Serving: 1g | Calories: 130kcal | Carbohydrates: 3g | Protein: 5g | Fat: 12g | Saturated Fat: 4g | Polyunsaturated Fat: 1g | Monounsaturated Fat: 2g | Trans Fat: 0.2g | Cholesterol: 84mg | Sodium: 98mg | Potassium: 41mg | Fiber: 1g | Sugar: 1g | Vitamin A: 243IU | Vitamin C: 4mg | Calcium: 50mg | Iron: 1mg
4.97 from 54 votes (53 ratings without comment)

Share Your Thoughts

Your email address will not be published. Required fields are marked *

Recipe Rating




  1. The recipe looks GREAT but before I try it, I need to know if I’m using 6 whole eggs “To make the filling, beat the 6 eggs very well” or just the yolks “whisk the 6 egg yolks”
    Either way, I can hardly wait to try this. Please let me know.
    BTW I love that you use allulose.

    1. Hi Marcia, thank you so much for asking this because I definitely see that this is confusing and an error on my part. It should be 6 eggs yolks. I have updated the recipe card to better reflect the correct ingredient. So sorry for the confusion and I hope you enjoy making them, they’re one of my favorites!

  2. 5 stars
    Hi Lauren, I just loved your recipe! Thank you so much for sharing it. I’m planning to cook this for my family. However, I have a question: Can I use the coconut oil in this recipe as recommended in this recipe [https://iketomom.com/keto-lemon-bars/]?

    Please let me know. Thank you, and I’m looking forward to your response!

    1. Hi, I didn’t see where there was coconut oil in that recipe so I am not sure what you’re asking specifically. These are two totally different recipes and this is the only way I have tested it so I cannot guarantee the same outcome with other ingredient substitutions. Keto baking can be finicky as well so I cannot give you a clear answer unfortunately.