These delicious homemade Lemon Bars are the perfect combination of a buttery, crumbly shortbread crust and a smooth, sweet, and tangy fruit filling. Each bite offers a refreshing citrus flavor with a soft, creamy center and a lightly crisp base.
Whether you love classic lemon desserts or prefer a tropical pineapple variation, this easy dessert recipe is perfect for family gatherings, holidays, potlucks, afternoon treats, or whenever you crave something sweet and refreshing.
Made with simple pantry ingredients, these homemade fruit bars are easy to prepare and look beautiful when cut into neat little squares. They are also an excellent make-ahead dessert because the filling becomes perfectly firm after chilling.
Recipe Overview
| Category | Details |
| Recipe Name | Lemon Bars / Pineapple Bars |
| Preparation Time | 15 minutes |
| Baking Time | 40–42 minutes |
| Chilling Time | 2 hours |
| Total Time | Approximately 3 hours |
| Servings | 9–12 bars |
| Cuisine | American |
| Course | Dessert |
| Cooking Method | Baking |
| Difficulty | Easy |
Why You’ll Love This Recipe
These homemade fruit bars combine a rich buttery shortbread crust with a deliciously smooth fruit filling, creating the perfect balance of sweetness and tanginess.
They require simple ingredients, minimal preparation, and no complicated baking techniques.
You can easily customize the recipe with fresh lemon juice for a classic citrus dessert or pineapple for a sweeter tropical flavor.
Ingredients
For the Buttery Shortbread Crust
| Ingredient | Quantity |
| Unsalted butter, melted or softened | ½ cup (115 g) |
| Granulated sugar | ¼ cup (50 g) |
| Vanilla extract | 1 teaspoon |
| Salt | 1 pinch |
| All-purpose flour | 1 cup (125 g) |
For the Lemon Filling
| Ingredient | Quantity |
| Granulated sugar | 1 cup (200 g) |
| All-purpose flour | 3 tablespoons |
| Large eggs | 3 |
| Fresh lemon juice | ½ cup (120 ml) |
| Fresh lemon zest | Zest of 1 lemon |
| Powdered sugar | For dusting |
Pineapple Variation
To make pineapple bars instead, use:
- ½ cup (120 ml) pineapple juice, preferably concentrated for a stronger flavor.
- 2–3 tablespoons crushed pineapple, well drained, for extra texture.
- Optional shredded coconut for a tropical finishing touch.
Step-by-Step Instructions
Step 1: Prepare the Oven and Baking Pan
Preheat your oven to 350°F (175°C).
Line an 8 × 8-inch (20 × 20 cm) square baking pan with parchment paper, leaving some extra paper hanging over the sides. This will make removing the bars much easier after baking.
Step 2: Make the Shortbread Crust
In a medium mixing bowl, combine the melted butter, granulated sugar, vanilla extract, and salt.
Add the all-purpose flour and mix until a soft, crumbly dough forms.
Transfer the dough into the prepared baking pan and press it firmly and evenly into the bottom.
Bake for 18–20 minutes, or until the edges become lightly golden.
Remove the pan from the oven and keep the crust warm while preparing the filling.
Step 3: Prepare the Lemon Filling
In a large mixing bowl, whisk together the granulated sugar and flour until well combined.
Add the eggs one at a time, whisking after each addition.
Pour in the fresh lemon juice and add the lemon zest.
Continue whisking until the mixture becomes smooth and evenly combined, without visible lumps.
Step 4: Assemble and Bake
Pour the lemon filling directly over the warm shortbread crust.
Carefully return the pan to the oven and bake for another 20–22 minutes.
The filling should be set around the edges, with the center no longer liquid but still slightly soft.
Avoid overbaking, as this can make the filling dry.
Step 5: Cool and Chill
Remove the pan from the oven and allow the dessert to cool completely at room temperature.
Once cooled, refrigerate for at least 2 hours to allow the filling to firm up properly.
Step 6: Slice and Serve
Lift the chilled dessert out of the pan using the parchment paper.
Place it on a cutting board and slice into 9–12 evenly sized squares using a sharp knife.
Dust generously with powdered sugar before serving.
For the pineapple version, sprinkle shredded coconut over the top for a beautiful tropical finish.
Best Tips for Perfect Lemon Bars
Use freshly squeezed lemon juice whenever possible for a brighter, more natural citrus flavor.
Make sure the shortbread crust is evenly pressed into the pan to prevent uneven baking.
Pour the filling over the crust while it is still warm to help the layers bake together properly.
Allow enough chilling time before slicing. This is essential for achieving clean, beautiful squares.
Best Ingredient Options
Unsalted butter provides the richest flavor for the shortbread crust, while pure vanilla extract adds a lovely aroma.
Fresh lemons are ideal for the filling because both the juice and zest contribute natural citrus flavor.
For pineapple bars, choose good-quality pineapple juice and well-drained crushed pineapple to avoid adding too much moisture.
Recipe Variations
For coconut lemon bars, add a little shredded coconut to the crust and sprinkle more over the finished dessert.
For tropical pineapple bars, replace the lemon juice with pineapple juice and add finely crushed pineapple.
For extra citrus flavor, combine lemon juice with a little orange zest.
For a sweeter dessert, drizzle the cooled bars with a simple powdered sugar glaze.
What to Serve With Lemon Bars
These refreshing dessert squares pair beautifully with freshly brewed coffee, hot tea, or a cold glass of lemonade.
For a more indulgent dessert, serve them with whipped cream, vanilla ice cream, or fresh berries.
Make-Ahead Instructions
Lemon Bars are an excellent make-ahead dessert because they need time to chill before serving.
Prepare and bake them one day in advance, allow them to cool, and refrigerate them in an airtight container.
Dust with powdered sugar just before serving for the freshest appearance.
Storage Instructions
Store leftover Lemon Bars in an airtight container in the refrigerator for up to 4–5 days.
Place parchment paper between layers if stacking the squares to prevent them from sticking together.
Reheating Instructions
These dessert bars are best enjoyed chilled or at room temperature.
There is no need to reheat them. Simply remove them from the refrigerator about 10 minutes before serving if you prefer a softer texture.
Freezing Instructions
Allow the bars to cool completely and chill until firm.
Cut into individual squares and arrange them in a freezer-safe container, separating the layers with parchment paper.
Freeze for up to 2–3 months for the best quality.
To enjoy, thaw overnight in the refrigerator and dust with powdered sugar before serving.
Common Mistakes to Avoid
Using too much liquid in the filling can prevent the bars from setting properly, especially when making the pineapple variation.
Skipping the initial crust baking step may result in a soft or soggy bottom.
Cutting the bars before they are completely chilled can cause the filling to stick to the knife and lose its shape.
Overbaking can make the filling rubbery, so remove the pan once the center is set.
Nutrition Information
Estimated nutrition per serving, based on 12 lemon bars. Actual values vary depending on ingredients and portion size.
| Nutrient | Approximate Amount |
| Calories | 210 kcal |
| Carbohydrates | 29 g |
| Protein | 3 g |
| Total Fat | 9 g |
| Saturated Fat | 5 g |
| Sugar | 20 g |
| Fiber | 0.5 g |
| Sodium | 55 mg |
Frequently Asked Questions
1. Why are my Lemon Bars not setting properly?
They may need additional baking time or more chilling. Make sure the center is no longer liquid before removing them from the oven, then refrigerate for at least 2 hours.
2. Can I use bottled lemon juice?
Yes, bottled lemon juice can work, but freshly squeezed lemon juice generally provides a brighter and fresher flavor.
3. Can I make these bars without powdered sugar?
Absolutely! Powdered sugar is mainly used for decoration. You can leave it out or use a little shredded coconut instead.
4. Can I use pineapple instead of lemon?
Yes! Replace the lemon juice with pineapple juice and add a small amount of well-drained crushed pineapple for a delicious tropical dessert.
5. How do I get perfectly clean slices?
Make sure the bars are completely chilled. Use a sharp knife, wipe it clean between cuts, and slice gently.
6. Can I make Lemon Bars ahead of time?
Yes. They are perfect for preparing a day ahead. Keep them refrigerated and add the powdered sugar shortly before serving.
7. Can I freeze homemade Lemon Bars?
Yes. Freeze the chilled squares in an airtight container for up to 2–3 months.
Final Thoughts
These homemade Lemon Bars are a simple yet delicious dessert that combines a buttery shortbread crust with a smooth, sweet, and tangy filling.
Whether you choose the classic lemon version or experiment with tropical pineapple bars, this easy baking recipe is guaranteed to bring a little sweetness to your table.
Perfect for family gatherings, holidays, celebrations, or everyday desserts, these fruity squares are easy to prepare, easy to store, and absolutely delicious.
Give this recipe a try, and enjoy every buttery, fruity, and refreshing bite! 🍋✨