Quick Recipe Version (TL;DR)
Quick Ingredients
- 1 cup (80 g) unsweetened coconut flakes or shredded coconut
- 1 1/2 cups (195 g) all-purpose flour, plus 3 tbsp (24 g) for filling
- 1/4 cup (30 g) cornstarch
- 1/2 cup (60 g) powdered sugar
- 3/4 cup (170 g) unsalted butter, melted
- 3 large eggs (room temp)
- 3/4 cup (150 g) granulated sugar
- 1/2 cup (120 ml) fresh lime juice
- 1/3 cup (80 ml) unsweetened coconut milk (canned, full-fat)
- 1 tbsp finely grated lime zest
- 1/2 tsp fine sea salt, plus a pinch
- 1 tsp vanilla extract (optional)
- Powdered sugar, for dusting (optional)
Do This
- 1. Heat oven to 350°F (175°C). Line an 8-inch square metal pan with parchment (overhang on two sides); lightly grease.
- 2. Toast 1 cup coconut on a sheet pan 5–7 minutes, stirring once, until golden; cool.
- 3. Crust: Stir 1 1/2 cups flour, cornstarch, powdered sugar, and 1/2 tsp salt. Mix in melted butter (and 1 tsp vanilla if using). Press firmly into pan; bake 18–22 minutes until lightly golden.
- 4. Filling: Whisk sugar, 3 tbsp flour, and a pinch of salt. Whisk in eggs, then lime juice, coconut milk, zest, and vanilla.
- 5. Reduce oven to 325°F (163°C). Pour filling onto hot crust; bake 20–24 minutes until center barely jiggles and reaches 165–170°F (74–77°C).
- 6. Immediately shower with toasted coconut; gently press so it adheres. Cool 1 hour, chill 1 hour, dust with powdered sugar, slice into 16 bars.
Why You’ll Love This Recipe
- Bright, tangy lime custard meets a buttery shortbread base for the perfect sweet-tart balance.
- Toasted coconut adds irresistible crunch and deep aroma in every bite.
- Simple, whisk-only filling and a no-fuss melted-butter crust.
- Make-ahead friendly for parties, potlucks, and gifting.
Grocery List
- Produce: 6–8 limes (for 1/2 cup juice + zest)
- Dairy: Unsalted butter, 3 large eggs
- Pantry: All-purpose flour, cornstarch, powdered sugar, granulated sugar, unsweetened coconut milk (canned), unsweetened coconut flakes/shreds, vanilla extract, fine sea salt
Full Ingredients
Toasted Coconut Topping
- 1 cup (80 g) unsweetened coconut flakes or shredded coconut
Buttery Shortbread Base
- 1 1/2 cups (195 g) all-purpose flour
- 1/4 cup (30 g) cornstarch
- 1/2 cup (60 g) powdered sugar
- 1/2 tsp fine sea salt
- 3/4 cup (170 g) unsalted butter, melted and slightly cooled
- 1 tsp pure vanilla extract (optional)
- 1 tsp finely grated lime zest (optional, for extra aroma)
Creamy Lime-Coconut Filling
- 3 large eggs, at room temperature
- 3/4 cup (150 g) granulated sugar
- 3 tbsp (24 g) all-purpose flour
- 1/8 tsp fine sea salt
- 1/2 cup (120 ml) fresh lime juice (from 4–5 limes; 8–10 if Key limes)
- 1/3 cup (80 ml) unsweetened coconut milk (canned, well shaken)
- 1 tbsp finely grated lime zest
- 1 tsp pure vanilla extract (optional)
For Serving
- 2 tbsp powdered sugar, for dusting (optional)
- Extra lime zest and a pinch of flaky sea salt (optional garnish)

Step-by-Step Instructions
Step 1: Prep the pan and preheat
Heat the oven to 350°F (175°C). Line an 8-inch square metal baking pan with parchment paper, leaving overhang on two opposite sides for easy lifting. Lightly grease the parchment and any exposed pan sides.
Step 2: Toast the coconut for a crunchy finish
Spread 1 cup (80 g) unsweetened coconut on a rimmed baking sheet. Bake for 5–7 minutes, stirring once halfway, until mostly golden with some pale bits. Coconut can go from perfect to burnt quickly—watch closely. Cool completely; it will crisp as it cools.
Step 3: Make and bake the buttery shortbread
In a bowl, whisk together the flour, cornstarch, powdered sugar, and 1/2 tsp salt. Add the melted butter (and vanilla and lime zest if using) and stir until you have a soft, evenly moistened dough. Crumble into the prepared pan and press firmly into an even layer, reaching all the corners. Bake 18–22 minutes until lightly golden at the edges and set in the center.
Step 4: Lower oven temperature and mix the filling
Reduce oven to 325°F (163°C). In a medium bowl, whisk the sugar, 3 tbsp flour, and a pinch of salt. Whisk in the eggs just until smooth and homogenous (avoid whipping lots of air). Whisk in lime juice, coconut milk, lime zest, and vanilla until combined. For extra-silky custard, strain through a fine-mesh sieve into a measuring jug.
Step 5: Bake the custard on the hot crust
With the crust still hot, pour the filling over it. Bake at 325°F (163°C) for 20–24 minutes, until the edges are set and the center has a slight wobble (not sloshy). An instant-read thermometer inserted in the center should read 165–170°F (74–77°C). The top should look glossy and pale, not browned.
Step 6: Shower with toasted coconut
Within 1–2 minutes of removing the pan from the oven, evenly sprinkle the toasted coconut over the surface and gently press with clean fingertips or a piece of parchment so it adheres to the warm custard. Cool on a rack for 1 hour, then chill at least 1 hour to set fully.
Step 7: Finish and slice
Lift the slab out using the parchment. Dust lightly with powdered sugar if desired and add a whisper of lime zest or a tiny pinch of flaky sea salt. For clean cuts, use a long, sharp knife warmed under hot water and wiped dry between cuts. Slice into 16 bars.
Pro Tips
- Metal pan bakes the crust and custard more evenly than glass; if using glass, add 3–5 minutes to the crust and keep an eye on the filling.
- Zest first, then juice: it is much easier to zest whole limes. A microplane gives the finest texture and the most aroma.
- Whisk gently to avoid excess bubbles in the custard; strain for the silkiest texture.
- Pour the filling onto a hot crust—this jump-starts setting and prevents soggy bottoms.
- Toast extra coconut and keep some aside to refresh the crunch when serving leftovers.
Variations
- Key Lime Bars: Use Key lime juice and zest; increase zest to 2 tbsp for a bolder citrus punch.
- Coconut-Rum Twist: Replace 1 tbsp of the lime juice with 1 tbsp coconut rum; keep all other amounts the same.
- Macadamia Shortbread: Replace 1/4 cup (32 g) of the flour in the crust with very finely ground, lightly toasted macadamias and increase melted butter by 1 tbsp (14 g).
Storage & Make-Ahead
Refrigerate bars in an airtight container for up to 4 days. For the best crunch, enjoy within 48 hours or reserve a small portion of toasted coconut to sprinkle on just before serving. To freeze, wrap bars individually and place in a freezer-safe container for up to 2 months. Thaw overnight in the fridge, dust with powdered sugar, and add a little fresh zest. The crust can be baked 1 day ahead; keep covered at room temp and fill/bake the next day.
Nutrition (per serving)
Approximate values per bar (1 of 16): 245 calories; 15 g fat; 27 g carbohydrates; 3 g protein; 13 g sugars; 90 mg sodium; 1 g fiber.


Leave a Reply