There’s a reason lemon bars show up at every spring potluck, bake sale, and Easter table — that perfect balance of buttery shortbread and bright, tangy lemon filling is impossible to resist. This lemon bars recipe is the one I keep coming back to after testing more batches than I can count, and it’s become one of the most requested desserts in our house of 7.
What makes this version stand out is the thick, luscious lemon layer — no thin, wimpy filling here. It sits on a buttery shortbread crust that holds its own without getting soggy or crumbling apart when you slice it.
And here’s the bonus: this recipe is naturally gluten-free, made with a simple gluten-free flour swap that doesn’t sacrifice an ounce of that classic shortbread texture. Whether you’re gluten-free or just looking for the best lemon bars recipe, period, this one delivers.
Have a sweet tooth but not a big fan of lemon? My yummy raisin date bars can be made gluten-free, too – check them out!
Why You’ll Love These Lemon Bars
- Thick, luscious lemon layer – if you LOVE lemon, you are going to appreciate the thick, tart layer filled with lemon flavor.
- Buttery shortbread crust – sturdy enough to hold filling, tender enough to melt in your mouth
- just 7 simple ingredients – don’t you love it when a recipe is actually made up of ingredients you likely have in your pantry already? Me too!
- Crowd pleaser – it’s hard to find a dessert that everyone will love, but this may be as close as it gets!
- Easy to double the recipe – this recipe will be gobbled up fast; I always recommend doubling the recipe if you are trying to feed a large family.
- Simple to make – most importantly, these gluten-free lemon bars are easy to make. If you have never made lemon bars from scratch, you’ll be plesantly surprised at just how simple it is!

Ingredients
This gluten-free lemon bar recipe will soon become a new family favorite. Here’s how to whip up a batch — or two — of your own.
Lemon bars can be finicky with ingredient substitutions – this recipe is best when both the ingredients and directions are followed exactly.

Shortbread Layer
- butter
- flour or gluten free flour (I use King Arthur Gluten-free Flour)
- granulated sugar
Lemon Layer:
- eggs
- sugar
- baking powder
- gluten-free flour
- lemon juice*
- powdered sugar for dusting the top
*cooking note: freshly squeezed lemon juice will give you the absolute best lemon flavor, but I often use bottled lemon juice to save time and these bars are still delicious.

Equipment You Need:
- 8×8” glass or ceramic baking dish (do not use metal as it can react with the acidity in the lemon juice and can cause an odd, metallic taste)
- stand mixer with both regular paddle attachment and whisk attachment or hand mixer
- measuring cups
- for fresh lemon juice – this citrus squeezer makes it quick and easy to squeeze fresh lemon juice
- spatula
- sifter, optional but recommended for dusting the powdered sugar
How to Make Gluten-Free Lemon Bars
First up, preheat your oven to 350°F and prep your pan — grease an 8×8″ glass or ceramic baking dish, or line it with parchment paper for easy removal later. (Quick tip: skip metal pans here, since the acidity in the lemon juice can react with metal and leave an odd taste.)

For the shortbread layer, mix the melted butter and sugar together, then stir in the gluten-free flour until just combined.
Press the mixture evenly into your prepared pan — clean fingers work great for this, or use the back of a spoon.
Bake for 18-22 minutes, just until the edges start to turn golden. Pull it out and set it aside.

While the crust bakes, whip up the lemon filling. Beat the eggs first, then add the sugar, baking powder, and flour, scraping down the sides so everything’s well combined.
With your mixer running, slowly pour in the lemon juice and beat until the mixture looks light and frothy.
Turn your oven down to 325°F, then pour the lemon filling right over the warm, just-baked shortbread layer. Don’t stress if your crust cools a bit while you’re finishing the filling — just add a few extra minutes to the bake time if needed.

Bake for 22-28 minutes, until the top is just turning golden and the center is set — give the pan a gentle tap and it shouldn’t jiggle. Keep a close eye near the end, since these bars can brown quickly if the oven runs a little hot.
Once they’re done, let the bars cool completely on a wire rack before dusting with powdered sugar (a fine-mesh sifter makes this easy, and it also helps hide any imperfections on top).
One important note: resist the urge to test these with a toothpick or fork. The filling needs time out of the oven to fully set, so if you wait for a “clean” toothpick, you’ll end up overbaking them.
For the best texture, let the bars cool fully — ideally overnight — before slicing. They’re still delicious warm, just softer and best eaten with a fork. I promise it’s worth the wait!

Storage
Room temperature: These lemon bars keep beautifully at room temperature for 4-5 days in a sealed container, though in our house they rarely last past day two.
Refrigerator: If you prefer them chilled or live somewhere warm, they’ll keep in the fridge for up to a week.

