Gluten-Free Lemon Bar Recipe: Zesty, Tart Citrus Squares

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.

Three lemon bars on a white platter

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

More Reader Comments

Recipe ingredients

Below is an overview of the ingredients, how to choose them, and what they contribute to the finished bars.

Overhead view of measured ingredients in bowls with labels including confectioners’ sugar, gluten free flour, lemon zest, eggs, lemon juice, baking powder, sugar, melted butter, and salt.
  • 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.

Metal mixing bowl filled with white dry ingredients and a small pile of yellow lemon zest, with a glass of melted butter mixture partially visible to the side.
Metal mixing bowl with white dry ingredients being whisked with a metal whisk, with some visible yellow flecks of lemon zest

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.

Hand holding a small glass of melted butter mixture about to pour it into a bowl of white dry ingredients, with a fork resting nearby.
Melted butter mixture poured over white dry ingredients in a metal mixing bowl.

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.

Clumpy pale dough mixture in a metal bowl with a fork.
Pale dough clumps scattered in an even layer in a square baking pan lined with parchment paper, clipped to each of the four sides with a small black binder clip.

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.

Hand holding a small offset spatula to press pale dough into a smooth, even layer in a parchment-lined square pan.
Baked pale yellow crust in a square pan, with very lightly golden color on the edges.

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.

Metal mixing bowl with white dry ingredients and a whisk resting inside.
Hand holding a metal whisk about to whisk together a mixture of white dry ingredients with eggs and lemon juice liquid mixture.

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.

Hand pouring a pale yellow liquid filling mixture from a metal bowl into a baked crust in a parchment-lined square pan.
Square pan filled with a smooth pale yellow layer over the crust, spread evenly to the edges.

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.

Uncut, baked lemon bars in a parchment-lined square pan resting on a round wire rack, lightly golden around the edges.
Hand holding a square lemon bar dusted with powdered sugar over several cut bars on parchment paper, with a sieve partially visible to the side.

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.

Image of 8 squares of lemon bars

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.

A single lemon bar on a small square plate

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

4.96 from 282 votes
By Nicole Hunn
Prep Time: 15
Cook Time: 40
Chilling time: 2
Yield: 9 bars
3 bright yellow gluten free lemon bars with powdered sugar on top on a rectangular white platter
Pin
Print
Fresh, tart and sweet gluten-free lemon bars are packed with bright citrus flavor in a smooth custard and an easy shortbread crust.

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

Flour blend 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

Serving: 1bar
| Calories: 292kcal

Nutrition information is an approximation.

FAQs

How much juice is in one lemon?

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.

Can I use bottled lemon juice?

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.

Can I use a graham cracker crust instead of shortbread?

Yes. A gluten-free graham cracker crust can be used in place of the shortbread crust if you prefer a different texture and flavor.

A simple lemony shortbread crust with a tart, refreshing lemon custard, these gluten free lemon bars are so easy to make!

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.