The Best Key Lime Cake Recipe (That Actually Tastes Like Key Lime Pie!)
I’ll never forget the first time I tried to make a key lime cake. It was for my sister’s birthday, and she’s obsessed with anything key lime – key lime pie, key lime cookies, you name it. I thought, “How hard could it be?” Famous last words, right?
That first attempt was basically a vanilla cake with green food coloring and a squeeze of regular lime juice. It looked pretty but tasted like disappointment with a side of artificial citrus. My sister was sweet about it, but I could see in her eyes that I’d missed the mark completely. That’s when I became determined to crack the code on a key lime cake that actually delivers that perfect balance of tart and sweet that makes key lime pie so addictive.
After way too many failed attempts (and a small fortune spent on key lime juice), I finally nailed it. This key lime cake has that bright, tangy punch you’re craving, plus the most incredible cream cheese frosting that tastes like the filling of a key lime pie. It’s become my go-to dessert for summer gatherings, and I’ve had people literally ask me to make it for their birthdays instead of traditional chocolate cake.
Table of Contents

Why You’ll Love This Key Lime Cake
This isn’t just another citrus cake with a fancy name. The secret is using real key lime juice (trust me on this one) and adding it in multiple places – the cake batter, a simple syrup that gets brushed on the layers, and the frosting. It creates these layers of flavor that hit you at different moments when you take a bite.
The texture is incredibly moist thanks to sour cream in the batter, and there’s just enough sweetness to balance out that signature key lime tartness. Plus, it looks absolutely gorgeous with its pale yellow crumb and creamy white frosting. It screams summer celebration.
What You’ll Need

For the Cake:
- 2 1/2 cups all-purpose flour
- 2 1/2 teaspoons baking powder
- 1/2 teaspoon salt
- 1 3/4 cups granulated sugar
- 1/2 cup unsalted butter, softened
- 1/4 cup vegetable oil
- 4 large eggs, room temperature
- 1 cup sour cream
- 3/4 cup whole milk
- 1/3 cup fresh key lime juice (about 15-20 key limes)
- 2 tablespoons key lime zest
- 1 teaspoon vanilla extract
For the Key Lime Simple Syrup:
- 1/4 cup granulated sugar
- 1/4 cup water
- 3 tablespoons key lime juice
For the Cream Cheese Frosting:
- 8 oz cream cheese, softened
- 1/2 cup unsalted butter, softened
- 4 cups powdered sugar
- 1/4 cup key lime juice
- 1 tablespoon key lime zest
- 1/4 teaspoon salt
Let me talk about the key lime juice situation for a second. Yes, it’s more expensive than regular lime juice, and yes, those tiny key limes are a pain to juice. But here’s the thing – key limes have this unique flavor that’s more floral and less harsh than regular Persian limes. If you absolutely can’t find key limes or key lime juice, you can substitute with regular lime juice, but add an extra tablespoon and maybe a tiny pinch of lemon zest to get closer to that complex flavor.
Let’s Make This Cake

Prep Your Pans and Oven
Preheat your oven to 350°F and grease two 9-inch round cake pans. I like to line the bottoms with parchment paper too – learned that lesson after having a beautiful cake stick to the pan and fall apart when I tried to turn it out.
Mix the Dry Ingredients
In a medium bowl, whisk together the flour, baking powder, and salt. Set this aside – we’ll need it in a minute.
Cream the Butter and Sugar
In a large mixing bowl, beat the softened butter and sugar together until it’s light and fluffy, about 3-4 minutes. This step is crucial for getting a tender cake, so don’t rush it. Add the vegetable oil and beat for another minute.
Add the Eggs
Beat in the eggs one at a time, making sure each one is fully incorporated before adding the next. The mixture might look a little curdled at this point – that’s totally normal.
Alternate Wet and Dry
Here’s where it gets a little technical, but stick with me. You’re going to alternate adding the dry ingredients and the wet ingredients, starting and ending with the flour mixture.
Add about 1/3 of the flour mixture and mix on low speed just until combined. Then add half of the sour cream, milk, key lime juice, and vanilla (I like to whisk these together in a measuring cup first). Mix until just combined. Add another 1/3 of the flour, then the rest of the wet ingredients, then the final 1/3 of flour.
The key here is to not overmix – as soon as you don’t see streaks of flour, stop mixing. Overmixed cake is tough cake, and nobody wants that.
Fold in the Zest
Gently fold in that beautiful key lime zest. This is where your kitchen starts to smell absolutely amazing.
Bake the Layers
Divide the batter evenly between your prepared pans. I use a kitchen scale for this because I’m a little obsessive about even layers, but eyeballing it works fine too. Bake for 25-30 minutes, until a toothpick inserted in the center comes out with just a few moist crumbs.
Let the cakes cool in the pans for about 10 minutes, then turn them out onto wire racks to cool completely. I know it’s tempting to start frosting while they’re still warm, but trust me – wait for them to cool completely or your frosting will melt into a mess.
The Simple Syrup Game-Changer
While your cakes are cooling, make the simple syrup. Combine the sugar, water, and key lime juice in a small saucepan and bring to a boil. Stir until the sugar dissolves, then let it cool completely.
This might seem like an extra step, but it’s what takes this cake from good to incredible. When you brush this syrup onto the cake layers, it adds moisture and another hit of that key lime flavor that soaks right into the cake.
Let’s Talk About This Frosting
This cream cheese frosting is basically key lime pie filling in spreadable form, and I’m not even sorry about that.
Beat the softened cream cheese and butter together until smooth and fluffy, about 3 minutes. Gradually add the powdered sugar, beating well after each addition. Finally, beat in the key lime juice, zest, and salt.
The frosting should be smooth and pipeable but still hold its shape. If it’s too thin, chill it for 15-20 minutes. If it’s too thick, add a tablespoon of milk.
Putting It All Together
Place one cake layer on your serving plate and brush generously with the key lime syrup. Spread about 1/3 of the frosting on top, then add the second layer. Brush with more syrup, then frost the top and sides with the remaining frosting.
I like to garnish with a little extra key lime zest and maybe some thin lime slices if I’m feeling fancy. The cake actually tastes even better the next day after all those flavors have had time to meld together.
Tips from My Kitchen
Room Temperature Ingredients: I know I mentioned this, but it’s so important. Cold eggs and dairy can cause the batter to curdle, and you’ll end up with a denser cake. Take everything out about an hour before you start baking.
Don’t Skip the Syrup: Seriously, this step makes all the difference. I tried making this cake without it once to save time, and it was noticeably less flavorful and moist.
Storage: Keep this cake covered in the refrigerator because of the cream cheese frosting. It’ll stay fresh for up to 5 days, though it never lasts that long in my house.
Make-Ahead Option: You can bake the cake layers a day ahead and wrap them tightly in plastic wrap. Just make the syrup and frosting the day you plan to assemble.

Serving Suggestions
This cake is perfect for summer barbecues, birthday parties, or any time you want to transport people straight to a tropical paradise. I love serving it with fresh berries – the tartness plays beautifully with the sweet cake and creamy frosting.
It also pairs surprisingly well with a scoop of vanilla ice cream if you want to go completely over the top. And if you’re feeling really fancy, a drizzle of raspberry coulis makes it look like something from a high-end bakery.
The best part about this key lime cake is that it tastes like you spent hours perfecting it, but it’s actually pretty straightforward to make. Just don’t tell anyone how easy it was – let them think you’re a baking genius. I certainly won’t give away your secret.