These blueberry lemon bars combine a buttery shortbread crust with a smooth, sweet-tart fruit filling. Fresh blueberries give the lemon layer a beautiful purple colour and a gentle berry flavour.
The bars can be baked ahead and refrigerated overnight, making them convenient for Easter, Mother’s Day, summer parties, picnics and family gatherings.
Serve them cold with powdered sugar, fresh blueberries and thin lemon slices.
Why You’ll Love These Blueberry Lemon Bars
- Made with fresh fruit.
- Bright blueberry and lemon flavour.
- Buttery shortbread crust.
- Smooth, creamy filling.
- Beautiful natural colour.
- Easy to prepare ahead.
- Suitable for spring and summer.
- Freezer-friendly.
- Convenient for parties.
- Easy to cut into individual portions.
Ingredients You’ll Need
For the Shortbread Crust
- 1 cup unsalted butter, melted and slightly cooled.
- ½ cup granulated sugar.
- 2 teaspoons pure vanilla extract.
- ½ teaspoon salt.
- 2 cups all-purpose flour.
For the Blueberry Lemon Filling
- 1¼ cups fresh or frozen blueberries.
- ⅔ cup freshly squeezed lemon juice.
- 1 tablespoon finely grated lemon zest.
- 1¾ cups granulated sugar.
- 6 large eggs, at room temperature.
- ⅔ cup all-purpose flour.
- Pinch of salt.
- Purple gel food colouring, optional.
For Serving
- Powdered sugar.
- Fresh blueberries.
- Thin lemon slices.
- Fresh mint, optional.

Ingredient Notes
Blueberries: Fresh or frozen blueberries can be used. Frozen berries may produce a deeper colour and should be thawed and drained before measuring.
Lemon juice: Use freshly squeezed juice for the cleanest citrus flavour.
Lemon zest: Adds concentrated lemon aroma without introducing additional liquid.
Butter: Melted butter creates a dense, tender shortbread crust.
Eggs: Give the fruit layer its custard-like texture and structure.
Flour: Flour thickens the filling and provides structure to the crust.
Sugar: Balances the acidity of the lemon and helps produce a smooth filling.
Food colouring: Optional. The natural shade varies from pink-purple to deep violet depending on the berries and eggs.
Fresh Versus Frozen Blueberries
Fresh blueberries provide a clean flavour and are ideal when they are in season.
Frozen blueberries work throughout the year and may create a more intense purple colour.
When using frozen berries:
- Thaw them completely.
- Drain away excess liquid.
- Measure them after draining.
- Blend them until smooth.
- Avoid adding thawing liquid to the filling.
Use fresh blueberries for decoration.
What Pan Should You Use?
Use a light-coloured metal 9 × 13-inch baking pan.
Metal conducts heat efficiently and helps the shortbread base bake evenly.
Line the pan with parchment paper, leaving an overhang on two sides. This makes the chilled slab easier to remove.
Dark pans can brown the crust more quickly. Glass and ceramic dishes may require adjusted baking times.
How to Make Blueberry Lemon Bars
Step 1: Prepare the Oven and Pan
Preheat the oven to 325°F.
Lightly grease a 9 × 13-inch metal baking pan.
Line it with parchment paper, leaving an overhang on two sides.
Grease the parchment lightly.
Step 2: Combine the Crust Ingredients
Place the melted, slightly cooled butter in a large mixing bowl.
Add the granulated sugar, vanilla and salt.
Whisk until evenly combined.
Step 3: Add the Flour
Add the flour to the butter mixture.
Fold with a spatula until a soft, thick dough forms.
Stop mixing when no dry flour remains.
Step 4: Press the Crust Into the Pan
Transfer the shortbread dough to the prepared pan.
Press it into a firm, even layer that reaches every corner.
Smooth the surface with the bottom of a measuring cup.

Step 5: Bake the Shortbread Crust
Bake at 325°F for approximately 18–22 minutes.
The surface should look dry and set, with pale golden colouring around the edges.
Prepare the filling while the crust bakes.
Step 6: Purée the Blueberries
Place the blueberries and lemon juice in a blender.
Blend until completely smooth.
Pass the mixture through a fine sieve if you prefer a filling without pieces of blueberry skin.
Step 7: Combine the Fruit and Sugar
Pour the blueberry-lemon purée into a large bowl.
Add the lemon zest and granulated sugar.
Whisk gently until combined.
Step 8: Add the Eggs
Add the eggs one at a time.
Whisk gently after each addition.
Avoid incorporating excessive air because this can create foam and bubbles across the baked surface.
Step 9: Add the Flour and Salt
Sift the flour over the filling.
Add the salt and optional gel colouring.
Whisk gently until smooth and no flour lumps remain.

