Key Lime Pie — Creamy, Tangy, and Sets Every Time

key-lime-pie-slice-on-white-plate
key-lime-pie-slice-on-white-plate

Key lime pie is a chilled dessert made with sweetened condensed milk, fresh lime juice, and egg yolks baked into a buttery graham cracker crust. The filling sets firm in the oven through a natural acid-coagulation reaction and needs at least 4 hours of refrigeration before it slices cleanly. Total active prep time is under 25 minutes. Best for anyone who wants a sharp, creamy dessert with minimal hands-on effort.

Key lime pie delivers a filling that is sharp, creamy, and cool against a crunchy, buttery crust. This recipe uses fresh lime juice, four egg yolks, and one can of sweetened condensed milk — the filling comes together in under five minutes of mixing. If your previous attempts turned out too runny or too sweet, the ratios and baking time here fix both problems directly. I tested this recipe multiple times before publishing, adjusting the lime-to-condensed-milk ratio and bake time until the result was consistent every single time.

Why This Recipe Works

Most key lime pie recipes get the filling right but miss on the crust-to-filling structure — leaving you with a crumbly base that falls apart when sliced. This version solves both sides.

  • Fresh juice, not bottled — fresh key lime juice has a sharper acidity and aromatic quality that bottled juice cannot replicate; the filling is noticeably brighter in flavor.
  • Four egg yolks, not two — the extra yolks produce a denser, richer filling that holds its shape cleanly after chilling, rather than the soft, wobbly result you get from fewer yolks.
  • Pre-baked graham cracker crust — 8 minutes in the oven sets the butter into the crumbs and prevents the crust from going soggy within hours of filling.
  • Low-temperature bake at 325°F — the filling sets gradually and evenly without developing a rubbery edge or cracked surface.
  • Minimum 4-hour chill time — not a suggestion; the acid-coagulation reaction that sets the filling continues in the refrigerator and the pie does not slice cleanly before that.
  • Make-ahead reliable — best quality for up to 3 days in the refrigerator, which makes it a consistent choice for gatherings where you want to do the work in advance.

If you are looking for more fruit desserts to try, our peach cobbler is a great place to start.

Ingredients for Key Lime Pie

Every ingredient here has a specific job. Here is what each one does — and what to use if you need to make a substitution.

key-lime-pie-ingredients-flat-lay

The Graham Cracker Crust

IngredientAmountWhat It DoesBest Substitute + Impact
Graham cracker crumbs1½ cupsForms the crust base; holds shape after bakingDigestive biscuit crumbs — slightly less sweet, works equally well
Granulated sugar3 tbspAdds sweetness; helps the crust brownCoconut sugar — adds a mild caramel note to the base
Unsalted butter, melted6 tbspBinds the crumbs; adds rich flavor and crunchCoconut oil — works, but crust may be slightly more crumbly

The Key Lime Filling

IngredientAmountWhat It DoesBest Substitute + Impact
Egg yolks4 largeAdd richness, fat, and protein structure to the fillingNo good substitute — yolks are essential to the structure and color
Fresh lime zest2 tspCarries the essential oils that give the pie its aromatic citrus punchOrange zest — changes the flavor profile entirely
Fresh key lime juice½ cupProvides acidity; reacts with condensed milk to set the fillingRegular Persian lime juice — works well; slightly less floral flavor
Sweetened condensed milk1 can (14 oz)Sweetness, creaminess, and the protein structure the acid setsNo direct substitute — the acid-milk coagulation is essential

Key Ingredient Notes

Sweetened condensed milk: Use the full-fat version — light condensed milk has less fat, which means your filling may be softer and slower to set.

Lime juice: Room temperature or cold both work. The important thing is that it is freshly squeezed — the filling’s brightness comes directly from this. Bottled juice produces a noticeably flatter flavor.

Egg yolks: Separate the eggs while cold, then allow the yolks to come to room temperature before mixing — they incorporate more evenly and produce a smoother filling.

Equipment You Need

  • 9-inch pie pan (glass or ceramic preferred)
  • Hand mixer or stand mixer with whisk attachment
  • Microplane or fine grater for zesting
  • Citrus juicer (manual or electric)
  • Mixing bowls (medium and large)
  • Wire cooling rack

