Sweet Summer Blueberry Lemon Bars

Published :

November 12, 2026

|

Modified :

November 12, 2026

|

Posted By :

by:

danyrecipes

This post may contain affiliate links

|

No comments

Sweet Summer Blueberry Lemon Bars

Lazy Afternoons and Purple Fingertips

Every summer my kids and I spend a Saturday at the u-pick farm, and we always come home with stained fingers and a bucket that is far too full. Learn more about DanyRecipes and why I love turning a day outside into dessert.

These blueberry lemon bars use a cooked blueberry swirl to give a sweeter, jammier bite than the classic, with a buttery crust and a soft lemon custard underneath.

Why These Bars Lean Sweet

Simmering the berries with sugar turns them into a glossy compote that tastes like fresh blueberry jam, which mellows the lemon’s tang. A slightly sweeter custard and a vanilla scented crust make every square feel like a summer treat.

This lemon bars recipe fits a standard 9×13 pan and makes a generous batch for barbecues and potlucks. It is one of my favorite lemon desserts for warm weather, and it pairs nicely with my chewy thumbprint lemon curd cookies on a dessert table.

Sweet Summer Ingredients

For the crust:

  • 2 cups all purpose flour
  • 1/2 cup powdered sugar, plus extra for dusting
  • 1/4 teaspoon fine salt
  • 1 cup (2 sticks) cold unsalted butter, cubed
  • 1 teaspoon vanilla extract

For the blueberry compote:

  • 2 cups fresh or frozen blueberries
  • 1/3 cup granulated sugar
  • 1 tablespoon cornstarch
  • 1 teaspoon fresh lemon juice

For the sweet lemon filling:

  • 2 cups granulated sugar
  • 4 large eggs, at room temperature
  • 2/3 cup fresh lemon juice (about 4 lemons), strained
  • 1 tablespoon lemon zest, finely grated
  • 1/4 cup all purpose flour
  • Pinch of salt

Easy Steps to Sweet Blueberry Bars

STEP 1

Heat the oven to 350°F and line a 9×13 pan with parchment, leaving an overhang on two sides.

STEP 2

Whisk the flour, powdered sugar, and salt, then cut in the cold butter and vanilla until soft, damp crumbs form, press the dough into the pan, and bake for 18 to 20 minutes until lightly golden.

STEP 3

Simmer the blueberries, sugar, cornstarch, and lemon juice for 6 to 8 minutes until the berries burst and the mixture thickens, then cool for 15 minutes.

STEP 4

Whisk the sugar, eggs, lemon juice, zest, flour, and salt until completely smooth.

STEP 5

Pour the filling over the warm crust, spoon the compote on top in small dollops, swirl lightly with a knife, and bake for 25 to 30 minutes until the center barely wobbles.

STEP 6

Cool on a rack, chill for at least 3 hours, then dust with powdered sugar and slice into squares.

Serving Ideas and Easy Twists

  • Serve chilled with a spoonful of whipped cream and a few fresh berries.
  • Add a scoop of vanilla ice cream for a summer sundae style treat.
  • Pair with my crispy shortbread lemon curd cookies for a buttery crunch beside the jammy bars.
  • Stir a pinch of cinnamon into the crust for a gentle warmth.
  • Cut into small squares and wrap in parchment for picnics.

Pro Tips

  • Cook the compote until thick so it holds its swirl instead of sinking.
  • Cool the compote before spooning it on so it does not cook the eggs unevenly.
  • Swirl with just a few passes so the purple ribbons stay defined.
  • Pull the pan when the center still wobbles, since it firms up as it chills.
  • Chill for a full 3 hours so the swirls set and slice cleanly.
  • Dust with powdered sugar right before serving so it stays bright white.

Sweet Summer Blueberry Lemon Bars

These sweet summer blueberry lemon bars feature a buttery vanilla shortbread crust, a soft and sweet lemon custard, and a glossy homemade blueberry compote swirl. The cooked blueberries create jammy purple ribbons that mellow the lemon’s tang, making every square a delicious summer treat for barbecues, potlucks, and picnics.
Prep Time 25 minutes
Cook Time 48 minutes
Cooling and Chilling Time 2 hours 35 minutes
Total Time 3 hours 48 minutes
Servings: 24 bars
Course: Bars, Dessert
Cuisine: American

Ingredients
  

