These gluten-free lemon bars combine a crisp, buttery shortbread crust with a smooth, bright lemon custard that reliably sets every time. They’re straightforward to prepare, slice cleanly, and offer the classic sweet-and-tart balance without any guesswork.

Why this recipe works
The texture matches what you expect from classic lemon bars — tender but sturdy crust and a silky custard — and it works even better without gluten. The shortbread-style crust bakes tender with a slight chew so it holds up under the filling without becoming soft or greasy.
The filling is creamy and packed with real lemon flavor. Zesting the lemon into the crust as well as the custard ensures each bite is balanced and bright rather than flat or overly sweet.
The filling sets consistently because the recipe gives clear doneness cues instead of relying on a single time. Follow the visual and tactile signals described below to avoid an underbaked, runny filling or an overbaked, rubbery one.
“I’m the only gf person in the room but everyone loved it! Custard is so lemony and delicious.” Shannon
“I have made it many times and am making it again to bring to my 101 year-old grandpa who loves lemon bars.” Jennifer
Recipe ingredients
Below is an overview of the ingredients, how to choose them, and what they contribute to the finished bars.

- Gluten-free flour blend: Use a gum-free blend based on super-finely ground white rice flour. Avoid blends with xanthan gum for this recipe; a binder there can make the crust chewy and the filling gummy. The blend provides structure for both crust and filling. If using a commercial blend, sift it well to remove any grittiness.
- Confectioners’ sugar: Adds sweetness and helps create a delicate, slightly crisp crumb in the crust. A dusting on top brightens the look and evens out any imperfections.
- Granulated sugar: Balances lemon tartness and dissolves into the filling to keep it smooth.
- Fresh lemon juice: Fresh juice gives the best bright flavor; baking intensifies flavors, so bottled juice can taste bitter. Strain out pulp and seeds before measuring.
- Lemon zest: Contains concentrated oils that boost lemon aroma and flavor. Avoid grating into the bitter white pith.
- Butter: Melts into the crust, providing richness and a crisp exterior.
- Eggs: Thicken and bind the custard, giving the filling a creamy set as it cools.
- Salt: Enhances and balances the flavors.
- Baking powder: Adds a little lift to keep the custard light instead of dense.
How to make gluten-free lemon bars (step-by-step)
This recipe requires baking the pan twice: once to partially bake the crust and again after adding the lemon filling. For exact ingredient amounts and full details, see the recipe card below.
For the crust: whisk dry ingredients
Whisk together the flour blend, confectioners’ sugar, salt, and lemon zest until evenly combined and free of clumps. The zest can clump, so keep mixing until everything is uniform.


Add melted butter
Stir in melted unsalted butter until the mixture comes together in clumps. Melt the butter gently and let it cool slightly before combining so it doesn’t over-soften the dry ingredients.


Form clumps and press into the pan
Use a fork to combine until you have large, even clumps. Scatter them across a lined and greased 8-inch pan, then press gently with an offset spatula or butter knife to form an even layer. Avoid pressing too firmly so the crust doesn’t become overly compact.


Parbake the crust
Bake the crust at 325°F for about 15 minutes until it loses its shine and looks pale and matte. Parbaking seals the crust so it won’t get soggy when you add the liquid filling.


For the filling: whisk dry, then wet
Whisk the remaining flour blend, granulated sugar, and baking powder until evenly combined. Add the fresh-squeezed, strained lemon juice and eggs, then whisk gently until smooth. The mixture will be thin; avoid over-whisking to limit air bubbles.


Combine crust and filling
Pour the filling into the partially baked crust; it will spread into an even layer. Tap the pan on the counter a few times to release air bubbles for a smooth top.


Finish baking
Bake for about 25 minutes. The filling is done when it looks uniformly risen, begins to pull away slightly from the pan edges, and only jiggles a tiny amount in the center when you shake the pan gently.
Chill and slice
Cool the pan on a wire rack for at least 20 minutes, then refrigerate, covered, for at least 2 hours so the custard fully sets and slices cleanly. Use the parchment overhang to lift the bars from the pan and slice into nine squares with a very sharp knife. Dust with confectioners’ sugar before serving.


