Easy Blueberry Custard Bars with Shortbread Crust
These Blueberry Custard Bars have a buttery shortbread crust, a thick layer of creamy vanilla custard, sweet blueberry filling, and a golden crumb topping. Every bite has a little bit of everything, from the tender shortbread to the smooth pastry cream and juicy blueberries. They’re rich without being overly sweet, and the layers look so pretty once they’re sliced.
I especially love making these when I need a dessert ready ahead of time. They do need several hours in the refrigerator, but that actually makes them convenient for parties, holidays, and weekend gatherings. Make them the day before, let everything set overnight, and you’ll have 15 beautiful bars ready to serve.

As an Amazon Associate I earn from qualifying purchases.
Why You’ll Love Blueberry Custard Bars with Shortbread Crust
- Four delicious layers: Buttery shortbread, smooth pastry cream, blueberry filling, and a golden crumb topping.
- Perfect for making ahead: An overnight chill helps the layers firm up for slicing.
- Simple shortbread dough: The same mixture makes both the bottom crust and the crumbly topping.
- Great for sharing: One 9×13-inch pan makes 15 generous bars.
- Beautiful presentation: The contrast between the creamy custard and blueberry filling makes each slice stand out.

Ingredients Needed To Make Blueberry Custard Bars with Shortbread Crust
Make sure you scroll down to the recipe card to see the full list of ingredients needed for this recipe.
- Blueberry pie filling: Adds sweet blueberry flavor and a fruity layer. Use the recipe cut in half, as directed.
- Pastry cream: Creates the smooth custard layer. It should be fully prepared, chilled, and thick enough to spread.
- Unsalted butter: Room-temperature butter helps create the tender shortbread crust and topping.
- Powdered sugar: Sweetens the shortbread and helps give it a delicate texture.
- Heavy cream: Adds moisture to the shortbread mixture.
- All-purpose flour: Gives the crust and crumb topping their structure.
- Baking soda: Included in the shortbread mixture.

Variations, Tips, and Substitutions
- Try another fruit: Cherry, raspberry, or blackberry pie filling can be used for a different flavor. Choose a thick filling.
- Add lemon zest: Stir a little lemon zest into the prepared pastry cream for a citrus note that pairs well with blueberries.
- Use store-bought fillings: Prepared pastry cream and blueberry pie filling can save time. Look for a thick pastry cream that will hold up during baking.
- Gluten-free option: A 1:1 gluten-free baking flour can be considered in place of all-purpose flour, although results may vary depending on the blend.
- Finish with powdered sugar: Lightly dust the chilled bars just before serving.
Oven Temperatures
Oven temperatures can vary significantly from one oven to another. To achieve consistent results, it’s crucial to know the exact temperature inside your oven. The safest and most accurate way to determine this is by using an oven thermometer. This simple tool can help you avoid underbaking or overbaking your treats.
How To Make Blueberry Custard Bars with Shortbread Crust
- Prepare Your Fillings First. Before starting the shortbread crust, prepare the pastry cream and blueberry pie filling. You’ll need the blueberry filling recipe cut in half. Make sure both fillings are thick and ready to layer before you begin assembling the bars.
- Prepare the baking dish. Preheat the oven to 350°F. Line a 9×13-inch baking dish with parchment paper, leaving some overhang on the sides for lifting the chilled bars out later. You can also use nonstick baking spray.
- Cream the butter and sugar. In a large mixing bowl, beat the room-temperature butter and powdered sugar for 3–5 minutes until light and whipped. Scrape down the sides of the bowl as needed.
- Make the shortbread mixture. Mix in the heavy cream, then add the baking soda and flour. Stir until the mixture resembles light, soft crumbs. It should hold together when pressed but still crumble easily enough to scatter over the filling.
- Press in the bottom crust. Set aside one-third of the shortbread mixture for the topping. Press the remaining two-thirds evenly into the prepared baking dish, making sure the corners and edges are covered. Use a fork to poke a few holes across the crust.
- Partially bake the crust. Bake for 10 minutes, then remove the pan from the oven. The crust will continue baking after the fillings and topping are added.
- Add the pastry cream. Make sure your prepared pastry cream is thick and spreadable, not warm or runny. Gently spread it over the shortbread crust with an offset spatula or the back of a spoon. Work carefully to create an even layer without pulling up pieces of the crust.
- Layer on the blueberries. Spoon the blueberry pie filling over the pastry cream in small portions, distributing it across the surface. Gently spread it into an even layer without stirring the two fillings together. Keeping them separate helps create the distinct layers when the bars are sliced.
- Add the crumb topping. Sprinkle the reserved shortbread mixture evenly over the blueberry filling. Leave the topping loose and crumbly rather than pressing it into the fruit.
- Bake until golden. Return the pan to the oven and bake for 25–30 minutes, until the shortbread topping is lightly golden brown. The filling may still be soft while warm, so don’t use its firmness alone to judge whether the bars are ready.
- Cool and refrigerate. Let the bars cool completely to room temperature. Cover and refrigerate for at least 8 hours, preferably overnight. This gives the custard and blueberry layers time to firm up.
- Slice and serve. Lift the chilled bars out of the pan using the parchment paper. Place them on a cutting board and use a large, sharp knife to cut into 15 portions. Wipe the blade clean between cuts to keep the layers neat.
Tips for Perfect Layers and Clean Slices
- Use thick pastry cream: Make sure your pastry cream is chilled and thick enough to spread without running into the blueberry filling.
- Don’t mix the layers: Gently spoon the blueberry filling over the custard so you get distinct layers when slicing.
- Keep the topping crumbly: Sprinkle the remaining shortbread mixture over the blueberries without pressing it down.
- Don’t skip the chill time: Refrigerate for at least 8 hours, preferably overnight, so the bars have time to set.
- Get clean slices: Use a sharp knife, wiping it clean between cuts to keep the custard and blueberry layers looking neat.
- Make them ahead: Prepare the bars a day before serving so dessert is already taken care of.
Storage and Freezing
- Refrigerator: Store the bars in an airtight container in the refrigerator for up to 4 days. Keep them chilled until you’re ready to serve.
- Freezer: Wrap individual chilled bars in plastic wrap and place them in a freezer-safe container for up to 2 months. Thaw overnight in the refrigerator. The custard texture may soften slightly after freezing.
- Make ahead: Bake the bars the day before serving and refrigerate overnight for easier slicing.