The Lime Juice Guide

The lime juice you use is the single biggest factor in how sharp and aromatic your key lime pie turns out. Here is a clear comparison of your options.

TypeDescriptionUse for This Recipe?
Fresh key lime juiceSmall, round limes; more aromatic and slightly more acidic than Persian limesBest choice
Fresh Persian lime juiceStandard grocery store limes; slightly less floral, milder acidGood — works well
Bottled key lime juicePre-squeezed, shelf-stable; lower acid concentration, reduced aromaticsAcceptable if fresh unavailable — flavor will be noticeably flatter
Lemon juiceEntirely different flavor profileNot recommended for this recipe

If you cannot find key limes: Persian limes (the standard variety at every grocery store) work well. The flavor is slightly less floral and a touch less acidic — the difference is noticeable side by side, but most people find the result equally satisfying. Plan to use about 6 to 8 limes for ½ cup of juice.

Visual cue for ripe key limes: They are small — golf-ball size — and have a yellow-green skin at peak ripeness. Fully yellow skin indicates the highest juice yield. Avoid any that feel dry or hollow when pressed.

How to Make Key Lime Pie — Step by Step

Follow these steps in order. Do not skip the crust pre-bake or reduce the chill time — both are non-negotiable for a clean result.

key-lime-pie-filling-mixing-bowl

Step 1: Preheat the Oven and Prepare Your Pan

Set your oven to 325°F (165°C) and allow it to reach full temperature before anything goes in. Lightly grease a 9-inch pie pan — butter or non-stick spray both work — paying attention to the sides where the crust will climb. An underheated oven bakes unevenly from the start.

What to look for: oven thermometer reads 325°F; pan feels lightly coated, not pooled with butter.

Step 2: Make the Graham Cracker Crust

Combine the graham cracker crumbs, sugar, and melted butter in a bowl. Stir until every crumb is coated and the mixture feels like damp sand — it should hold together when you press a pinch between your fingers. Press it firmly and evenly into the bottom and up the sides of the pan using the flat base of a measuring cup.

⚠️ Press firmly — a loosely packed crust will crumble when sliced and pull away from the filling when it sets.

Bake for 8 minutes until the edges show a light golden color. Set on a wire rack and cool for 5 minutes before the filling goes in.

What to look for: edges lightly golden; surface feels dry and set, not shiny with butter.

Step 3: Mix the Key Lime Filling

Beat the egg yolks and lime zest together on medium-high speed for 2 full minutes — the mixture turns pale yellow and slightly thick as the yolk proteins begin to emulsify. Add the sweetened condensed milk and beat on medium until smooth, about 1 minute. Add the lime juice and mix on low just until incorporated — you will notice the filling thickens slightly as the acid meets the condensed milk proteins.

⚠️ Do not overmix after the lime juice goes in — excess mixing incorporates air bubbles that expand in the oven and cause the surface to crack.

What to look for: smooth, pale yellow filling with no streaks; pourable but slightly thickened consistency.

Once you are comfortable with this filling method, our caramel apple pie uses the same egg-yolk technique with a completely different flavour profile.

Step 4: Pour and Bake

Pour the filling into the pre-baked crust. It should sit about ¼ inch below the crust edge — this gives the filling room to puff slightly without spilling. Bake at 325°F for 18 to 22 minutes, starting to check at 18 minutes. The filling is done when the outer 2 inches are set and the center still carries a gentle, jelly-like wobble when you nudge the pan — not a liquid slosh, but a slow, uniform movement.

What to look for: edges firm and matte; center wobbles as a cohesive unit, not in waves.

Step 5: Cool, Then Chill

Remove the pie from the oven and set it on a wire rack. Cool at room temperature for 30 minutes — moving it to the refrigerator while still hot causes condensation to form under the filling surface. Once cooled, cover loosely with plastic wrap and refrigerate for at least 4 hours, ideally overnight. The filling firms up completely only after full chilling — cutting before that gives you a runny, unset interior.