Step 10: Fill the Warm Crust
Remove the baked shortbread crust from the oven.
Pour the blueberry lemon filling slowly over the warm base.
Return the pan to the oven immediately.
Step 11: Bake Until Set
Bake for approximately 26–34 minutes.
The bars are ready when:
- The edges look firm.
- The surface no longer appears wet.
- The centre moves only slightly when the pan is shaken.
- A knife inserted near the centre does not reveal liquid filling.
Avoid baking until the centre becomes completely firm.
Step 12: Cool Completely
Place the pan on a wire rack.
Allow the bars to cool completely at room temperature.
Cover and refrigerate them for at least 2 hours, preferably overnight.
Step 13: Slice the Bars
Use the parchment overhang to lift the cold slab from the pan.
Place it on a cutting board.
Cut it into 24 small squares or 16 larger bars.
Clean the knife after every cut.
Step 14: Decorate and Serve
Dust the bars lightly with powdered sugar immediately before serving.
Decorate the serving plate with fresh blueberries, lemon slices or mint.
Serve chilled.
Tips for Perfect Blueberry Lemon Bars
Use Fresh Lemon Juice
Fresh juice gives the filling a brighter, cleaner flavour.
Measure the Flour Accurately
Too much flour makes the crust dry and the filling dense.
Press the Crust Evenly
Thin corners bake faster and can become hard.
Strain the Purée
Straining is optional, but it creates a smoother filling and removes pieces of blueberry skin.
Avoid Overwhisking
Excess air produces bubbles and foam on the surface.
Fill the Warm Crust
The warm base helps the two layers adhere.
Avoid Overbaking
The centre continues setting as the tray cools.
Chill Before Cutting
Cold bars retain clean edges and distinct layers.
Why Did My Filling Turn Grey?
Blueberry pigments can change colour when exposed to different acidity levels and baking conditions.
Fresh lemon juice usually helps preserve a purple or pink-purple tone.
Other factors include:
- The variety of blueberries.
- The colour of the egg yolks.
- The amount of lemon juice.
- The type of metal pan.
- Excessive baking.
- Storage time.
A tiny quantity of purple gel colouring can create a more consistent appearance without changing the flavour.
Why Did My Filling Develop Bubbles?
Bubbles usually develop when too much air is whisked into the eggs.
Mix gently and allow the filling to rest briefly before pouring it over the crust.
Remove visible foam with a spoon or strain the complete mixture through a fine sieve.
Small bubbles affect only the appearance.
Why Is My Blueberry Lemon Filling Runny?
Possible causes include:
- Insufficient baking.
- Too much blueberry purée or lemon juice.
- Incorrect flour measurement.
- Cutting before chilling.
- An inaccurate oven temperature.
- Using a smaller pan.
- Adding liquid released by frozen fruit.
Bake until the centre has only a slight movement and refrigerate the bars completely before slicing.
Why Did the Crust Become Soggy?
A soft crust may result from:
- Underbaking the base.
- Excess liquid in the fruit purée.
- Pouring the filling over a cold crust.
- Incorrect measurements.
- Cutting while warm.
- Storing the bars for too long.
Bake the crust until its surface looks dry before adding the filling.
Easy Blueberry Lemon Bar Variations
Blueberry Lime Bars
Replace the lemon juice and zest with fresh lime.
Mixed-Berry Lemon Bars
Combine blueberries with strawberries or raspberries.
Raspberry Blueberry Bars
Use equal quantities of raspberries and blueberries, then strain the purée to remove raspberry seeds.
Blueberry Cheesecake Bars
Add a separately tested cream-cheese layer over the shortbread base.
Blueberry Crumble Bars
Use a tested jam-and-crumble formula rather than the custard-style filling.
Gluten-Free Blueberry Lemon Bars
Use a reliable measure-for-measure gluten-free flour formulated for baking.
Mini Blueberry Lemon Squares
Cut the cold slab into small bite-sized portions for parties.
Fourth of July Fruit Bars
Decorate the bars with fresh strawberries, blueberries and whipped cream.
Can You Make Blueberry Lemon Bars Ahead?
Yes.
Bake and chill the bars up to two days before serving.
Keep the uncut slab covered in the refrigerator.
Slice and add powdered sugar shortly before presentation.
How to Store Blueberry Lemon Bars
Place the bars in an airtight container.
Separate stacked layers with parchment paper.
Refrigerate them for up to five days.
Because the filling contains eggs and fruit, do not leave the bars at room temperature for extended periods.
Can You Freeze Blueberry Lemon Bars?
Yes.
Freeze the bars without powdered sugar or fresh decoration.
Arrange them inside a freezer-safe container with parchment paper between the layers.
Freeze for up to three months.
Thaw overnight in the refrigerator and dust with fresh powdered sugar before serving.
How to Get Clean Cuts
Refrigerate the bars until completely firm.
Use a large, sharp knife.
Dip the blade in hot water and dry it thoroughly.
Make one firm downward cut.
Clean and warm the knife before every slice.
Frequently Asked Questions
Can I use frozen blueberries?
Yes. Thaw and drain them before measuring and blending.
Do I have to strain the blueberry purée?
No. Straining is optional, but it produces a smoother filling.
Can I use bottled lemon juice?
Freshly squeezed juice is recommended for a brighter flavour.
Why are my bars pale rather than purple?
Natural colour varies according to the fruit and eggs. Add a small amount of purple gel colouring if desired.
Can I reduce the sugar?
Reducing sugar changes the flavour, moisture and structure. Test any adjustment before publishing it.
Can I use a smaller pan?
A smaller pan creates thicker layers and requires a different baking time.
Should blueberry lemon bars be refrigerated?
Yes. Refrigeration keeps the fruit-and-egg filling firm.
How many bars does the recipe make?
The recipe produces 24 small squares or 16 larger portions.

