
This moist lemon coconut cake pairs fresh lemon zest and juice with coconut milk, yogurt, and shredded coconut for a soft, tender crumb. A simple lemon glaze adds brightness without hiding the coconut, and the straightforward mixing method makes it a good choice for an everyday dessert or a shared celebration.
Ingredients
- 2 cups (250 g) all-purpose flour, spooned into the measuring cup and leveled
- 1 1/2 cups (300 g) granulated sugar
- 2 teaspoons baking powder
- 1/2 teaspoon baking soda
- 1/2 teaspoon fine salt
- 1 cup (80 g) unsweetened shredded coconut, plus 1/3 cup (25 g) toasted coconut flakes for topping, if desired
- 3 large eggs, at room temperature
- 1/2 cup (120 ml) neutral oil, such as canola or sunflower oil
- 3/4 cup (180 ml) canned full-fat coconut milk, well stirred
- 1/2 cup (120 g) plain yogurt or sour cream, at room temperature
- 2 tablespoons finely grated lemon zest, from about 3 medium lemons
- 1/4 cup (60 ml) fresh lemon juice
- 1 teaspoon vanilla extract
- 1 cup (120 g) powdered sugar, for the glaze
- 2 tablespoons (30 ml) fresh lemon juice, for the glaze
- 1 to 2 tablespoons (15 to 30 ml) coconut milk, as needed for the glaze
Instructions
- Prepare the pan and oven. Set a rack in the center of the oven and heat it to 350°F (175°C). Grease a 9-by-13-inch baking pan, then line the bottom with parchment paper, leaving enough overhang to help lift the cooled cake out. Grease the parchment lightly as well. If you plan to serve the cake directly from the pan, parchment is optional, but greasing the pan thoroughly is still important.
- Combine the dry ingredients. In a large bowl, whisk the flour, sugar, baking powder, baking soda, and salt until evenly distributed. Add the cup of shredded coconut and whisk again, breaking up any clumps. Mixing the dry ingredients first helps spread the leaveners through the batter so the cake rises evenly.
- Mix the wet ingredients. In a separate medium bowl, whisk the eggs until the yolks and whites are blended. Whisk in the oil, stirred coconut milk, yogurt, lemon zest, 1/4 cup lemon juice, and vanilla. The mixture may look slightly separated or textured from the zest and yogurt; that is fine. Make sure the coconut milk is smooth before measuring, since the thick cream often rises to the top of the can.
- Bring the batter together. Pour the wet mixture into the dry ingredients. Fold with a spatula or stir gently with a whisk just until no dry pockets of flour remain. Scrape the bottom and corners of the bowl as you mix. The batter will be thick but pourable, with visible coconut. Stop once it is combined; vigorous or prolonged mixing can make the cake less tender.
- Fill the pan. Scrape the batter into the prepared pan and spread it into an even layer, nudging it into the corners. Give the pan one gentle tap on the counter to release large trapped air pockets. Avoid repeated hard knocks, which can push batter unevenly toward the edges.
- Bake until set. Bake for 32 to 38 minutes, checking near the shorter end of the range. The top should look lightly golden and spring back when touched gently in the center. A toothpick inserted into the middle should come out clean or with a few moist crumbs, not wet batter. If the top is browning quickly while the center is still unset, loosely cover it with foil for the remaining baking time.
- Cool the cake. Set the pan on a cooling rack and let the cake cool for at least 30 minutes before glazing. For a cake served from the pan, it can be glazed while just barely warm, but a fully cooled cake gives a neater, thicker finish. If removing it from the pan, run a thin knife around the edges, lift it out using the parchment, and cool it completely on the rack.
- Make and add the glaze. Whisk the powdered sugar with 2 tablespoons lemon juice until smooth. Add coconut milk a teaspoon at a time until the glaze falls from the whisk in a slow ribbon. Drizzle it over the cooled cake, then scatter toasted coconut flakes over the top if using. Let the glaze set for about 20 minutes before slicing for cleaner pieces.
Tips
- Measure flour lightly. Spoon flour into the measuring cup and level the top rather than packing or scooping directly from the bag. Too much flour is a common reason a coconut cake turns out dry or dense. A kitchen scale gives the most consistent result if you have one.
- Use zest for lemon flavor. The zest contributes fragrant lemon oils without adding extra liquid. Zest the lemons before squeezing them, and take only the yellow outer peel; the white pith underneath can taste bitter. Fresh lemon juice is best for the cake and glaze.
- Stir the canned coconut milk well. Coconut milk can separate in the can, especially when cool. Stir until the solid and liquid portions are uniform before measuring. If it is very firm, warm the can briefly in a bowl of warm water, then stir; do not use sweetened cream of coconut as a direct substitute.
- Keep the mixing gentle. Once flour is added, stop stirring as soon as the batter is uniform. A few small lumps are less of a problem than overmixing. Also check your baking powder and baking soda are fresh enough to raise the cake properly.
Serving Suggestions
Serve the cake at room temperature so its crumb feels soft and the lemon and coconut aromas come through clearly. A narrow spatula makes it easy to lift pieces from the pan, while a sharp knife wiped clean between cuts gives especially tidy slices after the glaze has set. The cake is rich enough to serve on its own, but a spoonful of lightly sweetened whipped cream or plain yogurt can balance the citrus and coconut.
For a fruitier plate, add fresh berries, sliced strawberries, or segments of orange alongside each piece. Keep any fruit separate until serving so its juice does not soften the glaze. For a simple afternoon snack, pair a slice with tea or coffee; for dessert after a meal, smaller squares are usually satisfying. If serving outdoors or in a warm room, keep the cake covered and bring out only what you expect to serve so the glaze stays neat.
Variations
For a more pronounced coconut finish, replace the unsweetened shredded coconut with sweetened shredded coconut, but expect the cake to taste sweeter and feel slightly more moist. You can also use unsweetened desiccated coconut if that is what you have; its finer texture will distribute through the crumb more subtly. Keep the quantity at 1 cup, and avoid adding extra coconut milk to compensate for a texture difference.
To make a lime-coconut version, use finely grated lime zest and fresh lime juice in place of the lemon in both the cake and glaze. For a more delicate lemon flavor, use 1 tablespoon of zest in the batter and keep the listed juice amount. You can also skip the glaze and dust the cooled cake with powdered sugar, or leave it plain and serve with fruit. For a layered presentation, bake the batter in two greased and parchment-lined 8-inch round pans; begin checking around 22 minutes, since the thinner layers will bake faster, and rely on the center springing back and a clean toothpick rather than time alone.
Storage and Reheating
Once the glaze has set, cover the cake tightly or store it in an airtight container. At a cool room temperature, it keeps well for about 2 days. If your kitchen is warm, or if you want to keep it longer, refrigerate it for up to 5 days. Chilling firms the coconut oil and the crumb, so let individual slices sit at room temperature for about 20 to 30 minutes before serving for a softer texture.
To freeze the cake, it is best to do so without the glaze. Wrap the completely cooled cake or individual portions tightly, then place them in a freezer-safe container for up to 2 months for best quality. Thaw wrapped portions in the refrigerator overnight or at room temperature until no longer cold, then glaze if desired. This cake does not need reheating; if you prefer a slightly warm slice, warm it briefly in a low oven or microwave and check often so it does not dry out. Do not warm slices with a thick glaze for long, as the glaze can melt and run.
Frequently Asked Questions
Can I use bottled lemon juice?
Fresh lemon juice is preferable because the cake and glaze rely on a clear citrus flavor, and the zest adds an important aromatic note. Bottled juice can work for the measured juice if needed, but it cannot replace the zest. If using it, taste the glaze as you mix and adjust the powdered sugar or liquid for a smooth, balanced consistency.
Can I use light coconut milk?
Yes. Light canned coconut milk can be used in the same quantity, though the cake may have a little less richness. Shake or stir it until smooth before measuring. Avoid coconut beverages sold in cartons as a straight swap: they are generally thinner and may not provide the same texture as canned coconut milk.
How do I know the cake is done without overbaking it?
Start checking at 32 minutes. The center should spring back gently when touched, and a toothpick inserted in the middle should come out without wet batter. A few moist crumbs are fine. Ovens and pans vary, so treat the stated baking range as a guide and use these visual checks rather than waiting for the edges to become deeply brown.
Can I bake this in a different pan?
A 9-by-13-inch pan gives a convenient single-layer cake and the stated baking time. Two 8-inch round pans also work, but the layers are thinner and need less time, so begin checking around 22 minutes. For other pan sizes, avoid filling a pan close to the rim; the batter needs room to rise, and the baking time will change with its depth.
Can I make the cake ahead?
Yes. Bake it a day ahead, let it cool completely, and keep it covered. You can glaze it after it has cooled or shortly before serving. For the freshest-looking topping, add toasted coconut shortly before serving, since it can soften as it sits against the glaze.
Why did my cake turn out dense?
Common causes include too much flour, mixing the batter for too long after adding it, or leaveners that have lost their strength. Measure flour without packing it, fold only until the dry streaks disappear, and check that the baking powder and baking soda are not stale. Also confirm that the oven is fully heated before the pan goes in.