What to look for: filling no longer jiggles at all when pan is nudged; slices cut cleanly with a sharp knife, leaving clean edges.

The Science Behind a Perfect Key Lime Pie

A clean, firm filling is not luck — it is three ingredients doing specific, predictable jobs under heat and acid.

Why Sweetened Condensed Milk Sets the Filling

Sweetened condensed milk reacts chemically with the acid in lime juice — a process called acid coagulation. As the acid lowers the pH of the milk, the proteins tighten and form a gel-like network. This is why the filling visibly thickens as you stir in the juice, before it ever enters the oven. The oven bake completes and stabilizes the structure, but the coagulation begins the moment acid meets milk.

Why Egg Yolks Add Richness and Structure

Egg yolks contain both fat and proteins. The fat gives the filling a creamy, smooth mouthfeel that egg whites or whole eggs cannot replicate. The proteins set when exposed to heat — adding a secondary layer of firmness beyond what the acid-milk reaction alone produces. Using two yolks gives a soft result; four yolks gives you a dense, cleanly sliceable filling that holds its shape at room temperature for the duration of serving.

Why Fresh Lime Juice Matters

The acid driving the coagulation reaction comes directly from the lime juice. Bottled juice is diluted and partially oxidized — the acid concentration is lower and the aromatic volatile compounds that give the pie its sharp, citrus note have largely degraded by the time it reaches the shelf. Use fresh juice and your filling is sharper, brighter in flavor, and sets more reliably because the acid concentration is at its peak.

Tips for the Best Result

These are the details that separate a consistent key lime pie from one that varies every time you make it.

  • Let melted butter cool before mixing the crust — 2 minutes off the heat is enough. Hot butter can make the crumbs greasy rather than crunchy once baked.
  • Press the crust with a flat-bottomed measuring cup — even pressure across the whole surface produces a crust that holds its shape cleanly when sliced, with no crumbling at the edges.
  • Do not reduce the lime zest — the zest contains the essential oils responsible for the aromatic sharpness the juice alone cannot fully deliver. If anything, add an extra ½ teaspoon for a more pronounced lime note.
  • Verify your oven temperature with a thermometer — most home ovens run 15 to 25 degrees off their dial setting. Baking at 350°F instead of 325°F can overbake the edge before the center is set.
  • Refrigerate overnight for the cleanest slices — a 4-hour chill sets the filling adequately, but overnight chilling gives sharper, more uniform cuts with no soft drag at the center.
  • Use a hot, dry knife for slicing — run your knife under hot water and wipe it completely dry before each cut. The warmth glides through the chilled filling without tearing the surface.
  • Double the recipe into two pans, not one deep dish — the standard recipe is calibrated for 9-inch depth; doubling into one dish risks uneven baking throughout.

Common Mistakes to Avoid

These are the six errors responsible for most failed results — along with the exact fix for each one.

❌ Using Bottled Lime Juice

Result: Your filling will taste flat and muted — bottled juice lacks the aromatic compounds that give the pie its sharp, citrus character.
Fix: Use only freshly squeezed juice. If key limes are unavailable, fresh Persian lime juice is the correct substitute — bottled is a last resort only.

❌ Overbaking the Filling

Result: Your filling will be rubbery and dense along the edge, with a chalky texture rather than the creamy result you are aiming for.
Fix: Pull the pie when the center still carries a gentle wobble — it firms completely in the refrigerator over the following 4 hours.

❌ Skipping the Crust Pre-Bake

Result: Your crust will soften and become soggy within a few hours of the filling going in — leaving you with a crumbly mess by serving time.
Fix: Pre-bake the crust for 8 minutes at 325°F before adding the filling. This step sets the butter and locks the crumb structure in place.

❌ Slicing Before the Pie Is Fully Chilled

Result: Your slices will collapse, the filling will ooze, and the cut faces will be uneven and messy.
Fix: Give the pie at least 4 full hours in the refrigerator — the acid-coagulation reaction continues firming as the temperature drops. For more guides on getting consistent results, our dessert troubleshooting guide covers everything in the same level of detail.

❌ Not Enough Lime Zest