Blueberry Custard Shortbread Bars
Equipment
- Parchment paper or nonstick spray
Video
Ingredients
For the Blueberry Filling:
- Blueberry pie filling (recipe cut in half)
Pastry Cream
For the Shortbread Crust & Topping:
- 2 cups unsalted butter (room temperature)
- 1 1/4 cups powdered sugar
- 3 tbsp heavy cream
- 4 cups all-purpose flour (or 1:1 gluten-free flour)
- 1/2 tsp baking soda
Instructions
- Preheat oven to 350°F. Line a 9×13 baking dish with parchment paper or spray with nonstick baking spray.
- In a large mixing bowl, beat the butter and powdered sugar together until light and whipped, about 3–5 minutes.
- Mix in the heavy cream. Add the baking soda and flour, stirring until the mixture becomes a light crumb.
- Press 2/3 of the shortbread mixture into the prepared baking dish. Use a fork to poke a few holes across the crust.
- Bake for 10 minutes. Remove from oven.
- Spread the pastry cream evenly over the baked shortbread layer. Spoon the blueberry pie filling on top of the pastry cream.
- Sprinkle the remaining shortbread mixture over the filling.
- Bake for 25–30 minutes, until the topping is lightly golden brown.
- Cool to room temperature, then refrigerate for at least 8 hours before cutting into bars.
Notes
- Prepare the pastry cream and blueberry pie filling before assembling the bars. Both should be thick enough to hold their layers.
- The shortbread crust does not need to cool after its initial 10-minute bake.
- Spoon the blueberry filling gently over the pastry cream to keep the layers separate.
- Chill for at least 8 hours before slicing. Overnight is best.
- For clean cuts, use a sharp knife dipped in hot water and wiped dry between slices.
Nutrition
Frequently Asked Questions
No. The original recipe calls for adding the pastry cream after the crust’s initial 10-minute bake, and the crust doesn’t need to cool first. However, the pastry cream itself should already be prepared and thick enough to spread.
The most common reasons are insufficient chilling time or fillings that were too loose during assembly. Make sure both fillings have the proper consistency and refrigerate the finished bars for at least 8 hours before cutting.
Yes, a thick blueberry jam can work as an alternative. Keep in mind that jam may be sweeter and more concentrated than pie filling, so the flavor and texture will be slightly different.
Absolutely. In fact, making them the day before is ideal because they need several hours to chill. Prepare and bake them as directed, let them cool, and refrigerate overnight.
Frozen blueberries should not be added directly in place of the prepared pie filling. They release moisture as they bake, which can affect the layers. Instead, use them to prepare a thick blueberry pie filling first.
Look for a lightly golden shortbread topping after the final 25–30 minutes in the oven. The custard and blueberry layers may still be soft when hot, but they will firm up as the bars cool and chill.
Blueberry Custard Shortbread Bars are the kind of dessert that checks all the boxes: buttery, creamy, fruity, and completely irresistible. With their neat layers and rich flavor, they look like something from a bakery, but they’re surprisingly easy to make at home. Prep them the night before, and you’ll have a stunning dessert ready to serve the next day.




Do you have a recipe for the pastry cream?
yes!! https://thesaltycooker.com/dairy-free-pastry-cream/
Looks delicious! Can you share the recipe for the blueberry filling also?
yes!! https://thesaltycooker.com/blueberry-pie-filling/
Being a huge blueberry fan, I’m definitely trying this one. Thanks for sharing.
Let us know when you do!!
Do you cool the bottom layer before adding pastry cream and filling.g?
It does not need to be cool
Absolutely delicious!! I do a lot of baking and this is the best thing I’ve baked in a while…two thumbs up from all the family… Thank you for sharing 😊
So Welcome!!
One of The Best!
We are so happy you loved it!!
What makes the pastry cream?
Here is the recipe: https://thesaltycooker.com/dairy-free-pastry-cream/
How do you make the pastry cream ?
Here is the recipe: https://thesaltycooker.com/dairy-free-pastry-cream/
Can you use a high quality jam ex. Stonewall Kitchen in place of pie filling.?The Stonewall Kitchen tends to be thicker and mostly whole berries.
yes! absolutely- just make sure it is thick
Do you use salted butter?
Hello,
Unsalted butter
Can’t get filling recipe
Hello, here is the pastry cream link: https://thesaltycooker.com/dairy-free-pastry-cream/