This Lime & Coconut Cake evokes the very best of those tropical island flavors. Tender coconut lime cake layers with a tangy lime curd and silky coconut buttercream.
Has anyone seen Practical Magic? You know that scene with the Midnight Margaritas? The entire time I was working on this cake, I had that and the Put the Lime in the Coconut song in my head. Love me a good Sandra Bullock movie. I watch that one every year around Halloween!
After my last cake recipe, I’m happy to report that all components of this cake came together without issue. I basically merged parts of my Lemon Elderflower, Key Lime Pie, and Coconut Cakes to form this Lime & Coconut Cake. The decorating though, that went as badly as you can expect when filling a cake with a soft lime curd.
How Do You Make Lime Curd?
Lime curd (any curd really) is super simple to make. You just mix some eggs, sugar + zest and juice from whatever citrus fruit you’re using. Cook it over low heat on the stove, stirring constantly until it thickens. Add butter, stir to melt, and you’re done. It will thicken a bit more as it cools.
You can strain your curd if you like, but I prefer to see the little bits of zest in there. If you’re worried you might have cooked some of the egg too much though, you can strain it to get any of those bits out.
I prefer to use whole eggs in my curd rather than just egg yolks. This is a matter of preference. I just like the look of a pale yellow curd vs. a rich yellow one. It just looks more natural to me, don’t ask me why! But if you have an egg yolk only curd recipe that you use and love, feel free to use that instead. Since the buttercream uses egg whites, you’ll have a bunch of yolks left over that you can use for it.
The lime & coconut cake layers baked up without issue, and I made my favorite Swiss Meringue Buttercream to go with the cake, flavoring it with a good bit of coconut milk powder. The trouble for me came with the assembly.
It’s been cold (and snowy) here, and we tend to keep our place warm – like 23°C (73°F) warm. This doesn’t usually have a huge impact on my cake baking/decorating, but in this case I had made the frosting the day before and just left it on the counter overnight. It was the perfect texture after rewhipping in the morning, but a bit on the softer side.
I frosted my cake, making sure to use a buttercream dam around the edges to hold in the lime curd on each layer, and gave it a good crumb coat all around. In hindsight, I may have put in a bit more curd than I should have, but it’s seriously too good not to!! All was going well, until I went to transfer the cake into the fridge.
I bumped the damn cake board on the fridge shelf, and the layers shifted because the frosting was so soft. They only slid slightly, but enough that the curd stared to ooze out the sides. Many expletives were thrown about. I took the cake back out, recentered the layers, stuck bamboo skewers through the top of the cake (in hindsight, I should have done this in the first place) and worked quickly to try and patch the leak(s). I had to put huge spackles of buttercream on my perfectly crumb coated cake to stop further leaks. It looked like a mess, not gonna lie, but it seemed to be holding.
For fear of another curd leak disaster, I chilled the cake much longer than I normally would before giving a final frosting pass — maybe like an hour instead of 20mins. I did not want to risk any more sliding. That seemed to do the trick. I removed the bamboo skewers and got to frosting the cake.
Unfortunately, the extra long chilling time and the chunky spackled sections made the cake difficult to frost. Well, difficult to get perfectly smooth, anyhow. The frosting was setting very quickly and firming up, so it made it harder to smooth out. I ended up having to use a heated (under hot water) metal scraper to even it out. It did an okay job.
You can’t see the imperfections in the pictures because I’ve edited them out via the magic of Photoshop! Ryan says no one would have noticed them, but a discerning cake decorator’s eye surely would have.
The rope border technique I used on the top of this cake is still my favorite. I’ve used this a few times before with a variety of piping tips.
If you want to see how I do it, you can check out the Baking Tips story highlight on my Instagram page.
Cake decorating issues aside, this Lime & Coconut cake was totally worth the effort because it is SO good. The coconut lime cake layers are delicious on their own, but get taken to a whole ‘nother level when paired with the best lime curd and coconut buttercream you’ll ever have.
I love lime and coconut together, but you could also do lemon or even orange instead if you prefer. Key lime and Meyer lemon are also great options!
If you don’t love the texture of shredded coconut in your cake (Ryan doesn’t) then you can leave it out. The coconut flavor will still shine through from the coconut milk and frosting.
Looking for more Tropical Desserts?
- Pina Colada Cake
- Sangria Cake
- Key Lime Pie Cake
- Coconut Cake
- Mini Key Lime Pies
- Aloha Bundt Cake
- Raspberry Mango Cake
Tips for making this Lime & Coconut Cake
- Be sure to use canned coconut milk, not the stuff in the carton, and shake it well before use. Mine was quite smooth, but it can separate a bit, so be sure to shake it!
- The coconut milk powder worked extremely well in the frosting, adding great flavor without affecting the texture.
- You can leave the shredded coconut out of the cake batter if you prefer a smoother texture.
- If you like, you can add a couple of Tbsps of coconut milk powder into the dry ingredients in the cake batter to enhance the flavor even more, especially if you leave out the shredded coconut.
- My lime curd uses whole eggs, but if you have a yolk-only lime curd recipe that you love, feel free to use that instead.
- You can use key limes instead of regular limes if you can get your hands on some.
- To make cupcakes, all you need to do is reduce the baking time — start checking at 15mins or so.
- Be sure to check my Swiss Meringue Buttercream post for tips and troubleshooting.
- Learn how to keep your cakes moist using simple syrup.
- To help ensure your cake layers bake up nice and flat, check out my Flat Top Cakes post!
Coconut Lime Cake
Ingredients
Coconut Lime Cake:
- 3 cups all-purpose flour
- 1 Tbsp baking powder
- 3/4 tsp salt
- 1 cup unsalted butter room temperature
- 1 Tbsp lime zest from about 1 1/2 limes
- 2 cups granulated sugar
- 4 large eggs room temperature
- 2 tsp vanilla extract
- 1 1/2 cup coconut milk room temperature
- 3/4 cup sweetened shredded coconut medium or large
Lime Curd:
- 3 large eggs
- 3/4 cup granulated sugar
- 1/4 cup lime juice fresh squeezed, from 2 1/2 limes
- 2 tsp lime zest from one lime
- 1/4 cup unsalted butter room temperature, cubed
Coconut Swiss Meringue Buttercream:
- 6 large egg whites
- 2 cups granulated sugar
- 3 cups unsalted butter room temperature
- 2 tsp vanilla extract
- 6-8 Tbsp coconut milk powder to taste
Assembly:
- simple syrup optional
Instructions
Coconut Lime Cake:
- Preheat oven to 325F. Grease and flour three 8″ cake rounds and line with parchment.
- In a medium bowl, whisk flour, baking powder, and salt until well combined. Set aside.
- Using a stand mixer fitted with a paddle attachment, cream butter and lime zest until smooth. Add sugar and beat on med-high until pale and fluffy (approx 3mins).
- Reduce speed and add eggs one at a time fully incorporating after each addition. Add vanilla.
- Alternate adding flour mixture with milk, beginning and ending with flour (3 additions of flour and 2 of milk). Fully incorporating after each addition. Gently fold in shredded coconut.
- Spread batter evenly between the prepared pans and smooth the tops.
- Bake for about 35mins or until a toothpick inserted into the center comes out mostly clean.
- Place cakes on wire rack to cool for 10mins then turn out onto wire rack to cool completely.
Lime Curd:
- Place eggs and sugar into a small pot, whisk to combine. Add lime juice and zest. Cook over medium-low heat whisking constantly until mixture thickens and coats the back of a spoon. Stir in cubed butter and whisk until smooth.
- Transfer to a glass bowl and lay plastic wrap directly on surface to prevent a skin from forming. Chill for 2 hours to set. Makes a little over 1 cup.
Coconut Swiss Meringue Buttercream:
- Place egg whites and sugar into the bowl of a stand mixer, whisk until combined.*
- Place bowl over a pot with 1-2″ of simmering water and whisk constantly until the mixture is hot and no longer grainy to the touch or reads 160F on a candy thermometer (approx. 3mins)
- Place bowl on your stand mixer and whisk on med-high until the meringue is stiff and cooled (the bowl is no longer warm to the touch (approx. 5-10mins)).
- Switch to paddle attachment. Slowly add cubed butter and mix until smooth.**
- Add 6-8 Tbsp coconut milk powder (to taste) one Tbsp at a time whip until smooth.
Assembly:
- Place one layer of cake on a cake stand or serving plate. Poke holes into the cake using a bamboo skewer. Brush with simple syrup if desired.
- Spread a thin layer of buttercream on top of the layer and pipe a border around the outside to hold the lime curd in. Fill with about 1/2 cup of lime curd. Repeat with next layer.
- Place final layer on top and do a thin crumb coat on the cake. Chill for 20mins.
- Frost the top and sides of the cake with remaining frosting. Smooth the sides and top and do a rope border with the remaining buttercream. Fill the center with large toasted coconut chips and sprinkle with lime zest if desired.
Notes
** The buttercream may look like it’s curdled at some point. Keep mixing until it is completely smooth.
Jackie says
I made this cake for my sister who is a fan of coconut cake and I was excited to bake something special for her. I loved the combination of lime and coconut here! The flavors blended together beautifully. I am planning on trying this recipe again, though I will try to cut back on the sugar. While the cake was delicious, it did come out very, very sugary!
Olivia says
Hi Jackie! I’m so glad you loved it 🙂
Hattie says
How earlier in advice can you make the lime curd? I am in the process of making the cakes right now but don’t need them until Wednesday
Olivia says
Hi Hattie! It will keep in the fridge for up to a week or you can freeze it for longer.
Hattie says
Is it possible to switch the lime to lemons and use same measurements?
Olivia says
Hi Hattie! Yes for sure, that will work fine.
Molly says
Hi liv I made this cake and it was fabulous-very popular with everyone, I made a tart lime/powder sugar syrup which I poured over the cakes after poking some holes. , I was thinking of including some coconut sugar next time. I really like the toggle to metric-very helpful. I’m trying the champagne cake next. I am practicing to make my sons wedding cake next year! So your site is really helping me with ideas.
Olivia says
Hi Molly! Thanks so much, your comment made my day 🙂 I’m so happy you like this cake. Let me know how the champagne cake turns out!
Molly says
I messed up on the champagne cake, I did a 3/5 recipe but must have got my numbers wrong, taste was good but it was very dense. I’ll try again, but first I’m trying your baileys coffee. The batter on that tastes really nice!
Olivia says
Love the Baileys one too! Did you tint the champagne cake to be pink? Sometimes overmixing when adding color can cause the cake to be overly dense.
Tanina says
Hi there! I just had a quick question! Which out of all your cakes happen to be the least dense?
Thanks in advance!
Olivia says
Hi Tanina! My cakes tend to be more on the dense side rather than light and fluffy. I’d say my chocolate cake recipe is probably the lightest. https://livforcake.com/chocolate-cake-recipe/
Rodney says
Making this cake for second time. First for brother in law b-day and now wife b-day. I add an extra 2 yolks(makes it much thicker) to the curd and 1/3 C lime juice. I heat it to exactly 170 degrees before taking off double boiler. I make the SMBC with the addition of 3oz of cream cheese(at very end you add smbc to CCH 1 TB at a time). For sides of cake I pipe vertical lines, for the top I pipe round rosettes going around border and a tiny dot of leftover curd on top of each rosette, I make lime twists for the decor(where you curl is around a pencil) Awesome recipe, and requests for it are getting out of hand 🙂
Olivia says
Hi Rodney! I am so happy you and your family love it! Thanks for all your tips 🙂
Jessica says
Just made this and my office was thrilled with the results. The buttercream came out great, which was a relief since the last time I made SMBC I messed it up. It would be nice to have weights and not just volumes for ingredients though. I’m currently living outside the US, so constantly have to look up weights because things like butter aren’t packaged the same.
Olivia says
Hi Jessica! So happy you loved it. There is a metric option in the recipe card 🙂
Noyah says
Ever try this with lemons, I don’t have limes that are good and need a quick birthday cake for hubby.
Olivia says
Hi Noyah! Lemon will work just fine and be equally delicous.
Diane Knill says
I made the cake using egg yolks instead of the whole egg,accidentally, but it turned out fine.Great flavor.
I found the Swiss meringue buttercream a little too buttery for my liking.I would have preferred a little more coconut flavor.
Olivia says
Hi Diane! So glad it still turned out well. SMBC is definitely more buttery than something like an American buttercream. You could add more coconut milk powder if you like to the frosting though 🙂
Mel Ferns says
Hi Ma’am. I’ve seen many recipes that ask for canned coconut milk. I live in a place where we get plenty of fresh coconuts. Can I use fresh coconut milk in the recipe. Kindly advise
Olivia says
Hi Mel! As long as it is coconut milk and not coconut water I think it should work fine 🙂
Pamela says
When do you add the vanilla to the meringue?
Olivia says
Hi Pamela! Sorry for the confusion. I add it with the coconut powder.
Isabelle says
Can I substitute cake flour for all purpose?
Olivia says
Hi Isabelle! Yes, that should work fine.
Vincenzo says
Delicious!
Lime curd: Followed exactly but cut in half. Came out perfect.
Cake: Reduced sugar by half but followed everything else. Baked for exactly 30 min and promptly removed from pan.
Buttercream: Divided recipe by 3 and followed directions. I had no curdling. The Swiss merengue was glossy white and smooth and the butter blended easily with it. I did not have coconut powder so I added 2T of coconut milk. Had enough for the middle layer and the top, which is exactly what I was after. I don’t have your mad piping skills, though! Your cake looks ace.
The cake is moist, with the perfect sweetness for my European pallet. The curd ties it all in.
Thanks for the recipe.
Olivia says
Hi Vincenzo! I’m so happy you loved it. Thanks for all your tips!
Kat says
Cake came out perfectly fine as well as the frosting. But I found the cake to be a bit so so flavor wise and it was also a bit to the dry side (baked as instructed) but still very edible. I even used a simple syrup. Glad this was the test run for a promised cake for next weekend. Frosting and curd recipes are keepers, but I may have to keep searching for a moister cake.
Olivia says
Hi Kat! Every oven bakes differently so baking times are just a guideline. It does sound like it was overbaked a bit. I would check on it sooner!
Francesca says
Hi there, your recipe looks divine and can’t wait to try it out! I have two questions:
1. Have you tried this with gluten free flour? (presume it will work, but sometimes there are issues)
2. Can you make a semi-naked iced cake with the SMB? I haven’t worked with it before, but keen to try it.
Thanks! 🙂
Olivia says
Hi Francesca! I have not tried it with GF flour myself but it should be fine as long as you use a proper all-purpose GF flour blend. You can totally do a demi naked cake with SMBC! Here are some examples: https://livforcake.com/earl-grey-cake/, https://livforcake.com/caramel-gingerbread-cake/, https://livforcake.com/milk-cookies-cake/.
Bonnie says
This cake was fabulous! I had no problem with your recipe. I will be using your Swiss butter cream recipe over and over.
Olivia says
So happy you loved it Bonnie! 🙂
Emmy says
I have a buttercream recipe I like that uses cream cheese and butter. Could I add the coconut milk powder to that, if I didn’t want to deal with the swiss meringue? Also can you make the Swiss meringue ahead of time?
Olivia says
Hi Emmy! Yes, that should work fine and yes you can make it in advance. I have a detailed tutorial here with info on storage: https://livforcake.com/swiss-meringue-buttercream-recipe/
Tina says
Hi Olivia, I was looking for a lime and coconut cake and saw the image of your cake so immediately clicked on it.
My sponge is baking away in the oven. As I am preparing for the swiss meringue buttercream, I noticed that the ratio of butter to egg and sugar is too much. I looked at your trouble shooting page for your SMB and the recipe on there actually reads 2 cups of butter not 3 cups of butter in this page’s recipe. This may be the off taste that some others were experiencing. So thought I’d run it to you.
My kitchen is smelling lovely and cannot wait to frost and eat it! This is my favourite flavour of cake, so thank you for the recipe.
It will be my first time making SMB so fingers crossed I don’t mess it up, happy to wat sponge only if it fails lol
Tina says
I’m meant that I’d happily eat the sponge on it’s own if the SMB fails lol
Olivia says
Hi Tina! Thanks so much for your input. The 6:2:3 ratio for Swiss meringue buttercream is standard and what we learned in Pastry school. This makes a lot of buttercream though (too much for most 2 layer cakes) which is why I reduced the amount of butter in my SMBC tutorial. You could scale it proportionally but I find that SMBC is somewhat forgiving to the amount of butter that’s added. This recipe is a larger cake and needs the full 3 cups.
I’m convinced that the people that find it too buttery are either 1) used to American buttercream or 2) not making it properly. The meringue needs to be stiff before adding the butter. I feel like some people ignore this (or use carton whites) and move forward with whatever meringue they have. If it’s not stiff the buttercream will be more dense and greasy in the end. The butter also needs to be incorporated slowly as to not deflate the meringue and then buttercream whipped really well at the end to fluff it up. Basically, it should not taste like you’re eating a stick of butter. If it does then something went off somewhere.
ANYhow, rant over (I’m not ranting at you btw!). I hope you love this recipe as it’s one of my favourites and the tropical flavours are just heavenly! Please let me know how your cake and buttercream turn out 🙂
Regina Dalpra Leibman says
Something went definitely wrong!! all I received was a blah for cake and meringue frosting was labeled just as plain butter slapped on a cake. I adjusted some things but the amount of butter for the frosting on this cake is way off and was too much! Even after I cut out a whole cup.
The cake layers should be cut in half and adjusted. The flavor is strange and actually not pleasing to the palate.
the lime curd was delicious definitely better than a lemon curd.. but it does get lost in the layers of cake. Doubling the lime curd recipe could be better.
Olivia says
Hi Regina! Sorry to hear you didn’t love this one. It sounds like the buttercream wasn’t made properly. It should not taste or feel overly buttery. I have a detailed tutorial here: https://livforcake.com/swiss-meringue-buttercream-recipe/ for troubleshooting. I’m not sure why you found the cake flavour strange? Can you elaborate? And the layers are already on the thinner side so not sure what you mean by them needing to be cut in half and adjusted. Did you change the pan size?
Kristin Bray says
If coconut milk powder can’t be found in local stores, what would you recommend as a substitute? Coconut cream, coconut extract? Your thoughts would be appreciated!
Olivia says
Hi Kristin! I don’t love to use extracts, especially coconut, as I find it to taste artificial, but that will be your best bet for getting the flavour to come through. I haven’t tried using coconut cream in the frosting and am not sure if it would incorporate well. I would add 1 Tbsp at a time and whip well in between. I wouldn’t add more than 4 Tbsp. Add additional flavour with extract if needed.
Kristin says
Sorry, for the repeat question, it disappeared on my end and I thought it was my error! I appreciate your insight and prompt response! Fingers crossed that it turns out ok!
Olivia says
Please let me know what you end up doing and how it turns out 🙂
Jill Singleton says
Hi There
My meringue is quite buttery and thick… Is it supposed to taste like butter??
Olivia says
Hi Jill! Was your meringue stiff before you added the butter? If so it sounds like it just needs more whipping time. See this post for tips and troubleshooting: https://livforcake.com/swiss-meringue-buttercream-recipe/
Alicia says
I made the cake with the coconut milk powder and it seemed to be on the dry side. I was wondering if it might absorb some liquid rehydrating in the batter. Thoughts? The flavor is outstanding but my cake crumbled a bit. Was hoping for a moist cake. I will for sure try adding simple syrup and see if that helps as well.
Olivia says
Hi Alicia! The coconut milk powder would absorb a bit of the liquid but if you only used 2 Tbsp it shouldn’t make the cake dry. Is it possible the cake was slightly overbaked? Simple syrup should help for sure! It’s a lifesaver 🙂