These are sunshine in dessert form: soft, moist, tender bars packed with bright lemon and sweet coconut, finished with a tangy lemon glaze and a shower of toasted coconut. They’re like a lemon bar and a coconut cake had the most delicious baby — easy to make in one pan, easy to cut, and impossible to stop at one. Perfect for spring, potlucks, or a tropical treat any time of year.
Fun fact: toasting coconut transforms it completely. The dry heat caramelizes its natural sugars and drives off moisture, turning pale, chewy shreds into golden, nutty, crisp flakes — the same Maillard browning that makes toast and seared steak taste so good.
Why this recipe works
TOAST the coconut topping. Toasted coconut adds nutty depth and crunch that raw coconut can’t — don’t skip it.
COCONUT MILK in the batter. Using canned coconut milk instead of regular milk doubles the coconut flavor and keeps the bars moist.
GLAZE while slightly warm. A barely-warm cake lets the lemon glaze set into a thin, glossy layer rather than soaking in completely.
Ingredients
Serves 16 bars.
Bars:
1/2 cup (115 g) butter, melted
1 cup (200 g) granulated sugar
2 eggs
1/2 cup canned coconut milk (well stirred)
Zest of 2 lemons + 2 tbsp lemon juice
1 tsp vanilla extract
1.5 cups (190 g) all-purpose flour
1.5 tsp baking powder
1/4 tsp salt
3/4 cup shredded sweetened coconut
Glaze and topping:
1.25 cups (150 g) powdered sugar
2-3 tbsp lemon juice
1/2 cup shredded coconut, toasted
Instructions
Step 1: Prep
Heat oven to 350°F (175°C). Line an 8×8 or 9×9-inch pan with parchment, leaving overhang.
Step 2: Mix wet
Whisk melted butter and sugar. Add eggs, coconut milk, lemon zest, lemon juice and vanilla; whisk smooth.
Step 3: Add dry
Stir in flour, baking powder and salt until just combined, then fold in the 3/4 cup shredded coconut.
Step 4: Bake
Spread into the pan and bake 25-30 minutes until golden and a toothpick comes out clean. Cool in the pan 15 minutes.
Step 5: Toast coconut
While it bakes, toast the 1/2 cup coconut in a dry skillet over medium, stirring, 2-3 minutes until golden. Watch closely — it burns fast.
Step 6: Glaze
Whisk powdered sugar with lemon juice to a pourable glaze. Pour over the slightly warm cake and spread.
Step 7: Top and set
Sprinkle the toasted coconut over the glaze. Let set, then lift out by the parchment and cut into bars.
Nutrition information
Calories: 230 kcal per bar
Protein: 3 g
Carbohydrates: 33 g
Fat: 10 g
Saturated Fat: 7 g
Sugar: 23 g
Pro tips for the best lemon coconut cake bars
Use full-fat coconut milk. The kind in a can — it’s richer than carton coconut milk and gives the best flavor and crumb.
Line the pan. Parchment overhang lets you lift the whole slab out for clean, easy cuts.
Add lime. Swap one lemon for a lime for a lemon-lime-coconut twist.
Store airtight. These stay moist 4 days at room temp; the toasted coconut may soften slightly.
Frequently asked questions
Can I use coconut flour?
No — coconut flour behaves completely differently and would make these dry and dense. Use all-purpose flour plus shredded coconut for texture.
Can I make them dairy-free?
Yes — use melted coconut oil or vegan butter; the batter already uses coconut milk.
How do I toast coconut without burning it?
Stir constantly over medium heat (or watch it in a 325°F oven), and pull it the moment it turns golden — it goes from done to burnt in seconds.
Can I double the recipe?
Yes — bake in a 9×13 pan and add a few minutes to the time; check with a toothpick.
Why are my bars dense?
Overmixing the batter or overbaking. Stir until just combined and check for doneness early.