Zesty Key Lime Cake with Tropical Frosting
I love the smell of fresh limes in my kitchen. It reminds me of summer days and cool drinks by the pool. This zesty key lime cake is one of my favorite things to bake when I want something bright and happy. It is a simple cake that tastes like a vacation in every bite.
Today you will learn how to bake a soft lime cake from scratch. I will also show you how to make a sweet tropical frosting that uses coconut and pineapple. This recipe is perfect for birthdays or just a fun weekend treat with your family.
Grab your apron and get your oven ready for some baking fun! Check out the steps below to make your new favorite dessert.
Recipe Quick Info
- Prep Time: 25 minutes
- Cook Time: 35 minutes
- Servings: 12 people
- Difficulty: Easy
The Best Ingredients for Your Tropical Cake
Getting the right items from the store is the first step to a great cake. Limes are the star here, so try to find the best ones you can. Even if you cannot find real key limes, regular limes work just fine. I find that heavy cream and real butter make the texture much better than using oil or milk alone.
You do not need fancy tools to make this happen. A simple hand mixer and a couple of bowls are all it takes. This cake is great for beginners who want to move past box mixes. It is honest food made with simple things you can find at any grocery store.
Shopping List for the Lime Cake

To make the cake base, you will need a few basic things. Most of these might be in your pantry right now. Using fresh lime juice is much better than the stuff in a green plastic bottle. The flavor is sharper and much more real.
- 2 and a half cups of all-purpose flour
- 1 and a half cups of white sugar
- 1 teaspoon of baking powder and half a teaspoon of baking soda
- 1 cup of unsalted butter at room temperature
- 3 large eggs
- Half a cup of fresh lime juice
- 1 tablespoon of lime zest (the green part of the skin)
- 1 cup of sour cream
Ingredients for the Tropical Frosting

The frosting is what makes this cake feel like it came from a beach island. It is thick, creamy, and very sweet. I like to add a little bit of crushed pineapple to give it a nice texture. If you do not like coconut, you can leave the flakes out, but they add a nice crunch.
- 8 ounces of cold cream cheese
- Half a cup of butter, softened
- 4 cups of powdered sugar
- 2 tablespoons of pineapple juice
- Half a cup of sweetened shredded coconut
- A tiny pinch of salt
How to Bake Your Key Lime Cake
Baking can be scary if you are new to it, but I promise this is easy. The main trick is not to over-mix the batter once you add the flour. If you mix too much, the cake becomes tough like bread instead of soft like a cloud. I learned this the hard way when I first started baking and made a cake as hard as a rock!
I suggest keeping all your cold items on the counter for a bit before you start. This helps the butter and eggs mix together smoothly. If your butter is too cold, you will have little yellow lumps in your cake. Nobody wants a lump of butter in their slice of cake. FYI, it helps to use a timer so you do not forget the cake in the oven.
Mixing the Cake Batter

Start by hitting your butter and sugar together with a mixer until it looks fluffy. This usually takes about three minutes. Add your eggs one at a time and mix well after each one. This builds a strong structure for your cake so it does not fall flat in the middle.
- Whisk your flour, baking powder, and soda in a small bowl.
- Mix the lime juice and sour cream in another cup.
- Add a little flour to the butter mix, then a little lime mix.
- Keep doing this until everything is combined.
- Stir in the lime zest last to keep the flavor fresh.
Baking and Cooling the Layers

Turn your oven to 350 degrees before you start mixing. Grease two round pans with butter or spray so the cake does not stick. I always put a circle of parchment paper at the bottom of the pan. This is a pro tip that saves me from many broken cakes! Pour the batter evenly into both pans and smooth the tops.
Bake them for about 30 to 35 minutes. You can check if they are done by poking a toothpick into the center. If it comes out clean, they are ready. Let them sit in the pans for ten minutes before you flip them onto a wire rack. They must be totally cool before you even think about frosting them, or the frosting will melt into a puddle.
Making the Creamy Frosting

While the cakes cool, you can make the tropical topping. Beat the cream cheese and butter until there are no lumps. Slowly add the powdered sugar so it does not fly all over your kitchen. Once it is smooth, stir in the pineapple juice and the coconut. IMO, this is the best part of the whole recipe because it smells so good.
Pro Baking Tip
- Zest First: Always grate the lime skin before you squeeze the juice out. It is almost impossible to grate a squishy, squeezed lime!
Tips for a Perfect Tropical Dessert
I have made many mistakes in the kitchen so you do not have to. One time I used too much juice and the cake became soggy. Another time I forgot the salt and the frosting tasted flat. Salt is very important because it makes the sugar and lime flavors pop. It might seem strange to add salt to a cake, but it really helps.
This cake is quite sweet, so it pairs well with something tart. If you want to change it up, you can use lemons instead of limes. It will be a lemon-coconut cake instead, which is also very yummy. Just remember that lime juice is a bit more sour than lemon juice, so you might need a tiny bit more sugar.
Decorating and Serving Suggestions

To put the cake together, place one layer on a plate and spread some frosting on top. Place the second layer on top of that. Cover the whole cake with the rest of the frosting. I like to use a flat knife to make pretty swirls in the cream. You can press more coconut onto the sides of the cake if you like a lot of crunch.
Serving this cake cold is the way to go. The cream cheese frosting stays firm and the lime flavor gets stronger when it is chilled. I think it looks beautiful with thin lime slices on top. You could also serve it with a scoop of vanilla ice cream or some fresh berries on the side.
How to Store Your Leftover Cake

Because this frosting has cream cheese, you must keep the cake in the fridge. Put it in a container with a lid or cover it with plastic wrap. It will stay fresh and moist for about four days. If you want to keep it longer, you can freeze individual slices in bags. Just let them thaw on the counter for an hour before you eat them.
One limitation of this cake is that it does not do well in very hot weather. If you are having a party outside in the summer, keep the cake inside until it is time to eat. The frosting will start to slide off if it gets too warm. Keeping it cool is the key. It tastes better that way anyway!
Common Questions About Lime Cake
Can I use bottled lime juice?
You can, but fresh is much better. Bottled juice can sometimes taste bitter or metallic in a baked cake.
What if I don’t have sour cream?
Plain Greek yogurt is a great swap. It keeps the cake just as moist and adds the same tangy flavor.
How do I stop my cake from sticking?
Use butter and a light dusting of flour on the pans. Parchment paper on the bottom is the safest way.
Can I make this into cupcakes?
Yes! Bake them at the same heat for about 18 to 22 minutes. This recipe makes about 24 cupcakes.
Is this cake very sour?
No, it is a nice mix of sweet and tart. The sugar and frosting balance out the sharp lime juice perfectly.
Sweet Summer Vibes in Every Slice
This zesty key lime cake is a wonderful way to bring sunshine to your table. It is easy to make, looks beautiful, and tastes like a tropical dream. I hope you enjoy baking this for your friends and family as much as I do! Happy baking!