Vanilla Shortbread Crust
  • 2 cups all-purpose flour
  • 1/2 cup powdered sugar plus extra for dusting
  • 1/4 teaspoon fine salt
  • 1 cup unsalted butter cold, 2 sticks, cubed
  • 1 teaspoon vanilla extract
Blueberry Compote
  • 2 cups fresh or frozen blueberries
  • 1/3 cup granulated sugar
  • 1 tablespoon cornstarch
  • 1 teaspoon fresh lemon juice
Sweet Lemon Custard Filling
  • 2 cups granulated sugar
  • 4 large eggs at room temperature
  • 2/3 cup fresh lemon juice about 4 lemons, strained
  • 1 tablespoon lemon zest finely grated
  • 1/4 cup all-purpose flour
  • 1 pinch salt

Equipment

  • 9×13-inch Baking Pan
  • Parchment paper
  • Mixing bowls
  • Whisk
  • Saucepan
  • Spatula
  • Wire Cooling Rack
  • Sharp Knife

Method
 

  1. Preheat the oven to 350°F (175°C). Line a 9×13-inch baking pan with parchment paper, leaving an overhang on two sides for easy removal.
  2. Whisk together the flour, powdered sugar, and salt in a mixing bowl. Cut in the cold cubed butter and vanilla extract until soft, damp crumbs form. Press the dough firmly into an even layer in the prepared pan. Bake for 18 to 20 minutes until lightly golden.
  3. Combine the blueberries, granulated sugar, cornstarch, and lemon juice in a saucepan. Simmer for 6 to 8 minutes, stirring occasionally, until the berries burst and the mixture thickens into a glossy compote. If using frozen blueberries, cook for approximately 2 extra minutes. Remove from heat and cool for 15 minutes.
  4. In a large mixing bowl, whisk together the granulated sugar, eggs, strained lemon juice, lemon zest, flour, and salt until completely smooth and well combined.
  5. Pour the lemon filling evenly over the warm shortbread crust. Spoon the cooled blueberry compote on top in small dollops. Use a knife or skewer to gently swirl the blueberry mixture through the lemon filling with just a few passes, creating distinct purple ribbons.
  6. Bake at 350°F (175°C) for 25 to 30 minutes, until the edges are set and the center barely wobbles when gently shaken. Remove from the oven and cool completely on a wire rack.
  7. Refrigerate for at least 3 hours until fully set. Lift the bars from the pan using the parchment overhang, dust with powdered sugar, and slice into squares with a clean sharp knife. Wipe the knife between cuts for neat edges.

Notes

Storage: Cover and refrigerate for up to 4 days. Place parchment paper between layers when stacking.
Freezing: Freeze the undusted bars, tightly wrapped, for up to 2 months. Thaw overnight in the refrigerator before serving.
Blueberry compote: Frozen blueberries can be used directly from the freezer. Simmer for approximately 2 extra minutes until thick and glossy.
Prevent sinking: Cook the compote until it coats the back of a spoon and allow it to cool completely before adding it to the lemon filling.
Perfect swirls: Use only a few gentle passes with a knife to keep the purple blueberry ribbons defined instead of blending them completely into the custard.
Clean slices: Chill for at least 3 hours before slicing. The center should barely wobble when removed from the oven because it will continue to firm up as it cools.
Serving ideas: Serve chilled with whipped cream, fresh berries, or vanilla ice cream. Add a pinch of cinnamon to the crust for a gentle warm flavor.
Finishing tip: Dust with powdered sugar just before serving to keep the surface bright and attractive.

FAQs

Can I use frozen blueberries for the compote?
Yes, use them straight from the freezer and simmer an extra 2 minutes. They cook down just like fresh berries.

How should I store the bars?
Cover and refrigerate for up to 4 days, with parchment between layers. Berries add moisture, so they are best within that window.

Can I freeze them?
Yes, freeze the undusted bars wrapped tightly for up to 2 months. Thaw overnight in the fridge before serving.

Why did my compote sink into the filling?
It was likely too thin or too warm. Cook it until it coats the back of a spoon and cool it fully before spooning it on.

Why is my filling runny?
It likely needed a few more minutes in the oven or a longer chill. The center should barely wobble when you nudge the pan.

Sweet Summer Goodbye

A pan of purple swirled bars is a small way to hold onto summer a little longer. I hope these squares bring the same joy to your table. For more citrus treats, try my melt in your mouth lemon curd cookies, the 5 ingredient glazed lemon curd cookies, or the zesty drop lemon curd cookies.