Result: Your filling will taste sweet but not sharp — the aromatic citrus punch is largely missing because the juice alone cannot carry it.
Fix: Use the full 2 teaspoons called for in this recipe, and consider adding an extra ½ teaspoon if you want a more pronounced lime flavor throughout.

❌ Using the Wrong Pan Size

Result: A shallow pan causes the filling to spread too thin and overbake in under 15 minutes; a pan that is too deep leaves the center undercooked despite correct timing.
Fix: Use a standard 9-inch pie pan — 1¼ to 1½ inches deep. Glass or ceramic distribute heat most evenly for this recipe.

Variations Worth Trying

key-lime-pie-slice-interior-layers

Mini Key Lime Pies

What changes: Divide the crust and filling between a 12-cup standard muffin tin lined with parchment squares or silicone liners.
When: Press about 2 tablespoons of crust mixture into each cup; pour filling to about ¾ capacity.
Result: Individual portions that set in about 2 hours; each is 2 to 3 bites with a clean edge — ideal for party platters where individual servings make presentation easy.

No-Bake Key Lime Pie

What changes: Fold 1 cup of heavy cream whipped to stiff peaks into the filling, and skip the oven entirely.
When: Fold the whipped cream in after mixing the condensed milk and lime juice; pour into the pre-baked crust and refrigerate 6 to 8 hours.
Result: A lighter, mousse-like texture — softer than the baked version and not as cleanly sliceable, but still carrying the sharp lime flavor. The texture is closer to a chilled cheesecake than the traditional baked filling.

Coconut Key Lime Pie

What changes: Replace 2 tablespoons of butter in the crust with coconut oil; add ¼ teaspoon coconut extract to the filling.
When: Swap at the crust-mixing and filling-mixing steps.
Result: A subtle coconut backdrop that pairs well with the lime acidity. Top with toasted coconut flakes for a visual and textural contrast — the crunch against the smooth filling is a noticeable improvement in texture.

Key Lime Pie Bars

What changes: Press the crust into a greased 8×8-inch baking pan rather than a pie pan. Double the filling recipe to match the larger surface area.
When: Same baking time — 20 to 22 minutes; chill 4 hours; cut into 16 squares.
Result: Portable, easy-to-serve bars with a higher crust-to-filling ratio than the traditional pie format — popular for potlucks and bake sales where individual portions need to be transported without a plate.

Elevated Key Lime Pie with Torched Meringue

What changes: Top the chilled pie with Swiss meringue (3 egg whites and 150g sugar warmed over a double boiler to 160°F, then whipped to stiff glossy peaks) instead of whipped cream.
When: Pipe the meringue onto the fully chilled pie immediately before serving; torch the peaks until golden brown.
Result: A sharper visual contrast — glossy caramelized peaks against the pale yellow filling — with a slightly sweeter topping that balances the lime acidity. Best made and torched the same day you serve it.

How to Store

Refrigerator

Key lime pie keeps at best quality for up to 3 days refrigerated. Store it covered — either with the pie pan’s lid, plastic wrap pressed lightly against the surface, or in an airtight container. The crust will soften slightly after day two as it absorbs moisture from the filling; the flavor stays consistent throughout. Eat directly from the refrigerator — the filling is firmer and slices more cleanly cold than at room temperature. If you have added whipped cream as a topping, store any leftover slices with the cream already on top — it will soften but will not affect the filling beneath it.

Freezer — Complete Guide

Key lime pie freezes well for up to 2 months at best quality. It remains safe beyond that window, but the texture may become slightly grainy and the crust may soften more than you would like after extended freezing.

To freeze the whole pie: Cool completely in the refrigerator first — at least 4 hours. Wrap the entire pie (in its pan, without whipped cream on top) in a double layer of plastic wrap, followed by a layer of aluminum foil. Label with the date.

To freeze individual slices: Cut the pie into portions, place each on a parchment-lined tray, and freeze uncovered for 1 hour until firm. Wrap each piece individually in plastic wrap, then foil, and store in a labeled freezer bag.

