Key lime pie bars combine the bright, tangy flavors of the classic dessert with the convenient, shareable format of a bar cookie. These buttery shortbread-based treats feature a creamy lime filling that’s perfectly balanced between sweet and tart. Ideal for potlucks, picnics, or simply satisfying a tropical craving, these bars are both elegant and easy to make at home.
Reasons to Try Key Lime Pie Bars
Authentic Key Lime Flavor: Made with real key lime juice and zest, these bars deliver the iconic tangy-sweet taste that makes key lime pie a beloved classic. The concentrated flavor is bright without being overpowering.
Perfect Texture Contrast: The buttery, crumbly shortbread crust provides the ideal foundation for the silky-smooth, slightly tart lime custard filling. When chilled, the bars are firm enough to hold their shape but creamy on the bite.
Easy to Serve: Unlike traditional pie, these bars are cut into individual portions, making them perfect for parties, potlucks, or casual entertaining. No slicing skills required.
Make-Ahead Friendly: These bars actually improve with time as the flavors meld. Prepare them a day ahead for stress-free entertaining.
Tropical Elegance: With their pale green hue, powdered sugar dusting, and simple sophistication, these bars look far more complicated than they actually are to prepare.
SaveIngredients Notes
For the Shortbread Crust
- All-purpose flour
- Granulated sugar
- Salt
- Unsalted butter, cold and cubed
For the Key Lime Filling
- Large egg yolks
- Sweetened condensed milk
- Fresh key lime juice
- Fresh regular lime juice
- Key lime zest
- Vanilla extract
For Serving
- Powdered sugar
- Whipped cream
How to Make Key Lime Pie Bars
For the Shortbread Crust
- Preheat oven to 350°F and line a 9×13-inch baking pan with parchment paper.
- Mix flour, sugar, and salt in a bowl.
- Cut cold butter into the flour mixture until it resembles coarse breadcrumbs.
- Press the mixture firmly into the prepared pan in an even layer.
- Bake for 12–15 minutes until light golden.
For the Key Lime Filling
- While crust bakes, whisk together egg yolks, condensed milk, key lime juice, regular lime juice, lime zest, and vanilla.
- Pour the filling over the warm crust.
- Bake for 15–18 minutes until the filling is set but still slightly jiggly in the center.
- Cool completely on a wire rack, then refrigerate for at least 4 hours.
- Cut into squares and dust with powdered sugar before serving.
What You Must Know About Key Lime Pie Bars
Use Fresh Key Lime Juice When Possible: Bottled key lime juice works in a pinch, but fresh juice offers superior flavor and brightness. If you cannot find fresh key limes at your grocery store, regular Persian limes combined with a touch of bottled key lime juice will work well. You need approximately 6–8 fresh key limes to yield 1/2 cup of juice.
Egg Safety: This recipe uses raw or lightly cooked egg yolks. Use only the freshest, highest-quality eggs from a trusted source. If you’re concerned about food safety, you can use pasteurized eggs (available at most grocery stores) or pasteurized egg yolks, which will not affect the final result.
Do Not Overbake the Filling: The most common mistake is baking the filling until it’s completely firm. A slight jiggle in the center is intentional—the bars will firm up significantly as they cool and chill. Overbaking results in a dry, curdled texture.
Chill Thoroughly Before Cutting: These bars benefit from at least 4 hours of chilling, preferably overnight. This allows the filling to set completely, making them far easier to cut cleanly without crumbling. Cold bars also have better texture and flavor definition.
Lime Zest Before Juicing: If using fresh limes, zest them before cutting and juicing. Zesting whole limes is easier than trying to zest cut halves.
Helpful Tips
Make a Double Batch: This recipe doubles easily and actually freezes well for up to 3 months. Layer cooled, cut bars between parchment paper in an airtight container.
Customize the Crust: For extra flavor and crunch, add 1/4 cup finely chopped pistachios or macadamia nuts to the shortbread mixture before pressing into the pan.
Presentation Hack: For clean cuts, dip your knife in hot water, wipe it dry, and make one slow, deliberate cut—don’t saw back and forth.
Serve Temperature: These bars can be served chilled for a more custard-like texture or at room temperature for a slightly softer, more pie-like consistency. Experiment to find your preference.
Variations and Substitutions
Coconut Shortbread Crust: Replace 1/4 cup of the flour with unsweetened shredded coconut for a tropical twist. The coconut adds subtle flavor and texture without overwhelming the key lime filling.
Graham Cracker Crust: Substitute the shortbread with a classic graham cracker crust: combine 1 1/2 cups crushed graham crackers, 1/3 cup melted butter, and 3 tablespoons sugar. Press into the pan and bake for 8 minutes before adding the filling.
Regular Lime Version: If key limes are unavailable, use 1/2 cup fresh Persian lime juice plus 1 tablespoon bottled key lime juice, or simply use 1/2 cup Persian lime juice with an additional 1/2 teaspoon vanilla extract to enhance the flavor profile.
Meringue-Topped Bars: After the filling is partially set (at 10 minutes into baking), top with a simple meringue made from the reserved egg whites (2 egg whites, 3 tablespoons sugar, 1/2 teaspoon vanilla). Return to oven for 8–10 minutes until meringue is lightly golden.
Mini Bars for Appetizers: Cut into 1-inch squares for bite-sized portions perfect for parties. This variation makes 54–72 tiny bars depending on pan size.
Dairy-Free Filling: Substitute the sweetened condensed milk with a dairy-free coconut condensed milk (found in most grocery stores). The texture and flavor remain excellent.
Serving Suggestions for Key Lime Pie Bars
Classic Presentation: Dust each bar generously with powdered sugar and top with a dollop of freshly whipped cream and a thin lime wheel. Serve chilled on small dessert plates for an elegant presentation.
Tropical Plating: Arrange bars on a white ceramic plate, garnish with fresh mint leaves, toasted coconut flakes, and a light drizzle of white chocolate. Serve with a small scoop of vanilla or coconut ice cream on the side.
Casual Entertaining: Arrange bars on a wooden board or parchment paper, dust with powdered sugar, and serve at room temperature with whipped cream in a small bowl for guests to dollop as desired. Add a lime wedge to the board for visual appeal and flavor reference.
Afternoon Tea: Serve smaller-cut bars alongside other petit fours with hot tea or coffee. The subtle tartness pairs beautifully with chamomile, oolong, or black tea.
Poolside or Picnic Treat: Pack individually wrapped bars in an insulated cooler with ice packs. The chilled bars are refreshing and portable, perfect for outdoor gatherings.
Dessert Board: Include these bars as part of a mixed dessert spread alongside brownies, cookies, and fresh berries. The bright lime flavor provides excellent balance to richer chocolate-based desserts.
Garnish Options: Consider toasted coconut, candied lime peel, a sprinkle of sea salt, fresh mint, or a drizzle of white chocolate ganache.
SaveStorage and Reheating
Refrigerator Storage: Keep baked bars covered with plastic wrap or in an airtight container in the refrigerator for up to 5 days. The bars actually improve slightly after 1–2 days as flavors meld. Maintain a temperature of 40°F or below.
Freezer Storage: These bars freeze beautifully for up to 3 months. First, cut the bars into individual pieces. Layer them between sheets of parchment paper in an airtight freezer container. Thaw in the refrigerator for 2–3 hours before serving. Do not thaw at room temperature, as condensation can make them soggy.
Room Temperature Storage: If your kitchen is cool (under 70°F), the bars can sit uncovered at room temperature for up to 4 hours. In warmer conditions, refrigerate immediately.
Reheating (Not Recommended): These bars are best served cold or at room temperature and do not require reheating. If they’ve been frozen and are too firm, simply let them sit at room temperature for 15–20 minutes before serving for the best texture.
Powdered Sugar Dusting: Dust with powdered sugar just before serving, as it will gradually dissolve into the bar’s surface over time. Re-dust if serving the next day.
Frequently Asked Questions about Key Lime Pie Bars
Can I use bottled lime juice instead of fresh?
While fresh key lime juice provides the best flavor and brightness, bottled key lime juice (commonly found in the baking aisle) is an acceptable substitute. Use the same measurement: 1/2 cup. Avoid using standard bottled lime juice, which has a different flavor profile. If using bottled juice, you may want to add an extra 1/2 teaspoon vanilla extract to enhance the overall flavor complexity.
What can I do if I cannot find key limes?
Use regular Persian limes, which are more widely available. Combine 1/2 cup fresh Persian lime juice with 1 tablespoon bottled key lime juice, or simply use 1/2 cup Persian lime juice with an extra 1/2 teaspoon vanilla extract. The bars will be delicious, though slightly less intensely flavored. Do not use lime concentrate, as it will make the bars overly bitter.
Is it safe to eat raw egg yolks in this recipe?
The egg yolks in this recipe are lightly cooked (baked at 350°F for 15–18 minutes), which brings them to a safe internal temperature. However, if you have concerns about food safety or are serving immune-compromised individuals, use pasteurized eggs or pasteurized egg yolks, which are available at most grocery stores. The final result will be identical.
Why is my filling still runny after baking?
This typically means the bars need more time in the oven. Remember, a slight jiggle in the very center (about 1-inch diameter) is intentional and correct—the bars will firm up significantly as they cool and chill. If the entire surface is still very jiggly or liquidy, return the pan to the oven for an additional 5 minutes. The filling should only jiggle very slightly when you gently shake the entire pan.
Can I make these bars without egg yolks?
Traditional key lime pie requires eggs for the proper custard texture. However, you can make a no-bake version using mascarpone cheese instead: combine 8 oz mascarpone, 1 cup heavy whipping cream (whipped to stiff peaks), 1/2 cup sweetened condensed milk, and key lime juice. Spread over a pre-baked crust and chill for 4 hours. The texture will be lighter and airier than the traditional version.
How do I achieve clean, neat cuts?
The key is a sharp, thin-bladed knife and thorough chilling. After at least 4 hours of refrigeration, dip your knife in hot water, wipe it completely dry, and make one slow, deliberate cut using downward pressure (not sawing motions). Wipe the knife clean between each cut. If cuts are still crumbly, your bars may have been overbaked—slightly underbaked bars cut much more cleanly.
Can these bars be frozen before cutting?
Yes! You can freeze the entire pan (once cooled) for up to 3 months. When ready to serve, thaw completely in the refrigerator (6–8 hours or overnight), then cut and serve. Freezing before cutting may actually result in cleaner cuts, as the cold, firm texture resists crumbling better.
Nutrition Facts (Per Serving)
| Nutrient | Amount per Serving | % Daily Value |
|---|---|---|
| Calories | 285 | 14% |
| Total Fat | 16g | 21% |
| Saturated Fat | 10g | 50% |
| Cholesterol | 95mg | 32% |
| Sodium | 142mg | 6% |
| Total Carbohydrates | 38g | 13% |
| Dietary Fiber | 0g | 0% |
| Sugars | 26g | 52% |
| Protein | 3g | 6% |
| Vitamin C | 8mg | 13% |
| Calcium | 128mg | 10% |
*Percent Daily Values are based on a 2,000 calorie diet. Your daily values may be higher or lower depending on your calorie needs. This analysis is based on one bar from a yield of 20 bars (9×13-inch pan cut into approximately 2-inch squares).
Key Lime Pie Bars
Ingredients Â
- 2 cups all-purpose flour
- 1/2 cup granulated sugar
- 1/2 teaspoon salt
- 1 cup unsalted butter cold and cubed
- 4 large egg yolks
- 1 14- ounce can sweetened condensed milk
- 1/2 cup fresh key lime juice
- 2 tablespoons fresh regular lime juice
- 1 tablespoon key lime zest
- 1 teaspoon vanilla extract
- Powdered sugar for dusting
- Whipped cream for serving
InstructionsÂ
- Preheat your oven to 350°F (175°C). Line a 9x13-inch baking pan with parchment paper, letting the paper hang over two sides for easy removal. This should take 2–3 minutes.
- In a medium bowl, combine 2 cups all-purpose flour, 1/2 cup granulated sugar, and 1/2 teaspoon salt. Stir with a fork until evenly mixed, about 1 minute. The mixture will look like fine sand.
- Cut 1 cup cold unsalted butter into small cubes (approximately 1/2-inch pieces). Add the cubes to the flour mixture immediately. Using a pastry cutter, two knives, or your fingertips, work the butter into the flour until the mixture resembles coarse breadcrumbs with pea-sized pieces of butter visible. This should take 3–5 minutes. Do not overmix or the crust will be tough.
- Press the shortbread mixture firmly and evenly into the bottom of your prepared pan using your fingers or the bottom of a measuring cup. Make sure the layer is compact and reaches into all corners. The crust should be about 1/4-inch thick and feel solid when pressed.
- Bake the crust alone for 12–15 minutes at 350°F until it turns light golden brown around the edges and feels set to the touch. You should smell a buttery aroma. Checkpoint: The crust should be lightly colored but not dark; remove it when the edges are barely golden.
- While the crust bakes, prepare the filling. In a medium mixing bowl, crack 4 large eggs and separate the yolks from the whites, discarding the whites (or save for another use). Add the 4 egg yolks to a clean bowl.
- Pour 1 14-ounce can of sweetened condensed milk into the bowl with the egg yolks. Add 1/2 cup fresh key lime juice, 2 tablespoons fresh regular lime juice, 1 tablespoon key lime zest, and 1 teaspoon vanilla extract.
- Using a whisk or electric mixer on medium speed, blend the filling ingredients together for 2–3 minutes until smooth, pale, and well combined. The mixture should look like a thick, creamy custard with no lumps. Scrape down the sides of the bowl with a spatula to ensure even mixing.
- Remove the partially baked crust from the oven (it should still be warm). Carefully pour the key lime filling over the warm crust in an even layer. Use a spatula to spread it gently if needed, but do not overmix.
- Return the pan to the oven and bake for 15–18 minutes at 350°F. The filling should be mostly set but still have a very slight jiggle in the center when you gently shake the pan—similar to the texture of slightly underbaked cheesecake. The edges should look set and firm. Checkpoint: The filling is ready when the edges are firm but the very center still jiggles slightly (about 1-inch diameter in the middle is acceptable).
- Remove the pan from the oven and allow it to cool to room temperature on a wire rack, about 45–60 minutes. The bars will continue to set as they cool.
- Once cooled to room temperature, cover the pan loosely with plastic wrap and refrigerate for at least 4 hours, preferably overnight. This resting time allows the flavors to meld and the bars to firm up completely, making them easier to cut cleanly.
- To serve, lift the parchment paper on both sides to remove the entire bar slab from the pan and transfer to a cutting board. Using a sharp knife dipped in hot water and wiped clean between cuts, slice into 2-inch squares (you should get 18–24 bars depending on size).
- Dust each bar lightly with powdered sugar using a fine-mesh sieve. Serve chilled or at room temperature with a dollop of whipped cream and an optional thin lime wheel for garnish.

