Gluten-Free Dairy-Free Lemon Bars (Classic, Bakery-Style)

Gluten-free dairy-free lemon bars dusted with powdered sugar

Buttery shortbread on the bottom, tangy-creamy lemon curd on top, a snowfall of powdered sugar over it all, lemon bars are the ultimate sunshine dessert. And you do not need dairy or gluten to make them perfect. These gluten-free dairy-free lemon bars taste exactly like the classic (no one will guess), with a crisp crust that never goes soggy and a silky filling that sets just right. Here is the recipe and the little secrets that make them bakery-worthy.

Why these lemon bars work

Two swaps do all the heavy lifting: a dairy-free butter (or refined coconut oil) shortbread that bakes up crisp and golden, and a filling built on fresh lemon juice, zest and eggs for that glossy, set curd. A good gluten-free 1:1 flour holds it together, and one crucial step, par-baking the crust, keeps the base crunchy under the juicy topping.

The soul of a lemon bar is fresh lemons, please skip the bottled juice, it tastes flat where fresh tastes alive.

Ingredients

For the shortbread crust:

  • 1.5 cups gluten-free 1:1 flour (with xanthan gum) + 5 tbsp cornstarch
  • 1/2 cup powdered sugar + 1/3 tsp salt
  • 1 cup cold dairy-free butter, cubed (or refined coconut oil)

For the lemon filling:

  • 3 eggs + 1 cup sugar
  • Juice and zest of 2 fresh lemons (about 1/2 cup juice, 1 tbsp zest)
  • 3 tbsp gluten-free 1:1 flour
  • Powdered sugar, to dust

How to make gluten-free dairy-free lemon bars

  1. Heat oven to 350F and line a 9×13 pan with parchment (lightly greased, so nothing sticks).
  2. Pulse the crust ingredients in a food processor to a sandy crumb, then press firmly into the pan.
  3. Par-bake the crust for 20 minutes, until lightly golden.
  4. Whisk the filling (eggs, sugar, lemon juice, zest, flour) until completely smooth, no flour lumps.
  5. Pour over the hot crust and bake 20 minutes for a soft set, or up to 30 for a firmer one, until the center is just set.
  6. Cool completely (about 2 hours, or chill), then lift out, dust with powdered sugar and slice.

Secrets to perfect lemon bars

  • Fresh lemons only, for bright, real flavor.
  • Par-bake the crust, so it stays crisp under the filling instead of going soggy.
  • Whisk the filling smooth, lumps of flour become white spots on top.
  • Cool fully before cutting, warm bars are runny; patience gives clean squares.
  • Dust powdered sugar just before serving, if you add it too early it dissolves into the curd and disappears.

Want a printable list of dairy-free butters, gluten-free flours and other baking staples? Grab our free Grocery Checklist.

Dairy-free swaps that work

A stick-style dairy-free butter (like Earth Balance or Miyoko’s) gives the most classic shortbread. If you use coconut oil, choose refined (not virgin) so you do not get a coconut aftertaste. Either way, keep it cold when making the crust for the crispest base.

Want an egg-free or vegan version?

This classic filling relies on eggs for its silky set, so it is not egg-free. If you need vegan or egg-free lemon bars, a no-bake version set with coconut cream and cornstarch is the way to go, try our vegan no-bake lemon bars instead.

Corn-free and flour notes

If you avoid corn, swap the cornstarch for the same amount of tapioca or arrowroot starch. For the flour, use a light 1:1 blend built on rice and starches, not a heavy chickpea-based one. Our gluten-free flour substitutes guide explains which blends bake best.

Troubleshooting

  • Runny filling? It needed longer to bake or to cool, the curd firms as it cools.
  • Soggy crust? You skipped the par-bake, always pre-bake the base.
  • White film or spots on top? Unmixed flour, whisk the filling thoroughly next time.
  • Cracked or browned top? Overbaked, pull them when the center is just set.

Variations

Swap the lemon for lime (or a mix) for a zingy twist, bake in a tart pan for a lemon tart, or press the crumbs into a round for a rustic slab. A few fresh berries on top make them extra summery.

Storage and freezing

Keep the bars in an airtight container in the fridge for up to 5 days (they slice best cold). To freeze, layer between parchment in a sealed container for up to 2 months and thaw in the fridge, then re-dust with powdered sugar before serving.

Frequently asked questions

Are these lemon bars dairy-free and gluten-free? Yes, the crust uses dairy-free butter and a gluten-free flour blend, and the filling has no dairy.

Can I use bottled lemon juice? You can in a pinch, but fresh lemon juice and zest taste far brighter.

Why did my powdered sugar disappear? It dissolved into the moist filling, dust it on right before serving.

Can I make them egg-free? Not this baked version, use our no-bake vegan lemon bars instead.

The bottom line

These gluten-free dairy-free lemon bars are proof that free-from desserts can be every bit as good as the original: crisp crust, silky-tart curd and that pretty dusting of sugar. Use fresh lemons, par-bake the base, cool them fully, and you have a summer treat the whole table will devour. Craving more sunshine? Try our dairy-free sherbet next.

Leave a Comment

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

Scroll to Top