To thaw: Transfer from freezer to refrigerator the night before serving. Allow a minimum of 8 hours. Do not thaw at room temperature — the filling can release moisture and become watery. The texture may be slightly softer than fresh, but the flavor holds well.

Use your judgment — if the pie shows any off smell or visible mold after storage, discard it.

If batch baking is part of your routine, our no-bake chocolate pie fits perfectly into that make-ahead approach.

How to Serve

key-lime-pie-served-garnished

Classic Ways to Serve

  • Chilled from the refrigerator, sliced with a hot, dry knife for clean edges
  • Topped with a generous dollop of lightly sweetened whipped cream
  • With a thin half-wheel of fresh lime resting against the slice on each plate

Upgraded and Occasion-Worthy

  • Piped with Swiss meringue and torched table-side before a dinner party — the moment of torching is part of the presentation
  • Arranged on a large white platter with fresh mint sprigs and lime wedges for a buffet or summer gathering
  • Packed in individual airtight containers for a picnic or potluck — slice first, wrap each piece, and pack in a cooler

What it pairs with: Unsweetened black coffee cuts through the sweetness cleanly. Sparkling water with ice keeps the lime flavor sharp between bites. For a dessert table, pair it alongside a dark chocolate dessert — the contrast in flavor makes both taste more intense.

Best occasion: Summer gatherings, dinner parties, make-ahead holiday spreads, and potlucks where a dessert that looks more complex than it is will get noticed.

Frequently Asked Questions

Can I make key lime pie without key limes?

Yes — regular Persian limes work well as a substitute. The filling will have a slightly less floral, slightly less acidic flavor, but the method and ratios stay exactly the same. Plan on 6 to 8 Persian limes to yield half a cup of juice. If you enjoyed this recipe, our lemon meringue pie is the next one worth making.

Why did my key lime pie not set properly?

An undercooked filling is the most common cause. The filling needs 18 to 22 minutes at 325°F, and the center should still carry a slight wobble at the end of baking — it firms fully during refrigeration. If you used light condensed milk or reduced the number of egg yolks, the filling will be softer regardless of baking time.

How do I know when key lime pie is done baking?

The filling is done when the outer 2 inches are set and firm, and the center — roughly a 3-inch circle — has a gentle jelly-like wobble when you nudge the pan. It will not look fully set coming out of the oven, and that is correct. The refrigerator does the final work over the following 4 hours.

Can I make this ahead of time?

Yes — this is an excellent make-ahead dessert. The pie holds at best quality for up to 3 days covered in the refrigerator. Bake the day before serving for the cleanest slices and the most fully developed flavor. Add the whipped cream topping right before serving, not in advance.

How long does key lime pie last?

Best quality for up to 3 days in the refrigerator, covered. The filling stays firm and the flavor stays sharp for the first two days; on day three, the crust softens slightly. The pie remains safe to eat beyond that window, but quality declines — use your judgment based on smell and appearance.

Can I freeze key lime pie?

Yes — the pie freezes well for up to 2 months at best quality. Freeze without the whipped cream topping. Wrap the whole pie in a double layer of plastic wrap, then foil. Thaw overnight in the refrigerator, and add fresh whipped cream at serving time. See the full freezer guide in the storage section above for step-by-step details.

What can I substitute for sweetened condensed milk?

There is no direct substitute that replicates the acid-coagulation reaction that sets the filling. Some recipes use cream cheese for a cheesecake-style filling, but that is a different texture and a different dessert entirely. For this recipe, full-fat sweetened condensed milk is the only ingredient that produces the correct result.

Can I double this recipe?

Yes — use two 9-inch pie pans rather than one deeper dish. The filling volume and baking behavior are designed for the depth of a standard 9-inch pan. Doubling into one deep dish risks an undercooked center and an overcooked edge, because the extra depth changes how heat moves through the filling.

Why did my key lime pie crack on top?

Overbaking or overmixing after the lime juice is added are the two main causes. Excess heat sets the filling too fast and unevenly; excess air bubbles from overmixing expand in the oven and break the surface as they escape. Keep mixing to a minimum once the lime juice goes in, and begin checking the filling at the 18-minute mark.

