Coconut Lime Cake
This stunning coconut lime cake is made of soft and tender coconut cake layers, homemade lime curd filling, and a coconut-lime buttercream. It’s a crowd favorite!

Birthday cakes are my favorite thing to bake. I mean, how can they not be? They’re doubly special— the cake is usually a little fancier and put together, and it’s always made with so much love.
I baked this coconut lime cake to celebrate my husband’s birthday this past weekend, and it was perfect. A version of this cake has been on my site for many years, from another birthday of his actually, and I had a vision to make it even better. More coconut. More lime. More wow.

About this coconut lime cake
Here’s what you’ll find in this layer cake:
- Coconut cake layers from my crazy popular southern coconut cake. (Why reinvent the wheel, right?)
- A filling of homemade lime curd that’s super zesty and bright with flavor.
- Luscious coconut-lime Swiss meringue buttercream to cover the whole thing.
Swiss meringue buttercream is slightly more complicated than traditional classic buttercream, but the work is more than worth it. This frosting is so light in both flavor and texture, and not too sweet.
How to decorate this cake
You can decorate the cake however you like, but I kept mine simple with swirls of frosting on top, toasted coconut, and lime slices. The hubby definitely loved this cake, and so did the rest of us! And I’ve made it many times since.

baking tip:How to prep and store cake layers in advance

Cake resources

Coconut Lime Cake
Ingredients
FOR THE CAKE:
- 5 large egg whites
- 1 ½ cup (360 grams) canned unsweetened coconut milk , divided
- 1 tablespoon coconut flavoring
- 3 cups (340 grams) cake flour
- 2 â…“ cups (470 grams) granulated sugar
- 4 ½ teaspoons baking powder
- ½ teaspoon salt
- 1 cup (226 grams) unsalted butter , softened to room temperature
LIME CURD FILLING:
- ½ cup (112 grams) fresh lime juice
- Zest of 2 limes
- ½ cup (100 grams) granulated sugar
- 5 large egg yolks
- ¼ cup (56 grams) unsalted butter
- Food coloring , optional (see Notes)
COCONUT-LIME BUTTERCREAM:
- 5 large egg whites
- 1 ¼ cups (250 grams) granulated sugar
- 2 cups (450 grams) unsalted butter , at room temperature
- ¼ cup coconut milk or cream of coconut
- Zest of 2 limes
- 1 teaspoon coconut extract
- Approximately 1 cup toasted coconut , sweetened or unsweetened
Equipment
Instructions
TO MAKE THE CAKE:
- Preheat oven to 350°F. Butter and flour two or three 8-inch or 9-inch cake pans and line with parchment paper. (See Notes)
- In a small bowl, whisk together the egg whites, ½ cup of the coconut milk, and coconut flavoring.
- In the bowl of a stand mixer fitted with a paddle attachment, combine the flour, sugar, baking powder, and salt. Add the butter and remaining 1 cup coconut milk and combine on low speed until moistened. Increase speed to medium and beat until light and fluffy, about 2 minutes, scraping down the sides of the bowl as needed.
- Add the egg white mixture in 3 additions, scraping down the sides of the bowl and mixing just long enough to incorporate between additions.
- Divide the batter among the prepared pans and bake for 35-40 minutes or until a toothpick inserted into the center comes out clean. Allow the cakes to cool in their pans for 10 minutes, then turn them out onto cooling racks to cool completely.
- Cake layers can be made in advance. Wrap in plastic wrap and store in the fridge for up to 4 days or in the freezer for several months. Defrost before assembling.
TO MAKE THE LIME CURD:
- Add the lime juice, zest, and sugar to a small saucepan set over medium heat. Heat until sugar is dissolved, stirring occasionally.
- Add egg yolks to a medium bowl. While whisking constantly, add the heated lime juice mixture in a small steady stream until completely combined.
- Return mixture to the saucepan and cook over medium heat until thickened, 4-5 minutes, stirring constantly. Mixture should coat the back of a spoon. Stir in butter.
- Pass lime curd though a mesh strainer to remove zest and any egg bits. Stir in green extract if using. Chill completely.
TO MAKE THE COCONUT-LIME BUTTERCREAM:
- In the bowl of the stand mixer, combine the egg whites and sugar. Place over a pot of simmering water. The bottom of the bowl should not touch the water.
- Heat egg mixture, stirring frequently, until sugar is completely melted and it's hot to the touch. For best results, insert a candy thermometer and heat mixture to 160°F.
- Transfer bowl to the stand mixer and beat with the whisk attachment on high speed until cooled and egg whites have medium peaks, about 5 minutes.
- Reduce mixer speed to medium and add butter a tablespoon at a time. Egg whites will deflate a bit and may appear soupy, but will thicken and come together once all the butter has been added. If not, chill in the fridge for 15 minutes, then whip some more.
- Stir in coconut milk or cream and lime zest and beat until light and fluffy.
TO ASSEMBLE CAKE:
- Add about 1 cup of butter cream to chilled lime curd and stir until smooth.
- Remove any domed cake tops and/or split cake layers if desired (see my full tutorial). Place one cake layer on a cake stand or plate.
- Pipe or frost a small "dam" of buttercream around edge of the cake layer (this will keep the curd from leaking out while you assemble.). Spread ½ or ⅓ of lime curd mixture (depending on how many layers you have) into the center. Top with another cake layer.
- Repeat with remaining cake layers.
- Frost entire cake with buttercream and decorated as desired. Top with toasted coconut.
- Store cake in the fridge for at least 30 minutes before serving, and leftovers may be stored in the fridge for up to 4 days.
Notes
- This cake can be baked in either 8 or 9-inch pans. I prefer 8-inch as it makes a taller cake, but it’s up to you. You can use 2 or 3 pans, depending on the look you’re going for: double layer (2 pans), triple layer (3 pans), or quadruple layer (2 pans, then slice each layer in half). I’ve had some comments about the batter not fitting in two 8-inch pans. My pans are 4 inches deep and can accommodate a lot of batter. If you have only 2-inch deep pans, consider using 3 pans or 9-inch pans.
- Lime curd is naturally yellow in color. If you’d like it to be green, I suggest adding a tiny bit of blue gel food coloring. You can always add more, so start small. Adding green coloring will actually make it more of a neon green color.
- To toast coconut: spread into a single layer on a sheet pan and bake at 350 degrees for about 3-5 minutes. Watch closely to make sure it doesn’t burn. Let cool completely.
- For help assembling and building your cake, see my complete tutorial on how to build a layer cake.
Note: This recipe was originally published on Completely Delicious in January 2010.