Expert tips
Use fresh lemon juice
Always prefer fresh-squeezed lemon juice. Bottled juice often tastes bitter and baking amplifies that bitterness. Strain out pulp and seeds and measure the juice after straining for accuracy.
Whisk the filling fully but gently
Whisk until the ingredients are smooth and incorporated but avoid whipping in air. Excess bubbles rise and can mar the finished surface; if bubbles do form, let the mixture settle and tap the pan to release them before baking.
Allow proper setting time
Chill the baked bars for at least two hours so the egg-based filling firms up and slices neatly. Cutting too soon leads to soft, messy slices.

Ingredient substitutions
Options and limits for swaps:
Dairy-free
For a dairy-free crust, use equal parts nonhydrogenated vegetable shortening and a firm block-style vegan butter to mimic the flavor and texture of dairy butter.
Egg-free
This recipe relies on four eggs for the custard’s texture; replacing all eggs with a substitute will not produce the same smooth, creamy custard.
Lemon alternatives
Swap lime or orange juice with the corresponding zest if you want a different citrus flavor; adjust sweetness to taste.

Storage suggestions
Store bars in a sealed container in the refrigerator for 3–5 days. If dusted with confectioners’ sugar, it may absorb into the bars and look less bright; dust again before serving.
To freeze, chill the bars until firm (about 1 hour uncovered), then wrap individual bars tightly and freeze up to 3 months. They thaw quickly in the refrigerator; dust with confectioners’ sugar just before serving.
Gluten Free Lemon Bars Recipe

Ingredients
For the crust
- 1 cup gum-free gluten-free flour blend (140 g)
- ½ cup confectioners’ sugar (58 g), plus more for dusting
- ½ teaspoon kosher salt
- 1 tablespoon finely grated lemon zest (from 1 large lemon)
- 9 tablespoons unsalted butter, melted and cooled (126 g)
For the filling
- ⅔ cup gum-free gluten-free flour blend (93 g)
- 1 cup granulated sugar (200 g)
- ¾ teaspoon baking powder
- ⅔ cup freshly squeezed lemon juice (about 4–5 lemons), strained
- 4 eggs (200 g), at room temperature
Instructions
- Preheat the oven to 325°F. Grease an 8-inch square pan, line with crisscrossed parchment that overhangs the sides, and grease the parchment.
Make the crust
- In a medium bowl, whisk 1 cup (140 g) flour blend, confectioners’ sugar, salt, and lemon zest until combined.
- Add melted butter and mix with a fork until clumpy and combined.
- Scatter clumps evenly in the prepared pan and press into an even layer with an offset spatula or knife.
- Bake in the center of the oven about 15 minutes, until it loses its shine and looks pale and matte. Let cool briefly.
Make the filling
- In a large bowl, whisk ⅔ cup (93 g) flour blend, granulated sugar, and baking powder.
- Add lemon juice and eggs and whisk until smooth; the mixture will be very thin.
- Pour the filling into the parbaked crust and tap the pan to release bubbles.
Bake
- Return the pan to the oven and bake until just set, 25–30 minutes. The filling should only jiggle slightly in the center and may pull away from the edges.
- Remove from oven and cool in the pan on a wire rack about 20 minutes.
Chill the bars
- Cover and chill in the refrigerator until firm, at least 2 hours.
- Lift the bars from the pan using the parchment overhang, peel away the paper, and slice into 9 squares with a very sharp knife.
- Dust with confectioners’ sugar and serve chilled.
Notes
To make the gum-free blend used here, combine finely milled white rice flour, potato starch, and tapioca starch in the proportions described in the ingredient notes above. Use a commercial gum-free blend if you prefer, but be sure to sift it well to remove any gritty bits.
Nutrition
| Calories: 292kcal
Nutrition information is an approximation.
FAQs
An average lemon yields about 3 tablespoons of juice. This recipe needs roughly 2/3 cup (about 10–11 tablespoons), so plan on about 4 lemons.
Bottled lemon juice often tastes bitter when baked. If you have a bottled brand you already enjoy, you can use it, but fresh-squeezed is recommended for the best flavor.
Yes. A gluten-free graham cracker crust can be used in place of the shortbread crust if you prefer a different texture and flavor.

More lemon dessert recipes
More gluten-free lemon treats to try:
- Gluten Free Lemon Cookies – Buttery and light, these melt-in-your-mouth cookies take just 15 minutes of prep.
- Gluten Free Lemon Brownies – A chewy brownie texture with bright citrus flavor.
- Gluten Free Lemon Cake – A tender, lemon-forward cake for fans of classic lemon desserts.