Preheat oven to 350 degrees F. Line a 9×13-inch glass baking pan with parchment paper, leaving an overhang on the sides so you can easily lift out the bars. Spray with nonstick cooking spray and set aside.: You'll notice the oven warming with a faint dry heat smell that signals readiness, and the glass pan will distribute heat evenly for a consistent crust bake. Using parchment with an overhang makes lifting the entire slab simple, avoiding any jostling that would crack the filling. A common pitfall is skipping the spray under the parchment, which can cause the paper to shift when pressing the crust, making the edges uneven.
In the bowl of a stand mixer, beat the butter and sugar together until creamy and smooth. Mix in the vanilla extract. Add the flour and salt and mix just until combined.: As you cream butter with sugar , you should see the mixture lighten in color and become silky to the touch, with a faint sweet aroma. Adding vanilla extract at this point amplifies these aromas. When the flour and salt are incorporated, stop mixing to prevent gluten formation that would toughen the crust. A frequent error is overbeating after adding flour , which changes the texture from tender to chewy.
Press the dough evenly into the prepared pan. Bake for 20 to 22 minutes or until the edges are lightly golden brown.: Pressing the dough should feel firm and even under your fingertips, creating a uniform thickness that bakes consistently. As it bakes, the oven will give off a warm, toasty aroma and you will see the edges develop a pale golden hue. If the crust puffs in spots, gently press it back down immediately after removing it from the oven so the filling sits on a flat surface. Avoid pressing it too thin, which can produce a brittle base that doesn't support the filling.
While the crust is baking, make the lemon filling. In a large bowl, combine the sugar and lemon zest. Rub together with your fingers until fragrant. Add the flour and whisk together.: Rubbing lemon zest with sugar releases essential oils, producing an instant citrus perfume that signals the filling will be flavorful. Whisking in the small amount of flour helps distribute it evenly, ensuring the filling sets uniformly. A common oversight is skipping the rubbing step, which diminishes the lemon aroma in the final bars.
Add the eggs and lemon juice. Whisk until combined. Pour the lemon filling over the warm crust.: When you add the eggs and lemon juice , the mixture will brighten visually and emit a sharp, citrusy scent. Whisking until homogenous ensures there are no streaks of yolk or pockets of flour. Pouring the filling over a warm but not hot crust helps it start to set evenly from the bottom. If the crust is too hot, the filling can bubble and create an uneven surface, so allow the crust to cool for a minute if it seems excessively warm.
Bake for 20 to 25 minutes or until the center is set. Remove the bars from the oven and cool completely at room temperature. When the bars are cool, transfer the pan to the refrigerator and chill until cold and firm, at least 2 hours.: During this bake, the filling will go from glossy and jiggly to matte and gently firm, and the oven will give a subtle caramelized note at the edges. Cooling at room temperature prevents thermal shock that can crack the top, and chilling solidifies the custard so you can cut clean squares. A common mistake is skimping on chilling time, which leads to sloppy slices and a runny texture.
When ready to serve, remove the pan from the fridge and dust with confectioner’s sugar. Cut into squares and serve.: Dusting with confectioner’s sugar adds a soft sweetness and a pretty visual finish that contrasts with the lemon color. Use a sharp knife wiped between cuts for neat edges, and you will hear a slight, satisfying clean slice rather than a sticky tear. Avoid cutting the bars while too warm, which causes the filling to smear and the squares to lose shape.