I made this cake for the first time on a warm afternoon when I was craving something bright and a little tropical. The combination of coconut and lime is one of those pairings that just works — fresh, fragrant, and not too sweet.
It’s become my favorite thing to bring to gatherings because it always gets asked about. I’ll show you how to get real coconut flavor into every layer and how to balance the lime so it’s present without being sharp. It’s a straightforward bake that feels a little special every single time.
Why You’ll Love This Recipe
This coconut lime cake is light, moist, and bursting with fresh flavor, making it perfect for any occasion. The combination of creamy coconut and tangy lime creates a balanced taste that feels indulgent without being overly rich.
It’s also surprisingly simple to make, even for beginner bakers. The ingredients are easy to find, and the steps are straightforward, so you can create a bakery-quality cake right at home without stress.
Another reason this cake stands out is its versatility. It works beautifully as a celebration cake, a weekend dessert, or even a sweet addition to a brunch table with family and friends.
Serves: 10–12 people
This recipe makes one standard 9-inch round cake, which can be sliced into 10 to 12 servings. You can also turn it into a layered cake or cupcakes if you’d like to adjust for different occasions.
Ingredients You’ll Need
For the Cake:
- 2 cups all-purpose flour
- 1 ½ teaspoons baking powder
- ½ teaspoon baking soda
- ½ teaspoon salt
- ½ cup unsalted butter, softened
- 1 ¼ cups granulated sugar
- 3 large eggs
- 1 tablespoon lime zest (from about 2 limes)
- ¼ cup fresh lime juice
- 1 teaspoon vanilla extract
- 1 cup coconut milk (full-fat for best texture)
- ½ cup shredded sweetened coconut
For the Lime Glaze (optional but recommended):
- 1 cup powdered sugar
- 2–3 tablespoons fresh lime juice
- 1 teaspoon lime zest
Pro Tips
Use fresh lime juice and zest for the best flavor. Bottled juice won’t give you the same bright, vibrant taste that makes this cake stand out.
Make sure your butter and eggs are at room temperature before mixing. This helps create a smooth batter and ensures the cake bakes evenly.
Do not overmix the batter once you add the dry ingredients. Gentle mixing keeps the cake light and tender instead of dense.
Shake or stir your coconut milk well before measuring. Coconut milk can separate in the can, and you want a smooth, consistent texture.
If you want extra coconut flavor, lightly toast the shredded coconut before adding it. This adds a subtle nuttiness and enhances the overall taste.
Let the cake cool completely before adding the glaze. This prevents it from melting and helps it set nicely on top.
Tools You’ll Need
- 9-inch round cake pan
- Mixing bowls (large and medium)
- Electric mixer or hand mixer
- Whisk
- Spatula
- Measuring cups and spoons
- Zester or fine grater
- Cooling rack
Substitutions and Variations
If you prefer a dairy-free version, you can replace the butter with a plant-based alternative. Coconut oil also works well and enhances the coconut flavor.
You can substitute all-purpose flour with a gluten-free baking blend if needed. Just make sure it includes a binding agent like xanthan gum for best results.
For a more pronounced coconut flavor, use coconut extract in addition to vanilla. This gives the cake a deeper tropical taste.
If you want a richer dessert, turn this into a layered cake with coconut or cream cheese frosting instead of a glaze. This makes it perfect for birthdays or special occasions.
You can also add a handful of white chocolate chips for a sweeter twist. The creamy chocolate pairs beautifully with the citrus and coconut flavors.
Make Ahead Tips
This coconut lime cake is a great option when you want to plan ahead without sacrificing freshness or flavor. You can bake the cake layers a day in advance and store them tightly wrapped at room temperature.
If you prefer to prepare even earlier, the cake layers can be frozen for up to two months. Wrap them well in plastic wrap and place them in an airtight container to prevent freezer burn.
The lime glaze can also be made ahead and stored in the refrigerator for up to three days. When ready to use, give it a quick stir and adjust the consistency with a little fresh lime juice if needed.
For best results, assemble and glaze the cake the day you plan to serve it. This keeps the texture soft and ensures the flavors taste bright and fresh.
Instructions
Step 1: Preheat and Prepare the Pan
Preheat your oven to 350°F and grease a 9-inch round cake pan. Lightly flour the pan or line it with parchment paper to prevent sticking.
Set the prepared pan aside while you begin mixing the batter. This step ensures a smooth baking process from start to finish.
Step 2: Mix the Dry Ingredients
In a medium bowl, whisk together the flour, baking powder, baking soda, and salt. Make sure everything is evenly combined to support proper rising.
This step helps avoid clumps and ensures the cake has a consistent texture. Set the bowl aside once mixed.
Step 3: Cream Butter and Sugar
In a large mixing bowl, beat the softened butter and granulated sugar together until light and fluffy. This usually takes about 2 to 3 minutes with an electric mixer.
Proper creaming creates a soft and tender crumb. It also helps incorporate air into the batter for a better rise.
Step 4: Add Eggs and Flavorings
Add the eggs one at a time, mixing well after each addition. Then mix in the lime zest, fresh lime juice, and vanilla extract until fully incorporated.
The batter may look slightly curdled at this stage, which is completely normal. It will smooth out once the dry ingredients are added.
Step 5: Combine Wet and Dry Ingredients
Gradually add the dry ingredients to the wet mixture, alternating with the coconut milk. Begin and end with the dry ingredients, mixing gently after each addition.
Stir just until everything is combined and smooth. Overmixing can make the cake dense instead of light.
Step 6: Fold in Coconut
Gently fold in the shredded coconut using a spatula. Make sure it is evenly distributed throughout the batter.
This adds texture and enhances the coconut flavor in every bite. Keep the folding gentle to maintain a soft batter.
Step 7: Bake the Cake
Pour the batter into the prepared cake pan and smooth the top. Bake for 30 to 35 minutes, or until a toothpick inserted in the center comes out clean.
The top should be lightly golden and spring back when touched. Avoid opening the oven too often to maintain even baking.
Step 8: Cool the Cake
Remove the cake from the oven and let it cool in the pan for about 10 minutes. Then transfer it to a cooling rack to cool completely.
Cooling fully is important before adding the glaze. It helps the cake set and prevents the glaze from melting.
Step 9: Prepare the Lime Glaze
In a small bowl, whisk together powdered sugar, lime juice, and lime zest until smooth. Adjust the consistency by adding more sugar or juice as needed.
The glaze should be pourable but not too thin. It should lightly coat the back of a spoon.
Step 10: Glaze and Serve
Once the cake is completely cool, drizzle the lime glaze evenly over the top. Let it set for a few minutes before slicing.
Serve the cake as is or with a light dusting of extra coconut. Each slice will be soft, fragrant, and full of bright flavor.
Serving Suggestions
This cake is wonderful served slightly chilled or at room temperature. The flavors become even more pronounced as it rests, making it perfect for gatherings.
Pair it with fresh berries for a simple and refreshing presentation. The natural sweetness of the fruit complements the citrus notes beautifully.
It also goes well with a dollop of whipped cream or a scoop of vanilla ice cream. These additions create a more indulgent dessert experience.
For a brunch setting, serve thin slices alongside tea or coffee. The light texture makes it an ideal mid-morning treat.
You can also garnish with extra lime zest or toasted coconut for a more decorative finish. These small touches add both flavor and visual appeal.
Leftovers and Storage
Store leftover coconut lime cake in an airtight container at room temperature for up to two days. Keep it in a cool, dry place to maintain its texture.
If you need to store it longer, refrigerate the cake for up to five days. Bring it to room temperature before serving for the best flavor and softness.
To prevent the cake from drying out, wrap it tightly or store it in a sealed container. This helps preserve its moisture.
You can also freeze individual slices for up to two months. Wrap them well and thaw at room temperature when ready to enjoy.
If the glaze becomes slightly sticky after storage, that is completely normal. It will still taste just as delicious.
Nutrition and Benefits
- Coconut milk provides healthy fats that contribute to a rich texture while supporting energy levels. It also enhances the overall flavor without needing heavy cream.
- Lime juice and zest add vitamin C and a fresh, bright flavor. This helps balance the sweetness and makes the dessert feel lighter.
- This cake uses simple, recognizable ingredients, making it a more wholesome homemade option. It allows you to control quality and avoid unnecessary additives.
- The recipe can be adapted for different dietary needs, including dairy-free or gluten-free variations. This flexibility makes it suitable for a variety of households.
- Moderate sweetness makes it enjoyable without being overwhelming. It’s a dessert that feels satisfying while still light enough for regular occasions.
Recipe FAQ
Can I use bottled lime juice instead of fresh?
Fresh lime juice is highly recommended for the best flavor. Bottled juice often lacks the brightness and freshness needed for this recipe. If you must use it, consider adding extra zest to boost the taste.
Why is my cake dense instead of fluffy?
Overmixing the batter is the most common cause of a dense cake. Be sure to mix just until the ingredients are combined. Also check that your baking powder and baking soda are fresh.
Can I make this cake into cupcakes?
Yes, this batter works well for cupcakes. Simply divide it into lined muffin tins and bake for about 18 to 22 minutes. Keep an eye on them to avoid overbaking.
How do I know when the cake is done?
Insert a toothpick into the center of the cake to check for doneness. If it comes out clean or with a few crumbs, the cake is ready. The top should also spring back when lightly touched.
Can I add frosting instead of glaze?
Absolutely, a cream cheese or coconut frosting works beautifully. It creates a richer dessert that’s perfect for celebrations. Just be sure the cake is completely cool before frosting.
What type of coconut is best for this recipe?
Sweetened shredded coconut is commonly used and adds both texture and flavor. You can also use unsweetened coconut if you prefer less sweetness. Either option works well.
Can I double this recipe?
Yes, you can double the ingredients to make a larger or layered cake. Just be sure to adjust baking time and use appropriate pan sizes. Always check for doneness with a toothpick.
A Bright and Tropical Slice of Comfort
This coconut lime cake brings together refreshing citrus and soft coconut flavor in a way that feels both simple and special.
It’s a dessert that fits beautifully into everyday moments as well as celebrations.
With its light texture and vibrant taste, it’s a recipe you’ll find yourself making whenever you want something a little uplifting and delicious.








