Gluten-Free Lemon Blueberry Bars — Dairy-Free Recipe

These bright, tender lemon blueberry bars pair juicy blueberries with a buttery shortbread crust and crumble. A thick blueberry layer sits between an easy shortbread base and a crisp crumble topping—perfect for summer gatherings. The recipe is flexible and can be made gluten-free, dairy-free, vegan, or with regular ingredients.

Lemon blueberry bars made with a buttery pale yellow shortbread base with purply blue blueberry filling and a shortbread crumble on top.

The Best Gluten-Free Lemon Blueberry Bars

Lemon and blueberry are a classic summer pairing, and these gluten-free lemon blueberry bars capture that bright flavor in a simple, crowd-pleasing bar. With just nine ingredients and minimal prep, they’re easy enough for weeknight baking but beautiful enough for company. Reasons to love them:

Amazing Texture – A crisp shortbread crust and crumble with a smooth, jammy blueberry filling.

Real Flavor – Made with fresh lemon zest and juice plus real blueberries for authentic brightness.

Easy to Make – Nine simple ingredients and about 10 minutes of hands-on prep.

Dietary-Friendly – This version is written gluten-free and dairy-free but can easily be made vegan or “regular” by swapping ingredients.

img 12628 2

Ingredients & Substitutions

The recipe below is shown as gluten-free and dairy-free, with notes for straightforward swaps so anyone can make it.

Butter – Use a brick-style plant-based butter for dairy-free baking, or substitute regular butter if not avoiding dairy.

Sugar – Granulated sugar is called for, but organic cane sugar, coconut sugar, or monkfruit can be used.

Flour – I used a 1:1 gluten-free all-purpose blend for these bars; regular all-purpose flour works if you don’t need gluten-free.

Cornstarch – Needed to thicken the blueberry layer; arrowroot powder is a good substitute.

Blueberries – Fresh or frozen both work well.

Lemon – Use fresh lemon zest and juice for the best bright flavor; bottled juice or dried zest will be less vibrant.

img 12628 3

Step-by-Step Instructions

You’ll need a stand or electric mixer (or a bowl and hand mixer), a spatula, and an 8×8-inch baking pan lined with parchment. Preheat the oven to 350ºF and let’s bake.

  1. Prepare an 8×8-inch pan: spray lightly with nonstick baking spray or grease, then line with two pieces of parchment paper set in a crisscross for easy removal.
  2. In a mixing bowl, beat the granulated sugar and lemon zest together for about 1 minute to release the oils.
  3. Add the butter and vanilla; beat on high for 2–3 minutes until light and fluffy.
  4. Add the flour and salt and mix on low speed until a crumbly dough forms.
  5. Press about two-thirds of the shortbread dough evenly into the prepared pan to form the crust; set the remainder aside for the crumble topping.
  6. In a separate bowl, combine the blueberries, sugar, lemon juice, and cornstarch; toss gently to coat so the cornstarch can absorb excess liquid.
  7. Spread the blueberry mixture across the shortbread base, leaving behind any excess runny liquid in the bowl.
  8. Crumble the remaining shortbread dough evenly over the blueberries.
  9. Bake for about 60 minutes, or until the top is lightly golden. Allow the bars to cool completely in the pan so the filling sets.
  10. Mix the powdered sugar with the lemon juice until smooth, then drizzle over the cooled bars. Slice into squares and serve.

Pro tip: For clean slices, chill the pan briefly, use a sharp knife, and wipe the blade between cuts.

img 12628 4

Tips & Tricks

Cool completely: These bars need to cool fully in the pan to hold their shape—speed up cooling in the refrigerator if you’re short on time.

Easy removal: Lining the pan with two pieces of parchment in a crisscross makes lifting the slab out simple. Run a knife around the edges if anything is stuck.

Slicing: Cut only once the bars are completely cooled. For cleaner cuts, chill the pan for 5–10 minutes and use a sharp knife, wiping it between slices.

Frequently Asked Questions

Can I make these with regular (non-gluten-free/non-dairy) ingredients?

Yes. Swap in regular all-purpose flour and dairy butter to make a standard version. The texture and method remain the same.

Can I double the recipe?

Yes. Double the recipe and bake in a 9×13-inch pan. You can also halve it for a smaller loaf-style pan.

Can I freeze the bars?

Yes—these freeze well for up to three months. Wrap slices individually or freeze the whole slab wrapped tightly.

Can I use other berries?

Absolutely. Swap blueberries for raspberries, strawberries, cherries, or a mixed berry blend. You can also experiment with extracts like almond or coconut.

img 12628 5

A Simple Lemon Blueberry Bar Recipe

These lemon blueberry bars balance fresh fruit flavor with a tender, buttery shortbread. They’re adaptable to many diets and consistently popular at picnics, potlucks, and afternoon tea.

If you try this recipe, I’d love to hear how it turned out—leave a rating and share a photo if you can. Enjoy!

Other Fresh Berry Recipes

If you love berry desserts, try other favorites like lemon blueberry layer cake, vegan raspberry cheesecake, or a strawberry almond cake for more seasonal treats.

Lemon blueberry layer cake with purple blueberry frosting on a white cake stand.
Lemon Blueberry Layer Cake
A vegan raspberry no-bake cheesecake topped with raspberry sauce and fresh raspberries.
Raspberry Cheesecake
Pink frosted cake topped with chopped almonds and fresh strawberry slices.
Strawberry Almond Cake

Equipment you may find helpful: an 8-inch square baking pan, a mixer or a sturdy mixing bowl and spatula, and parchment for easy removal. Prep time is about 20 minutes, cook time about 60 minutes, and yield is roughly 16 squares.