Freezer: These freeze wonderfully. Skip the powdered sugar dusting before freezing, then let the bars cool completely — 12-24 hours is ideal — before slicing. Freeze the bars in a single layer on a parchment-lined tray for 1-2 hours, then wrap each one individually in plastic wrap and store in a freezer bag or container for up to 3 months.
To thaw: Move them to the fridge to thaw, then dust with powdered sugar right before serving.
I know your family will love these delicious lemon bars as much as we do! Enjoy!
Tips & Tricks for the Best Lemon Bars
Getting the Filling Just Right
Don’t skip the frothy-beating step for the lemon layer — it helps create that smooth, set texture once baked.
Avoiding Overbaked Bars
Watch the last few minutes closely. These bars go from perfectly golden to overdone fast, especially if your oven runs hot.
Getting Clean Slices
Let the bars cool completely (overnight is best) before cutting, and use a sharp knife wiped clean between cuts for neat, bakery-style edges.
More Gluten-Free Desserts
- Gluten-Free Sugar Cookies
- Bakery-Style Gluten-Free Blueberry Muffins
- The Best Gluten-Free Chocolate Chip Cookies
- Chewy Gluten-Free Peanut Butter Cookies
Pin the image below to save the Gluten-Free Lemon Bar recipe for later.

Gluten-Free Lemon Bars with Shortbread Crust
These delicious gluten-free lemon bars feature a buttery shortbread crust filled with a thick layer of bright lemon filling.
- Prep Time: 10 minutes
- Cook Time: 45 minutes
- Total Time: 55 minutes
- Category: Dessert
- Method: Baking
- Cuisine: American
- Diet: Gluten Free
Ingredients
Shortbread Layer
¾ cup butter (1.5 sticks), melted
1 ¼ cup gluten-free flour (I use King Arthur Gluten-free Flour)
⅓ cup granulated sugar
Lemon Layer:
2 large eggs
1 cup sugar
½ tsp baking powder
¼ cup gluten-free flour
⅓ cup lemon juice*
powdered sugar for dusting the top
*freshly squeezed lemon juice will give you the absolute best lemon flavor, but I often use bottled lemon juice to save time and these bars are still delicious
Instructions
Preheat your oven to 350 degrees.
Grease an 8×8” glass baking pan or line it with parchment paper. (Parchment paper makes it easy to remove and cut your lemon bars, however greasing the pan works too.)
For the shortbread layer, mix the melted butter and 1/3 cup sugar together, then mix in the 1 1/4 cup gluten-free flour. Press into the baking pan. I use my clean fingers to press it in but you can use a spoon if you prefer. Bake for 18-22 minutes or until the edges are just beginning to turn golden brown. Remove from the oven and set aside.
For the lemon filling: While the shortbread layer is baking, you can make the lemon filling. Using a whisk or whisk attachment on your stand mixer, beat the eggs, then add 1 cup sugar, baking powder, and ¼ cup flour. Scrape the sides and mix well. Turn the mixer to high and slowly add the lemon juice to the egg mixture. Mix on high speed until it begins to look frothy.
Reduce the oven temperature to 325 degrees. Pour the lemon filling over the just-baked shortbread layer. (Note: if you get busy and the shortbread layer begins to cool, don’t worry – just bake the bars a little longer.)
Bake for 22-28 minutes or until the top is just turning golden brown and the center is set. Tap the pan gently with an oven mitt to test. If it jiggles, bake for a couple more minutes. If it doesn’t, your lemon bars are done.*
These lemon bars will turn brown quickly if overbaked or the oven temperature is too hot, so pay close attention to the final minutes. If your lemon bars do turn brown on the top, they will still taste good; they just won’t look quite as pretty.
Remove from the oven and set aside on a wire rack to cool completely. Once cool, use a sifter to dust a little powdered sugar over the top of the bars. (This also helps to cover up imperfections.)
*Poking the bars with a fork or toothpick to test for doneness is not recommended for this recipe as the filling needs time outside of the oven to set (firm) completely. If you wait until the bars test done with a fork, they will be overbaked.
Notes
These gluten-free lemon bars are best enjoyed after they have fully cooled, usually the next day. For the best results, wait several hours or overnight before cutting them.



louisa piper says
This was my first gluten free dessert and it was delicious! Super easy and quick. I made these for a friend and I’m about to make them a 2nd time for Friendsgiving. Exactly the recipe I was looking for. Thanks.
Gail Hewitt says
These are so yummy. Could I substitute xylitol for the sugar?
Erika says
Hi Gail, I haven’t used Xylitol much so I’m not sure. For a sugar-free sweetener, you can sub Monk Fruit, like this Lakanto blend https://amzn.to/3JO4g39 instead. I’d suggest 1/4 cup monk fruit for the crust and 3/4 cup for the lemon part. It has a slightly different flavor but still quite good. I do this often when I want healthier baked goods. Enjoy!
Amanda says
Can these be frozen?
Erika says
Hi Amanda, yes they can. Bake them as directed, let them cool completely, then you can wrap the bars up tightly with plastic wrap and freeze for up to 3 months.