lemon and raspberry bars bake into a tangy-sweet slab with a firm crust and berry ripples that slice clean once chilled.
These bars sit right between a lemon square and a jam bar. You get a buttery base, a citrusy custard top, and pops of raspberry that taste fresh even after a night in the fridge. One pan does the job. No mixer needed.
Below you’ll get exact mixing order, bake cues, and storage moves so your bars set up neatly. If you’ve pulled a pan too early and ended up with a loose center, or fought a crust that crumbled, this will fix it.
Quick Ingredient Map For Lemon Raspberry Bars
Scan this first. It shows what each item does, plus swaps that keep the set steady.
| Ingredient | Job In The Pan | Notes And Swaps |
|---|---|---|
| All-purpose flour | Builds the crust and thickens the filling | Weigh if you can; spoon-and-level also works. |
| Powdered sugar | Makes a tender crust that bites clean | Granulated sugar makes a crunchier base. |
| Butter | Flavor and a tight, sliceable crumb | Use cool butter; soft butter can turn the crust greasy. |
| Salt | Keeps sweetness in check | Fine salt blends fast; flaky salt can sit on top. |
| Eggs | Sets the custard into clean squares | Room-temp eggs blend smoother. |
| Fresh lemon juice | Gives tang and brightens the filling | Bottled works in a pinch, but fresh tastes cleaner. |
| Lemon zest | Adds citrus oil for bigger flavor | Zest first, then juice the lemons. |
| Raspberry jam | Berry ribbons without extra liquid | Seedless jam gives smoother slices. |
| Fresh or frozen raspberries | Pops of fruit and color | Frozen is fine; use straight from the freezer. |
| Cornstarch | Extra set for sharper edges | Optional, but handy if you like tidy cuts. |
Ingredients And Tools You’ll Use
Pan, Prep, And Oven
Use a metal 9×13-inch pan for crisp edges. Line it with parchment and leave overhang on the long sides so you can lift the slab out. Heat the oven to 350°F (177°C) with a rack in the middle.
Crust Ingredients
- 2 cups (240 g) all-purpose flour
- 1/2 cup (60 g) powdered sugar
- 1/2 teaspoon fine salt
- 1 cup (227 g) unsalted butter, cool and cubed
Filling Ingredients
- 4 large eggs
- 1 3/4 cups (350 g) granulated sugar
- 2/3 cup (160 ml) fresh lemon juice (about 3–4 lemons)
- 2 tablespoons lemon zest
- 1/4 cup (30 g) all-purpose flour
- 1 tablespoon cornstarch (optional)
- 1/2 teaspoon fine salt
- 1/3 cup (110 g) raspberry jam
- 1 cup (125 g) raspberries, fresh or frozen
Pan Size And Bake Time Adjustments
If you want a smaller batch, you can halve the recipe and bake it in an 8×8-inch metal pan. Keep the oven at 350°F (177°C), bake the crust 16–20 minutes, then bake the filled pan 20–26 minutes. The center cue stays the same: a unified jiggle, not a slosh.
Want thicker bars? Use a 9×9-inch pan with a half batch. Thicker custard takes longer to cool and chill, so plan extra fridge time before cutting. For thinner bars, stick with the 9×13 pan and spread the crust evenly all the way into the corners.
How To Keep The Filling Smooth
Grainy filling usually comes from sugar that didn’t dissolve or flour that clumped. Whisk the eggs first, then add sugar and whisk until the mix looks uniform. Sift the flour and cornstarch together if yours tends to clump. If foam builds on top, rest the bowl a couple minutes so bubbles rise, then whisk once and pour.
If you see pale streaks after baking, the filling wasn’t fully blended. Next time, scrape the bowl and whisk again right before you pour. That last stir takes seconds and saves the texture.
Lemon Raspberry Bar Recipe Tips For Clean Slices
This is a two-stage bake: crust first, custard second. That head start on the base is what blocks sogginess and keeps a clear line between layers.
Step 1: Bake The Shortbread Crust
- Whisk flour, powdered sugar, and salt in a bowl.
- Add cubed butter and rub it in with fingertips or cut it in with a pastry cutter until the mix looks like damp sand with pea-size bits.
- Press into the lined pan in an even layer. Pack it tight with the bottom of a measuring cup.
- Bake 18–22 minutes, until the top looks dry and the edges turn pale gold.
Step 2: Mix The Lemon Filling
Mix the filling while the crust bakes so it’s ready right away. Warm crust helps the custard cling, which keeps the layers from sliding apart.
- Whisk eggs until smooth.
- Whisk in sugar, then lemon juice and zest.
- Whisk in flour, cornstarch if using, and salt until no dry streaks remain.
- Rest the bowl 2 minutes, then whisk once more to knock down foam.
Step 3: Swirl Raspberry Without Watering Down The Filling
Jam gives berry flavor without extra juice. Warm the jam for 10 seconds so it loosens, then stir until glossy. Drop small spoonfuls over the hot crust, pour the lemon filling on top, then scatter raspberries across the surface.
Drag a butter knife through the jam in loose S-shapes. Keep the swirls wide; tight swirls can sink and leave gummy pockets.
Step 4: Bake And Chill
Bake 22–28 minutes. The edges should look set and the center should jiggle like soft gelatin, not like liquid. Cool on a rack for 1 hour, then chill at least 3 hours before cutting.
After the bars chill, keep them cold for clean cuts. The USDA says moist dessert bars keep up to seven days in the fridge; see USDA storage guidance for moist bars. For egg handling, see FDA egg safety basics.
Bake Cues That Beat Guesswork
Crust Cue
A ready crust looks matte and dry, with light golden edges. If it’s still pale and glossy, give it a few more minutes so it can stay crisp under the custard.
Filling Cue
After baking, the shine dulls a bit and the edges pull slightly from the pan. If the top starts to brown, lay a loose sheet of foil over the pan for the last minutes.
Flavor Tweaks That Keep The Set Firm
Stick to swaps that don’t add extra liquid. Small changes can shift the flavor without changing the slice.
Stronger Citrus
- Add 1/2 teaspoon vanilla to soften the sharp lemon edge.
- Rub zest into the sugar with your fingers before whisking to spread citrus oil.
- Swap 2 tablespoons of lemon juice for lime juice for a different bite.
Different Berry Swirl
- Use strawberry jam for a sweeter swirl.
- Use blackberry jam for darker fruit flavor.
- Skip whole berries and use extra jam for the neatest cuts.
Lemon And Raspberry Bars Storage And Serving
These bars have eggs and a moist filling, so cold storage keeps texture steady. Chill the pan until fully cold, then cut and store covered.
Refrigerator Storage
- Chill the pan fully, then lift out and cut.
- Store in an airtight container, single layer if you can.
- Stack with parchment between layers if space is tight.
Freezer Storage
- Freeze cut bars on a sheet pan until firm, then wrap each piece.
- Store wrapped pieces in a freezer bag with air pressed out.
- Thaw in the fridge overnight for the best bite.
Common Problems And Fast Fixes
Most issues come from crust bake time, oven heat, or cutting too soon. Use this table to spot the cause and fix it on the next pan.
| What You See | Why It Happens | Fix Next Time |
|---|---|---|
| Soggy crust | Crust underbaked or not packed tight | Bake crust until matte; press firmly with a flat tool. |
| Crumbly base | Too much flour or not enough butter | Weigh flour; rub butter in until sandy with small bits. |
| Loose center after chilling | Filling underbaked or cut too soon | Bake until center jiggles as one sheet; chill 3+ hours. |
| Rubbery filling | Overbaked custard | Pull when edges set and center still wobbles; avoid browning. |
| Foamy top with bubbles | Egg mix whisked too hard | Whisk smooth, rest 2 minutes, whisk once more. |
| Jam sinks in blobs | Swirls too tight or jam too thick | Warm jam, use wide swirls, keep spoonfuls small. |
| Filling turns pink | Berries stirred into the custard | Scatter berries on top and leave them mostly untouched. |
| Sticky cuts | Warm bars or knife not wiped | Chill well; use a long knife and wipe after each slice. |
Serving Moves That Keep Slices Neat
Cutting Method
Lift the slab out using the parchment handles. Run a long knife under hot water, wipe dry, then cut. Wipe the blade after each slice. If the jam drags, chill 15 more minutes and try again.
Portion Guide
A 9×13 pan cuts into 24 small squares or 16 larger bars. Smaller squares work well for potlucks. Larger bars suit a plated dessert.
Simple Toppings
Dust powdered sugar right before serving so it stays white. Freeze-dried raspberry powder also works, plus a little lemon zest on top.
Final Checklist Before You Chill
- Crust baked until matte with pale gold edges
- Filling mixed smooth with no dry streaks
- Jam warmed and swirled in wide strokes
- Center jiggles as one sheet, not liquid
- Cool 1 hour, chill 3 hours, then cut
Once you learn the bake cue and the chill, lemon and raspberry bars turn into a repeatable, low-drama dessert that travels well and disappears fast. Cut small squares, then stash extras in freezer for later snacks.