What size pan works best?

A standard 9-inch pie pan — 1¼ to 1½ inches deep — is correct for this recipe. Shallow pans cause the filling to spread too thin and overbake; deep pans leave the center undercooked at the same baking time. Glass or ceramic distribute heat most evenly; metal pans tend to produce a slightly crispier crust edge.

Do I have to use a graham cracker crust?

No — a digestive biscuit crust, a vanilla wafer crust, or a shortbread-based crust all work well with this filling. The important step, regardless of which crumb base you choose, is to pre-bake the crust for 8 minutes before adding the filling, and to press it firmly so it holds its shape when sliced.

Can I use regular Persian limes instead of key limes?

Yes, and this is fully covered in the Lime Juice Guide section above. Persian limes yield a slightly milder, less floral flavor — the difference is noticeable to someone comparing both versions side by side, but most people find the result equally satisfying. The juice yield per fruit is higher with Persian limes, so you need fewer of them. All ratios and timing in this recipe stay exactly the same.

key-lime-pie-slice-on-white-plate

Key Lime Pie

This key lime pie delivers a sharp, creamy filling in a buttery graham cracker crust that slices cleanly after 4 hours of chilling. Fresh lime juice and four egg yolks give the filling its structure and bright citrus character.
Prep Time 20 minutes
Cook Time 28 minutes
4 hours
Total Time 4 hours 48 minutes
Servings: 8
Course: Dessert
Cuisine: American
Calories: 420

Ingredients
  

  • Graham Cracker Crust
  • 1½ cups graham cracker crumbs about 12 full crackers, finely crushed
  • 3 tablespoons granulated sugar
  • 6 tablespoons unsalted butter melted and slightly cooled
  • Key Lime Filling
  • 4 large egg yolks room temperature
  • 2 teaspoons fresh lime zest from about 4 key limes
  • ½ cup fresh key lime juice about 20 key limes, or 6–8 Persian limes
  • 1 can 14 oz / 396g full-fat sweetened condensed milk
  • Topping Optional
  • 1 cup heavy whipping cream
  • 2 tablespoons powdered sugar
  • Fresh lime slices for garnish

Method
 

  1. Preheat oven to 325°F (165°C). Lightly grease a 9-inch pie pan.
  2. Make the crust. Combine graham cracker crumbs, sugar, and melted butter; stir until mixture resembles damp sand. Press firmly and evenly into the base and sides of the pan using the flat base of a measuring cup. Bake 8 minutes until edges are lightly golden. Cool 5 minutes.
  3. Mix the filling. Beat egg yolks and lime zest on medium-high for 2 minutes until pale and slightly thickened. Add condensed milk and beat on medium until smooth, about 1 minute. Add lime juice and mix on low just until incorporated — do not overmix.
  4. Bake. Pour filling into the pre-baked crust. Bake 18 to 22 minutes — filling is done when the outer 2 inches are set and the center has a gentle wobble.
  5. Cool, then chill. Cool on a wire rack for 30 minutes. Cover and refrigerate at least 4 hours, or overnight for the cleanest slices.
  6. Serve. When ready to serve, whip cream and powdered sugar to medium peaks. Dollop or pipe onto the pie. Slice with a hot, dry knife.

Notes

  • Use full-fat sweetened condensed milk — light versions produce a softer filling that may not set as firmly.
  • Lime zest is not optional — it carries the aromatic oils that give the pie its sharp citrus note.
  • The filling is meant to wobble at the center when it comes out of the oven; it firms fully in the refrigerator.
  • For the cleanest slices, chill overnight rather than the 4-hour minimum.
  • Do not add whipped cream before freezing — always add fresh cream at serving time.
Estimated Nutrition Per Serving
Calories: ~420  |  Fat: 22g  |  Carbohydrates: 51g  |  Protein: 6g  |  Sugar: 40g

More Dessert Recipes You Will Love

Looking for what to make next? Here are four that complement this one well.

Did you make this key lime pie? Leave a ⭐⭐⭐⭐⭐ rating below and let me know in the comments how it turned out. I read every comment and would love to know what worked for you.

Similar Posts