Blueberry Lemon Bars Recipe Card
Preparation time: 25 minutes
Crust cooking time: 18–22 minutes
Filling cooking time: 26–34 minutes
Chilling time: At least 2 hours
Total time: Approximately 3 hours 35 minutes
Yield: 16–24 bars
Course: Dessert
Cuisine: American
Method: Baking
Ingredients
Shortbread Crust
- 1 cup unsalted butter, melted and slightly cooled.
- ½ cup granulated sugar.
- 2 teaspoons vanilla extract.
- ½ teaspoon salt.
- 2 cups all-purpose flour.
Blueberry Lemon Filling
- 1¼ cups fresh or frozen blueberries.
- ⅔ cup freshly squeezed lemon juice.
- 1 tablespoon finely grated lemon zest.
- 1¾ cups granulated sugar.
- 6 large eggs.
- ⅔ cup all-purpose flour.
- Pinch of salt.
- Purple gel food colouring, optional.
Serving
- Powdered sugar.
- Fresh blueberries.
- Thin lemon slices.
- Fresh mint, optional.
Instructions
- Preheat the oven to 325°F.
- Grease and line a 9 × 13-inch metal baking pan.
- Whisk the melted butter with the sugar, vanilla and salt.
- Fold in the flour until a soft dough forms.
- Press the dough evenly into the prepared pan.
- Bake for 18–22 minutes.
- Blend the blueberries with the lemon juice.
- Strain the purée, if desired.
- Add the lemon zest and sugar.
- Whisk gently until combined.
- Add the eggs one at a time.
- Sift in the flour and add the salt.
- Mix gently until smooth.
- Add optional gel colouring.
- Pour the filling over the warm shortbread crust.
- Bake for 26–34 minutes.
- Remove when the edges are set and the centre moves slightly.
- Cool completely at room temperature.
- Refrigerate for at least two hours.
- Lift the slab from the pan using the parchment.
- Cut into 16–24 bars.
- Dust with powdered sugar shortly before serving.
Recipe Notes
- Drain thawed frozen blueberries.
- Use freshly squeezed lemon juice.
- Measure the flour accurately.
- Mix the filling gently to reduce bubbles.
- Pour the filling over the warm crust.
- Avoid overbaking.
- Chill completely before cutting.
- Test the full recipe before confirming exact baking time and yield.