Love this cake and always a hit.
Just make sure you look at measurements, the creator too. When you use the button to adjust to x.5 x1 or x2 all the gram weights stay the same.
Make sure you check before making.
Hi Luke! This adjusting feature is new on my site, and I have been going through to correct issues individually, which is hard when you have hundreds of recipes! Thank you for bringing this recipe to my attention, it has now been fixed and gram measurements should now adjust automatically with that button.
I finally made this after having it on my “to make” list forever. It turned out super tasty, but it was a lot of work! My favorite part was the lime curd. Kinda wish I had doubled that so I could use it on my toast or yogurt!
A few little things–you should put the optional food coloring in the actual instructions instead of just listing it in the ingredients with a note.
Also the coconut extract in the buttercream is not in the instructions.
You mistakenly called it “lemon” curd in step 4 of the curd.
I think I overmixed the frosting and it started to separate, so maybe make a note about when to stop mixing. It became chunky and adding the coconut milk just made it worse (but I still used it and just covered the whole cake with coconut, lol).
Thanks for the challenging, yummy recipe!
I followed the recipe exactly as written but the cake layers turned out very very dense. They looked like they had no crumb at all and almost looked underbaked, even though the cake was in the oven for 41 minutes and a toothpick came out clean. Wondering what I may have done wrong, any ideas? I used cake strips on the outside of the pan but don’t know if that might be connected to the cake being so dense.
When I saw this cake I knew it would be perfect for my friends birthday. My husband made it, and it turned out perfectly! We will definitely be saving this recipe ? Thank you so much for sharing! It was fluffy , light, and delicious ?.
Curious if anyone has tried using key limes?Â
I made this cake for my mom’s birthday. It is still hands down the best thing I have ever baked. Exquisite in appearance, and down right indulgent to taste, one slice simply isn’t enough. Quite a lot of effort went in to making it but it was so much fun and the results did not disappoint. Everyone at the party raved about it. 10/10
I want to make the cake in a 9×13 pan (quarter sheet) and then cut three 6″ circles from that. Is the recipe enough for a 9×13 pan? Thanks so much!
Hi Annalise!
  Curious if you are using coconut milk from a can/carton as the ingredients in both vary widely (ie. sugar, salt content plus the cartons usually have lots of additives)! Hoping to have all of the proper ingredients on hand before making this for my daughter’s birthday next week.
Thank you! 🙂
Warm Regards,
Nikki
Thanks for this great recipe.  I made it for my daughter’s birthday yesterday and it was loved by all.  I didn’t have any coconut essence but still tasted delicious without.  I used vanilla essence in the cake and lime juice in the frosting instead.
Hi Annalise
My sponge did not rise, I wonder what I done wrong ! White whites and coconut milk was not stiff could this be a reason?
Yeah I cant get my egg whites to whip at all. What am I doing wrong?
I have a similar question. Is the goal when whipping the egg whites, 1/2 c coconut milk and extract to incorporate a lot of air in the batter or to just combine? I’m curious if the baking powder is the sole source of leavening? I made the cakes and they are quite sunken in the middle telling me that I didn’t leaven enough or there’s too much sugar. I decreased the baking powder by 1/2 tsp because I’m at altitude, but in reading comments, I see that I’m at relatively the same altitude as Annalise at 5000 ‘. I’m going to try again, and appreciate any insight you can offer. Thank you 🙂
Nope, the egg whites are not whipped, just whisked together with the other wet ingredients. The leavening power comes from baking powder alone, and if you’re having trouble with the cakes sinking it could be a lot of reasons, like under-baking, over or under mixing, the baking powder is expired, etc. Cakes can be tricky at higher altitude but I am at almost 5000ft and have baked this cake successfully literally dozens of times. Happy to troubleshoot more with you if you want to send me an email at completelydelicious@gmail.com. 🙂
Hi Annalise
Is coconut flavoring stronger than coconut extract, do I use the same amount for either or.
You can use them interchangeably!
Hi Annalise.. I cant seem to find coconut extract or flavoring. What can I do? Please advise
Hmm, maybe try buying online? There’s really no substitute for getting a concentrated coconut flavor. Good luck!
I made this cake yesterday for my 60th birthday. It was fabulous! So tender, great flavor. Everything was perfect. I am now a big fan of yours!
Yay! Thanks so much Karen. Glad it turned out so well for you. 🙂