This lemon lime coconut vegan cake is a bright, tropical twist on a classic layer cake. The tender crumb is infused with fresh citrus zest and juice, while shredded coconut adds a gentle chew. A silky coconut buttercream frosting (made without dairy) ties it all together, creating a dessert that’s both refreshing and indulgent. It’s perfect for birthdays, brunches, or any time you need a sunny pick-me-up.
Ingredients
- For the cake:
- 2 ½ cups (315 g) all-purpose flour
- 2 tsp baking powder
- ½ tsp baking soda
- ½ tsp salt
- 1 ½ cups (300 g) granulated sugar
- ½ cup (120 ml) coconut oil, melted and cooled
- 1 ½ cups (360 ml) unsweetened almond milk (or other plant milk), at room temperature
- 2 tbsp fresh lemon juice
- 2 tbsp fresh lime juice
- 1 tbsp lemon zest (from about 2 lemons)
- 1 tbsp lime zest (from about 2 limes)
- 1 tsp vanilla extract
- 1 cup (80 g) unsweetened shredded coconut
- For the coconut frosting:
- ½ cup (112 g) refined coconut oil, softened (not melted)
- ½ cup (112 g) vegan butter or margarine, softened
- 3 ½ cups (420 g) powdered sugar, sifted
- 2 tbsp canned coconut milk (full-fat, shaken)
- 1 tsp vanilla extract
- Pinch of salt
- Optional: extra shredded coconut for garnish
Instructions
- Preheat and prep: Preheat your oven to 350°F (175°C). Grease and flour two 9-inch round cake pans, or line the bottoms with parchment paper.
- Mix dry ingredients: In a large bowl, whisk together the flour, baking powder, baking soda, and salt. Set aside.
- Combine wet ingredients: In a separate bowl, whisk the sugar, melted coconut oil, almond milk, lemon juice, lime juice, lemon zest, lime zest, and vanilla extract until well combined. The mixture may look slightly curdled—that’s fine.
- Make the batter: Pour the wet mixture into the dry ingredients and stir with a spatula until just combined. Fold in the shredded coconut. Do not overmix; a few lumps are okay.
- Bake: Divide the batter evenly between the prepared pans. Bake for 28–32 minutes, or until a toothpick inserted into the center comes out clean. The tops should be golden and spring back lightly when touched.
- Cool: Let the cakes cool in the pans for 10 minutes, then turn them out onto a wire rack to cool completely. This is crucial—frosting a warm cake will cause the frosting to melt.
- Make the frosting: In a large mixing bowl, beat the softened coconut oil and vegan butter together until smooth and creamy, about 2 minutes. Gradually add the powdered sugar, beating on low speed until incorporated. Add the coconut milk, vanilla, and salt. Increase speed to medium-high and beat for 2–3 minutes until light and fluffy. If the frosting is too thick, add more coconut milk a teaspoon at a time; if too thin, add more powdered sugar.
- Assemble: Place one cake layer on a serving plate. Spread about ¾ cup of frosting on top. Place the second layer on top. Frost the top and sides with the remaining frosting. If desired, press extra shredded coconut onto the sides of the cake for decoration.
Tips
- Room temperature ingredients: For the best texture, ensure your almond milk and coconut oil are at room temperature before mixing. Cold coconut oil can seize and create lumps in the batter.
- Zest before juicing: Always zest your lemons and limes before juicing them—it’s much easier. Use a fine grater and avoid the white pith, which is bitter.
- Refined vs. unrefined coconut oil: For the frosting, use refined coconut oil if you want a neutral coconut flavor. Unrefined (virgin) coconut oil will add a stronger coconut taste and aroma, which can be lovely but may overpower the citrus.
- Don’t overmix: Overmixing the batter develops gluten, which makes the cake dense and tough. Stir just until the flour disappears.
Serving Suggestions
Serve this cake at room temperature for the best flavor and texture. Pair it with a cup of hot tea or coffee. For an extra touch, garnish each slice with a twist of lime zest or a few toasted coconut flakes. It’s also delicious with a scoop of coconut sorbet on the side.
Variations
- Gluten-free: Substitute the all-purpose flour with a 1:1 gluten-free baking flour blend. The texture may be slightly more crumbly, but it will still be delicious.
- Extra citrus: Add 1 tablespoon of poppy seeds to the batter for a lemon-poppy seed twist, or swap the lime for orange zest and juice to make a lemon-orange coconut cake.
- Naked cake: Skip the side frosting and leave the cake “naked” with only the top frosted. This reduces the sweetness and makes for a rustic presentation.
- Frosting alternative: If you prefer a lighter option, use a simple glaze made from powdered sugar, lemon juice, and coconut milk, and drizzle it over the top.
Storage and Reheating
Store the cake in an airtight container at room temperature for up to 2 days. For longer storage, refrigerate for up to 5 days—bring to room temperature before serving. You can also freeze unfrosted cake layers (wrapped tightly in plastic wrap and foil) for up to 3 months. Thaw overnight in the refrigerator before frosting. Frosted cake can be frozen for up to 1 month; thaw in the fridge, then let it come to room temperature.
Frequently Asked Questions
Can I use coconut milk instead of almond milk in the cake?
Yes, you can use canned coconut milk (full-fat) or carton coconut milk. If using canned, the cake will be richer and slightly more dense. Just make sure to shake the can well before measuring.
Why did my cake sink in the middle?
This usually happens if the batter is overmixed or if the oven door is opened too early. Overmixing develops gluten, which can cause a dense texture. Also, avoid opening the oven during the first 20 minutes of baking.
Can I make this cake without coconut oil?
Yes, you can substitute an equal amount of neutral vegetable oil or melted vegan butter. The coconut flavor will be less pronounced, but the cake will still be moist.
How do I get a smooth frosting?
Make sure your coconut oil and vegan butter are properly softened—not melted. Beat them well before adding sugar, and sift the powdered sugar to avoid lumps. If the frosting is too stiff, add a little more coconut milk.
Can I use bottled lemon and lime juice?
Fresh juice is strongly recommended for the best flavor. Bottled juice often contains preservatives and lacks the bright, fresh taste. The zest is also essential, and that only comes from fresh fruit.
Is this cake suitable for people with nut allergies?
The cake itself is nut-free if you use soy milk or oat milk instead of almond milk. However, check the labels on your vegan butter and shredded coconut to ensure they are processed in a nut-free facility if you have severe allergies.