Gluten-Free Raspberry Lemon Bars bring together a buttery shortbread crust, a bright lemon filling, and a swirl of fresh raspberry sauce. They are sweet, tart, and easy to cut into little squares once chilled—just the kind of dessert I like to keep in the refrigerator for an afternoon treat.
The contrast is what makes these bars special: a tender base under a smooth citrus filling, with raspberry in every few bites. They are made with a gluten-free flour blend, but there is no need for a complicated pastry or a long list of specialty ingredients.
For more citrus inspiration, my Lemon Cobbler Magic Recipe is another option, while Blueberry Cheesecake Crumb Cake has a lovely berry-and-crumb combination. Both of those recipes use wheat flour as written. For a flourless chocolate treat, see 3 Ingredient Brownies with Banana and check the ingredient labels for your needs.
Prep: 25 minutes · Bake: 38–45 minutes total · Cool: about 1 hour · Chill: at least 2 hours · Total: about 4 hours · Yield: 16 bars · Calories: approximately 170 each
The Nutrition Breakdown
These are estimates per bar, based on 16 pieces and including the optional powdered sugar for serving:
- Calories: 170
- Protein: 2 g
- Carbohydrates: 25 g
- Sugar: 16 g
- Fat: 7 g
- Saturated fat: 4 g
- Fiber: less than 1 g
- Sodium: 55 mg
Values vary with the flour blend, the amount of raspberry sauce used, and serving size. This recipe contains eggs and dairy. Check the flour blend and other packages for any additional allergens.
The Pre-Bake-and-Chill Rule
For a base that supports the lemon filling, bake the crust until lightly golden before pouring the filling on top. Press it evenly into the corners, and don’t leave gaps where the liquid can run underneath.
The other important step comes after baking: let the pan cool, then refrigerate it for at least two hours. The filling needs time to become firm enough for neat slices. Cutting while it is warm may leave you with very soft squares, even if the bars were fully baked.
Gluten-Free Raspberry Lemon Bars: The Ingredient Lineup
For the shortbread crust
- 120 g gluten-free 1-to-1 baking flour blend with xanthan gum, about 1 cup in some brands
- 1/4 cup (30 g) powdered sugar
- 1/4 teaspoon fine salt
- 1/2 cup (113 g) unsalted butter, softened
For the raspberry swirl
- 1 cup (125 g) fresh or frozen raspberries
- 1 tablespoon granulated sugar
- 1 tablespoon water, plus 1 teaspoon cold water for the cornstarch
- 1 teaspoon gluten-free-labeled cornstarch
For the lemon filling
- 1 cup (200 g) granulated sugar
- 2 tablespoons (16 g) gluten-free-labeled cornstarch
- 4 large eggs
- 1/2 cup (120 ml) fresh lemon juice, strained
- 1 tablespoon finely grated lemon zest, from about 2 lemons
- Optional: 1 tablespoon gluten-free-labeled powdered sugar, for serving
The flour: Choose a gluten-free 1-to-1 blend that includes xanthan gum; different blends absorb moisture differently. Weigh the 120 g if possible, because the weight of a cup varies by brand. Almond or coconut flour is not a direct swap here.
The lemons: Zest them before squeezing, and grate only the yellow outer peel. Fresh juice gives a bright flavor; strain out the seeds before measuring.
The raspberries: Fresh and frozen both work. Cooking and straining the berries makes a smooth sauce for swirling. If using frozen berries, add them straight to the pan and allow a little extra time.
Gluten-free check: For someone with celiac disease or a gluten intolerance, choose appropriately labeled ingredients, including the flour, cornstarch, and powdered sugar. Use clean utensils, pans, and surfaces to avoid gluten cross-contact.
Press, Pour, Swirl, and Bake
1. Make and pre-bake the crust
Heat the oven to 350°F (175°C). Line an 8-by-8-inch metal baking pan with parchment, leaving an overhang on two sides so you can lift the bars out later.
Stir the flour, powdered sugar, and salt in a bowl. Add the softened butter and mix until a soft, crumbly dough forms. Press it firmly and evenly over the bottom of the pan, especially into the corners.
Bake for 18–20 minutes, until the edges are lightly golden and the center looks dry. Keep the oven on. Make the sauce and filling while the crust bakes. Don’t taste the unbaked crust; gluten-free flour is still raw flour.
2. Cook the raspberry sauce
In a small saucepan, combine the raspberries, 1 tablespoon sugar, and 1 tablespoon water. Simmer over medium heat for 4–5 minutes, stirring and mashing until the berries break down. Press through a fine sieve into a bowl and discard the seeds.
Return the strained sauce to the saucepan. Stir the 1 teaspoon cornstarch with 1 teaspoon cold water, then stir it into the sauce. Simmer for 30–60 seconds until slightly thickened but still spoonable. Set aside to cool a little. You will use up to 1/4 cup of sauce; refrigerate any extra for another use.
3. Mix and pour the lemon filling
Whisk the 1 cup sugar and 2 tablespoons cornstarch together in a medium bowl. Add the eggs and whisk until smooth, then stir in the lemon juice and zest. Mix just until combined rather than whipping in lots of air.
Pour the filling over the warm, pre-baked crust. If the mixture has settled while you waited, give it a quick stir first.
4. Add the raspberry swirl
Spoon small dots of the raspberry sauce across the lemon filling, using up to 1/4 cup total. Drag a toothpick or skewer lightly through the surface to create swirls. A few passes are enough; mixing too much will turn the top pink instead of leaving distinct ribbons.
5. Bake until set
Bake for 20–25 minutes. The edges should look set and the center should have only a slight, even jiggle, not a liquid wobble. Check the center with a food thermometer without touching the crust: the FDA recommends 160°F (71°C) for dishes containing eggs. If the center is still wet or below temperature, bake a little longer and check again.
6. Cool, chill, and slice
Cool the pan on a rack for about 1 hour, then cover and refrigerate for at least 2 hours, until completely chilled and firm. Lift the slab out with the parchment and cut into 16 squares, wiping the knife between cuts. Dust with powdered sugar just before serving, if you like.
My Lemon Bar Troubleshooting Notes
The filling is still runny. Make sure it was baked until set and reached a safe temperature, then allow the full chill. A warm filling is softer than a cold one. Measure the lemon juice rather than adding extra by eye.
The crust is crumbly. Gluten-free flour blends vary. Weigh the flour, use a blend with xanthan gum, and press the dough firmly into an even layer. Chilling the finished bars also helps them hold together as you slice.
The raspberry pattern disappeared. The sauce may have been too thin or stirred in too much. Reduce it until spoonable and drag the skewer through the surface only a few times.
Frequently Asked Questions
Can I use frozen raspberries?
Yes. Simmer them straight from frozen with the sugar and water, adding a minute or two if needed. Strain and thicken the sauce as directed before swirling.
Can I make the bars ahead?
Absolutely. Once cooled, store them covered in the refrigerator for 3–4 days. Add powdered sugar just before serving, since it can dissolve on the chilled filling. Keep the bars refrigerated until serving and return leftovers promptly.
Can I freeze raspberry lemon bars?
Yes. After they are fully chilled, cut and wrap the undusted bars individually, then place them in a freezer-safe container for up to 1 month. Thaw in the refrigerator; the filling may release a little moisture. Dust with sugar after thawing.
Why do the bars need to be refrigerated?
The filling contains eggs and is moist, so treat it like a custard. Refrigerate within 2 hours of baking, and do not leave the finished bars out for more than 2 hours total—or 1 hour when the temperature is above 90°F (32°C).
Flavor Variations and Upgrades
Raspberry-lime bars: Replace the lemon juice and zest with equal amounts of fresh lime juice and zest for a different citrus flavor.
Extra lemon finish: Sprinkle a little fresh lemon zest over the chilled, sliced bars just before serving.
Dairy-free crust: Try a stick-style dairy-free butter suitable for baking, labeled gluten-free, in place of the butter. The texture may change, and the filling still contains eggs.
More Recipes to Explore
- Gluten-Free Pretzel Bites — a savory option when you want something alongside dessert.
- No-Bake Sugar-Free Peanut Butter Pie — a chilled peanut butter dessert with an almond-flour crust; check all ingredient labels.
- No-Bake Peanut Butter Granola Cups — a chocolate-and-peanut-butter snack. For gluten-free serving, use certified gluten-free oats and check the other ingredients and preparation area.
Cook With Us Daily · Gluten-Free Raspberry Lemon Bars — 16 bars · 170 kcal each
🍋 Cook With Us Daily · Gluten-Free Dessert
Gluten-Free Raspberry Lemon Bars
Ingredients
01For the Shortbread Crust
For the Raspberry Swirl
For the Lemon Filling
Kitchen Tools
02Directions
03Make and Pre-Bake the Crust
Heat the oven to 350°F (175°C) and line an 8×8-inch metal baking pan with parchment, leaving an overhang on two sides. Stir the gluten-free flour blend — a 1-to-1 blend that includes xanthan gum, weighed if possible, since a cup varies by brand — with the powdered sugar and salt. Mix in the softened butter until a soft, crumbly dough forms, then press it firmly and evenly over the bottom, especially into the corners. Bake the crust before the filling goes on: no gaps where liquid can run underneath. Bake 18–20 minutes, until the edges are lightly golden and the center looks dry. Keep the oven on, and don’t taste the unbaked crust — gluten-free flour is still raw flour.
Cook the Raspberry Sauce
In a small saucepan, combine the raspberries, 1 tablespoon sugar, and 1 tablespoon water. Simmer over medium heat for 4–5 minutes, stirring and mashing until the berries break down (frozen berries go straight in — add a minute or two). Press the sauce through a fine sieve and discard the seeds. Return the strained sauce to the pan, stir the 1 teaspoon cornstarch with 1 teaspoon cold water, and stir the slurry into the sauce. Simmer 30–60 seconds until slightly thickened but still spoonable — too thin and the swirl pattern disappears. Set aside to cool a little. You will use up to ¼ cup of sauce; refrigerate any extra.
Mix and Pour the Lemon Filling
Whisk the 1 cup sugar and 2 tablespoons cornstarch together in a medium bowl. Add the eggs and whisk until smooth, then stir in the lemon juice and zest — zest the lemons before squeezing, grate only the yellow outer peel, and strain the seeds out of the juice before measuring. Mix just until combined rather than whipping in lots of air. Pour the filling over the warm, pre-baked crust (give it a quick stir first if it settled while you waited).
Add the Raspberry Swirl
Spoon small dots of the raspberry sauce across the lemon filling, using up to ¼ cup total. Drag a toothpick or skewer lightly through the surface to create swirls — a few passes are enough; mixing too much turns the top pink instead of leaving distinct ribbons.
Bake until Set
Bake for 20–25 minutes. The edges should look set and the center should have only a slight, even jiggle — not a liquid wobble. Check the center with a food thermometer without touching the crust: the FDA recommends 160°F (71°C) for dishes containing eggs. If the center is still wet or below temperature, bake a little longer and check again.
Cool, Chill, and Slice
Cool the pan on a rack for about 1 hour, then cover and refrigerate for at least 2 hours, until completely chilled and firm. Cutting while warm leaves very soft squares even if the bars were fully baked — the chill is what makes neat slices. Lift the slab out with the parchment and cut into 16 squares, wiping the knife between cuts. Dust with powdered sugar just before serving. The filling contains eggs, so treat the bars like a custard: refrigerate within 2 hours of baking, never leave them out more than 2 hours total (1 hour above 90°F / 32°C), store covered in the fridge 3–4 days, or wrap the undusted bars and freeze up to 1 month (dust after thawing). The recipe contains eggs and dairy — check the flour blend and other packages for additional allergens, and use clean utensils and surfaces to avoid gluten cross-contact.
Nutrition
04| Nutrient | Per bar (1 of 16) |
|---|---|
| Calories | 170 |
| Protein | 2 g |
| Carbohydrates | 25 g |
| Dietary Fiber | less than 1 g |
| Total Sugars | 16 g |
| Fat | 7 g |
| Saturated Fat | 4 g |
| Sodium | 55 mg |






