The best gluten-free lemon bars has a classic lemon squares taste made with an easy sweet and tangy recipe. A no fail, buttery shortbread crust may be made with gluten free flour or use the included almond flour crust adaptation.

Now you can enjoy classic lemon bars, even better than the one’s mom made! Gluten-free lemon bars have an ultra creamy lemon custard, thickened on the stove top first, so you’ll have perfect results every time!
A vibrant, citrusy fresh lemon taste, just like gluten-free lemon cake, compliments the flaky, buttery crust underneath it. To ensure a solid, yet flaky crust, this no-fail recipe uses another trick. Blending the ingredients together in a food processor or stand mixer, not only makes it effortless, but helps incorporate the butter fully into gluten free flour.
Looking for more gluten-free lemon recipes? Try my homemade Frozen Lemon Pie, Coconut Lemon Cake or Lemon Blueberry Cake.
Ingredients needed
For the creamy lemon filling plan on using about 4 fresh lemons juiced and zested. I have not tested the recipe with sugar substitutes, but using a dairy-free butter, such as Earth Balance should work fine.
Gluten-free Shortbread Crust:
- Gluten-free flour blend – I use and recommend Cup 4 Cup Gluten Free Flour, but more recommendations are listed in my best gluten free flour guide.
- Granulated sugar
- Salt
- Unsalted butter, softened
Lemon Filling:
- Granulated sugar
- Gluten-free flour
- Cream of tartar – helps bring out the tanginess
- Salt
- Eggs + egg yolks
- Lemon zest
- Fresh lemon juice
- Unsalted butter
How to make Gluten-free lemon bars recipe
To make easy gluten-free lemon bars, begin by making the crust so it has time to cool partially before topping with the fresh lemon filing. The lemon custard first thickens on the stovetop, then finishes in the oven, to make sure the bars set every time.
(Note: This is a step-by-step tutorial with pictures. For more specific instructions, along with ingredient amounts, see the recipe card at the bottom of the post.)
- For the crust, use a stand mixer with paddle attachment or food processor. This helps fully incorporate the butter so the crust doesn’t become crumbly. In the large bowl of the mixer or bowl of a food processor, blend the flour, sugar, and salt on low speed.
- Add the softened butter to the dry ingredients, one tablespoon at a time, blending completely between each addition.
- Line a 8X8″ pan with a large piece of foil, pressed firmly to the bottom and the sides with enough overhang to lift the bars out after baking. Press the gluten-free shortbread into the prepared baking pan firmly.
- Bake in a 350ºF oven for 20-25 minutes, or until lightly golden brown. Cool slightly while the filling is made.
- In a medium saucepan whisk together the filling dry ingredients – sugar, flour, cream of tartar, and salt. Add the eggs, egg yolks, lemon zest, and fresh lemon juice and whisk to combine.
- Cook over medium-low heat, whisking constantly, until the mixture thickens and reaches a temperature of 160ºF, about 5-7 minutes. (I use my favorite instant read thermometer to check quickly.)
- Remove from the heat and stir in the cold butter. Pour the hot filling over the baked crust. Return to the oven for 10-12 minutes, or until the edges are raised and the filling barely jiggles when the pan is gently shook.
- Cool the bars to room temperature, then chill for 2 hours, dust with powdered sugar, and slice and serve.
Using almond flour to make lemon bars
Instead of using gluten free flour for the lemon square crust, there are other options for a grain-free bar. Replace the shortbread with either almond flour pie crust or pecan crust recipes.
For best results, use a 9X9 inch pan instead of 8X8 inch. This will give a better proportion of crust to filling. Also, line the pan with a large piece of parchment paper, instead of foil, to lift the squares out after the filling has cooled and chilled.
Bake the crust completely, according to the alternative crust instructions, before topping with lemon curd filling. The flour in the filling may be replaced with cornstarch or arrowroot starch to thicken.
An almond flour crust or nut crust will not be as solid as a shortbread crust, but will still have a great flavor and a tasty way to enjoy grain free and gluten free lemon bars!
Substituting limes
If you would like to make gluten free lime bars, replace the fresh lemon juice and zest with equal amounts of lime.
Dairy-free adaptation
Replace the butter with a dairy-free butter (such as Earth Balance butter sticks). However, plant-based butter is a little saltier so I recommend omitting the salt in the recipe.
with almond flour crust substitution
Use almond flour crust recipe in place of the shortbread crust. See above, under the heading “Using Almond Flour to Make Lemon Bars” for tips when substituting an almond flour crust.
how to tell when they are done baking
This recipe has a shortened baking time because the creamy lemon custard filling comes together on the stove top first. While this is an extra step, it does take out some of the guesswork of when the lemon square are done.
The bars should have a raised edges and the middle should be set. It will still jiggle a little when the pan is shook, but shouldn’t slosh around.
For best results, cool the bars completely on a wire rack and then at least 2 hours before cutting and serving.
Storing
Store cut lemon bars in the refrigerator in an airtight container. Upon sitting, the powdered sugar will seep into the filling, so you may want to dust them again upon serving.
Click here to see the
step-by-step web story instructions for this recipe!
Save this recipe for gluten free lemon squares to your PINTEREST board!
Let’s be friends on Pinterest! I’m always sharing great recipes!
Gluten-Free Lemon Bars
Ingredients
Gluten-Free Shortbread Crust
- 1 ⅓ cup gluten free all purpose flour, I use and recommend Cup 4 Cup
- ⅓ cup granulated sugar
- ¼ teaspoon salt
- 8 tablespoons unsalted butter, softened and cut into 8 pieces
Lemon Filling:
- 1 cup granulated sugar
- 2 tablespoons gluten free all purpose flour
- 2 teaspoons cream of tartar
- ¼ teaspoon salt
- 3 large eggs + 3 egg yolks
- 2 teaspoons grated lemon zest
- ⅔ cup fresh lemon juice, about 4 lemons
- 4 tablespoons unsalted butter, cut in 4 pieces
- powdered sugar, for serving
Instructions
- Preheat the oven to 350ºF. Line an 8X8" pan with a large piece of foil, pressed firmly to the bottom and the sides with enough overhang to lift the bars out after baking. Set aside.
- For the crust, use a food processor or stand mixer fitted with paddle attachment. On low speed combine the flour, sugar, and salt.
- Add the softened butter to the dry ingredients, one tablespoon at a time, blending completely between each addition. The dough should pull away from the sides of the bowl and come together without any dry crumbs.
- Pour in the prepared baking pan, pressing firmly into an even layer. Bake for 20-25 minutes, rotating halfway through, until lightly golden brown. Remove from oven, leaving oven on, while the filling is prepared.
- For the filling, use a medium saucepan to whisk together the sugar, flour, cream of tartar, and salt. Add the eggs, egg yolks, lemon zest, and lemon juice. Whisk to combine.
- Cook over medium-low heat, stirring constantly, until the mixture until the mixture thickens and reaches a temperature of 160ºF, about 5-7 minutes. (I use my favorite instant read thermometer to check quickly.)
- Remove from the heat and stir in the butter. Pour the hot filling over the baked crust.
- Return to the oven for 10-12 minutes, or until the edges are raised and the filling barely jiggles when the pan is gently shook. Cool the bars to room temperature, then chill for 2 hours in the pan. Lift the bars out of the pan by the foil handles and cut into bars. Dust the tops with powdered sugar and serve. Refrigerate leftovers in an airtight container.
- DID YOU MAKE THIS RECIPE?? DON'T FORGET TO LEAVE FEEDBACK AND/OR CLICK A STAR RATING ON THE RECIPE CARD!
Equipment Needed
Recipe Notes
How to tell when lemon bars are done baking
The bars should have a raised edges and the middle should be set. It will still jiggle a little when the pan is shook, but shouldn’t slosh around.For best results, cool the bars completely on a wire rack and then at least 2 hours before cutting and serving.
Storing
Store cut lemon bars in the refrigerator in an airtight container. Upon sitting, the powdered sugar will seep into the filling, so you may want to dust them again upon serving. Crust recipe adapted from The How Can it Be Gluten Free Cookbook and filling adapted from Cook’s IllustratedNutrition
This post contains affiliate links. My opinions are always my own. If you purchase a product through an affiliate link, I make a small commission – at no cost to you. Read full disclosure policy here.
Stefanie says
These were phenomenal, and some of the best Lemon Bars I’ve ever had, GF or not. Everyone at my Super Bowl party raved and said they would never have known they were GF. I loved that lemon was the true star and they weren’t overly sweet, and the crust, wow, such a perfect, short crumb.
Do you think that crust recipe could be used for making shortbread cookies if I just added some vanilla or other flavoring? I miss buttery, crumbly shortbread cookies (i.e. Walkers) :o)
Thank you so much for this and all your other wonderful recipes!
Melissa Erdelac says
Thanks so much, Stephanie! I think the shortbread recipe would be a good place to start, but would need some more tweaking to get that exact texture of Walkers. I’ll put it on my recipe list to play around with! Stay tuned…
Best,
Melissa
Peg says
II am looking for the almond flour adapted recipe, but cannot find it. (I wanted to make these for Father’s Day in 4 days.)
Melissa Erdelac says
Hi Peg,
You can use this crust recipe to make almond flour ones! Just press into a 9X9-inch pan.
Best,
Melissa
Jasmine says
Made these last night. I omitted the cream of tartar and halved the butter in the custard. They turned out incredible. I will make them again the same way!
Melissa says
Hi Jasmine,
Thank you so much for sharing! I’m glad your recipe adaptation worked out so well 🙂
Best,
Melissa