This foolproof recipe for easy lemon bars is made with a shortbread base and topped with a tart lemon curd. These lemon squares are bright yellow and very lemony!
How to make lemon bars
To make lemon bars, there are 2 components: a base and a lemon filling. Once baked, the bars are cut into squares and dusted with powdered sugar.
Typically the base for lemon bars is an easy shortbread crust, made in the food processor from
For the base, you can easily fall back on the classic shortbread ingredient ratio of 1:2:3 of sugar/butter/flour, by weight. If you can remember some of the common baking ratios, you could make the base without a recipe! Baking ratios make it easy to scale up and down recipes.
You could also opt for a graham cracker crust, made from either store-bought or homemade graham crackers. I have a friend who actually makes the crust for her lemon squares using saltines (salted soda crackers) instead of graham crackers! There's room for creativity here.
Your filling options for lemon bars always contain:
- egg yolks and/or whole eggs
- lemon juice (duh!)
Still there are variations between different recipes because there are actually two ways to make the filling for lemon bars:
- lemon filling containing a starch thickener, either flour or cornstarch. The fluid filling is uncooked and poured over the par-baked crust. The bars have to be baked in the oven for 30 minutes or more to thicken the filling and to get it to set properly.
- lemon curd filling with or without butter that doesn't contain any flour or cornstarch. The filling is pre-cooked on the stove first before pouring over the hot crust. The bars are baked briefly to set the curd, but actually, you don't have to finish them in the oven.
All roads lead to lemon bars, obviously, but there are some drawbacks to each method.
For lemon bars where the filling contains flour or cornstarch:
- the thickeners can mask the bright citrus flavour, mellowing it out or even muting it.
- the thickeners, especially flour, give the filling a whiter, more opaque appearance.
- the liquid filling is poured over the shortbread base when it is very fluid and this can lead to it seeping where the filling leaks under the crust.
- the uncooked filling is whisked, which makes a foam that rises to the top of the bars as they bake, leading to a bubbly texture on top that has a white cast, so the lemon bars appear white, not yellow.
For lemon bars where the filling is made from a lemon curd cooked on the stove and without thickeners:
- the lemon filling tends to be more sour which, for some, can be too sour. Some recipes may compensate by adding more sugar to balance out the tart flavour.
- the filling is cooked on the stove first, and there's a risk that the eggs cook to the point of being hard. The eggs are strained out then, which means there's a risk that the bars won't set properly.
- hard cooked eggs can cause an eggy taste in the curd.
To make lemon bars foolproof, I prefer to cook the lemon curd filling separate from the shortbread base:
- thicken the lemon filling by cooking it on the stove, just like for a lemon curd, cooking it above 170 ºF or 72 ºC.
- pour it over the shortbread crust and finish the bars in the oven
With this method and recipe, the thickened filling is much less likely to seep between the edge of the crust and the side of the pan. It makes it almost impossible for you to end up with upside down lemon bars, which is a common problem for many of us.
Pre-cooking the lemon curd filling on the stove also means that you actually don't have to bake the bars a second time. The second baking step is actually optional but it can help the edges of the bars set more firmly, making it easier to separate them from the parchment paper when cutting.
I used the same filling recipe to make this orange pie recipe, but instead of baking the curd in the pie shell, I added gelatin to help it set firm.
Frequently asked questions and troubleshooting
Refrigeration is essential to achieve the perfect set with lemon bars because the filling is not stabilized by gelatin. Refrigeration keeps the filling cold, especially the butter in the curd, which keeps the bars firm so that you can slice and serve them easily without the filling oozing.
Lemon bars freeze surprisingly well. I have tested this a few times and I noticed no changes in the consistency of the filling or the crust after freezing and thawing.
To freeze lemon bars, chill the bars in the refrigerator overnight, then cut into squares.
Set the squares on a sheet pan lined with parchment, separating them out to allow them to freeze individually and to allow air circulation between them. Once frozen solid, you can place them in an airtight container or a freezer bag, and seal tightly, removing as much air as possible.
I suggest storing them for up to 1 month, after which the texture of the filling may be compromised.
To defrost lemon bars, take them out of the freezer and place them on a parchment-lined sheet pan. Place in the refrigerator, uncovered, overnight to thaw slowly. Serve cold.
You can also defrost one bar at a time, just place the bar on a plate in the fridge overnight to thaw.
The lemon bars may weep when a layer of water forms on the surface. That water could form if you cover the pan of bars too quickly when they are still warm. Steam will be trapped and condense and drip back down onto the surface of the bars. To avoid this, always cool lemon bars COMPLETELY before covering and storing in the fridge. Sometimes I actually cool them to room temperature, and then I put the pan in the fridge to cool for an hour or two before covering them with foil. This works quite well!
Another option is that the curd was overcooked and in that case, sometimes as the curd cools, the proteins will shrink back and water will be pushed out of the curd. I find it can happen if the lemon bars are made with a cooked curd (like here) and then baked for another 10 minutes or so.
The good news is that if water forms on the surface of your bars, you should be able to blot it with a clean paper towel, which will absorb that layer of moisture without ruining the look of the bars. Just be gentle!
If your lemon bars are too soft to cut, it could be that the filling wasn't cooked sufficiently. Make sure to heat the curd to between 77 ºC and 82 ºC (170 ºF–180 ºF) to ensure the curd sets properly and has the right texture, firm enough to cut but still creamy.
Another reason could be that they are too warm. Remember that lemon curd is thick and fairly firm when properly chilled in the refrigerator at 4 ºC, but lemon curd can loosen and become quite fluid if it's sat at room temperature for too long. Make sure to chill the bars for several hours in the refrigerator, or better yet, overnight.
After chilling for several hours (or overnight) so that they are completely cold, if your lemon bars are too soft to cut, you will have to bake them in the oven to try and set the filling. Preheat the oven to 350 ºF while the bars come to room temperature, then place the pan in the oven. Bake until the edges are set but the middle is still jiggly.
If the texture of the lemon curd filling in your lemon bars isn't creamy and smooth, it's probably bits of egg. Did you overcook the curd? The lumps could be bits of hard-cooked egg. Strain the curd before pouring it over the baked shortbread crust.
With other recipes that contain thickeners like cornstarch or flour, you need to whisk all the filling ingredients together very carefully when it's cold in order to properly incorporate the starch or flour. Otherwise, the thickener will be lumpy and the edges will gel, but the lumps will not dissolve or break down. It's very important to whisk the filling well and to make sure there are no lumps before you bake the bars. The recipe below has no starch or flour in the filling, so maybe try this cooked curd filling instead next time!
Shortbread cookie crust
- 156 grams (1¼ cups) all-purpose flour
- 50 grams (¼ cup) granulated sugar
- 1.25 mL (¼ teaspoon) Diamond Crystal fine kosher salt
- 115 grams (½ cup) unsalted butter cut into cubes, cold
Lemon curd filling
- 250 mL (1 cup) fresh lemon juice
- 300 grams (1½ cups) granulated sugar
- 8 large egg yolks
- 2 large eggs
- 115 grams (½ cup) unsalted butter cut into cubes, room temperature
- Preheat the oven to 350 °F. Butter and line an 8x8 with parchment paper, making sure that you leave overhangs on all sides. You can use metal binder clips to secure the parchment overhangs to the edge so that they stay upright and in place. Set aside.
Shortbread cookie crust
- In a food processor, combine the flour, sugar, and salt. Let it run so they are well mixed.
- Drop in the cubes of butter, and then pulse to form a coarse sandy mixture.
- Dump the mixture in the prepared pan and press it well into the corners and edges. You can use a flat-bottomed glass to even out the surface and to help you press down the crust firmly.
- Bake the crust on the middle rack for 20 to 30 minutes. The edges should be golden brown. If you like a blonder shortbread crust, bake it for 20 minutes, for a more caramelized cookie crust, bake it for 30 minutes.
Lemon curd filling
- While the crust is baking, cook the lemon curd filling.
- Prepare a fine-mesh sieve and place it over a 4-cup liquid measuring cup with a pouring spout or a bowl with a pouring spout. Set aside.
- In a medium saucepan, combine the lemon juice with half the sugar. Heat it on medium–high.
- In a large bowl, whisk together the egg yolks, whole eggs, and the rest of the sugar until light in colour.
- When the lemon juice begins to steam and is almost simmering, turn the heat off, and pour it over the whisked eggs and sugar, while whisking. Combine everything together and when the filling is well mixed, transfer it back to the saucepan.
- Turn the stove back on to medium heat and whisking constantly, heat the filling until it's 77 °C (170 °F). The lemon curd should be thick, creamy and coat the back of the spoon.
- Immediately take the curd off the stove and incorporate the cubes of butter while still whisking.
- Once the butter has all been incorporated, pour the curd through the strainer into the measuring cup.
- When the crust has baked sufficiently, take it out of the oven and place the pan on a cooling rack.
- Pour the curd over the hot crust and smooth the surface with an offset spatula if needed. Make sure the curd covers the entire surface, from one edge of the pan to the other.
- Place the pan back in the oven and bake for 10 minutes more. The edges of the curd will appear set but the centre will still be wobbly. Note that this baking step is optional but it can help the edges of the bars set more firmly, making it easier to separate them from the parchment paper when cutting.
- Set the pan on a wire rack to let it cool completely for a few hours. Once cooled to room temperature, chill in the fridge overnight. You may want to leave the pan unwrapped to avoid any condensation, but if any water forms on the surface of the lemon curd, you can easily blot it with a paper towel.
- Once chilled overnight, you can lift the bars out of the pan using the parchment overhangs. Carefully peel off the parchment from the edges of the bars, and place on a cutting board to cut into 16 eual bars. Decorate with powdered sugar before serving.