This post may contain affiliate links. Please read our disclosure policy.
Moist key lime cake with sweet cream cheese frosting. A light and fluffy citrus lime cake with the perfect lime buttercream frosting! This is the best lime cake recipe!

Key Lime Cake with Cream Cheese Frosting
I work long and hard to perfect my cake recipes. I take baking cakes pretty seriously and want to pass on these tried and true recipes to my children, grandchildren, great-grandchildren…so they better be perfect!
I have been baking since the time I could climb up on a stool and help my Mom in the kitchen. Baking cakes and cookies for my friends and family have always been my favorite thing to bake! I shared how my kids get to choose the flavor of their birthday cake every year and they get pretty creative! Since my daughter, Sadie, is obsessed with anything lime flavored, I knew this had to be her special birthday cake.
This is literally one of my husband’s favorite cakes I have ever made. It is seriously the best lime cake!

Why you will love this Key Lime Cake Recipe:
- Tangy and Sweet: Fresh key lime juice and zest provide a burst of citrus flavor.
- Ultra-Moist: This is the moistest lime cake recipe!The oil-based cake batter and whole milk or buttermilk keep the crumb soft.
- Cream Cheese Frosting: Perfectly complements the zingy lime flavor, creating a balance of tart and sweet.

We just returned home from a Caribbean cruise with the family and had the best time! It was so nice to be away from cellphones and laptops and reconnects as a family. My kids felt like Kings and Queens with access to unlimited food and drinks! Our favorite virgin non-alcoholic drink was definitely the mojito — made with fresh lime juice and mint. This drink was the inspiration for this fresh key lime cake!
Key Lime Cake Ingredients:
Here is a list of ingredients used in this homemade lime cake recipe. Scroll down to near the bottom of the page to find the recipe card with the amounts listed.

KEY LIME CAKE INGREDIENTS:
- Canola, Vegetable or Olive Oil: A neutral-flavored oil (like canola or vegetable ensures moisture without altering the key lime flavor. It helps create a moist crumb.
- Eggs
- Whole Milk or Buttermilk: The acidity in buttermilk reacts with baking powder for extra lift and a softer crumb
- Fresh Lime Zest: Adds concentrated citrus oils and flavor.
- Fresh Lime Juice: Provides tangy flavor and acidity, helping tenderize the cake.
- Sugar
- Flour
- Baking Powder
- Baking Soda
- Salt
Lime Cream Cheese Frosting:
- Butter (softened): Use salted butter or if you use unsalted butter, add a pinch of salt for flavor.
- Cream Cheese (softened): Always use full-fat block cream cheese.
- Powdered Sugar: Sweetens and stabilizes the frosting. You can adjust the amount based on desired thickness.
- Fresh Lime Juice
- Fresh Lime Zest
- Fresh Limes (sliced for garnish)
What type of oil should I use in cake recipes?
A neutral oil like vegetable or canola is best. Olive oil can also be used but I would suggest using a mild olive oil. I have shared my Lemon Olive Oil Cake Recipe, my Olive Oil Cake Recipe and my Orange Olive Oil Cake Recipe and look for a mild tasting olive oil. I also share a Chocolate Olive Oil Cake Recipe.

How to make the Best Key Lime Cake (the best tips and tricks):
- Preheat oven to 325 degrees. In a large mixing bowl, add oil, eggs, whole milk, lime zest, and lime juice. Cream for 2 minutes.

- In a large bowl, add sugar, flour, baking powder, baking soda, and salt. Stir into egg mixture and fold.

- Spray two 9-inch or three 8-inch cake pans with nonstick cooking spray. Place batter into baking pans. If using three 8-inch pans, bake for 20-26 minutes or until toothpick comes out clean. If using two 9-inch pans, bake for 28-36 minutes. Cool.

To make Lime Cream Cheese Frosting:
- In a large bowl, cream together butter and cream cheese for 4-5 minutes until light and fluffy, scraping sides of bowl often. Add powdered sugar, lime juice, lime zest, and cream together. Chill.
- Remove cakes from pan. Spread frosting on top of one cooled cake layer. Place the other cooled cake layer on top and spread frosting all over. Garnish with fresh lime slices.

Frosting Tips:
Should I freeze the cake before frosting? I suggest doing so. Freezing (or refrigerating) the layers for 20-30 minutes can make them sturdier and reduce crumbs while frosting. This is especially helpful if your cake is very soft or you are frosting in warm conditions.
What is a crumb coat and how does it help? A crumb coat is a thin layer of frosting that locks in stray crumbs. After applying a thin coat, chill the cake for 15 minutes to let it set. Then apply a thicker, final coat of frosting on a smooth, crumb-free surface.
How to thicken cream cheese frosting? If your frosting feels soft, add 1/2 cup of powdered sugar at a time until the desired consistency is reached. Chilling the frosting can help too.

How to Decorate a Key Lime Cake:
Frosting Layers: Place one cake layer on a plate or cake stand. Spread frosting evenly on top. Top with the second layer (or continue stacking for 3 layers if you used 8-inch pans). Frost sides and top.
Piping & Garnish:
Use a piping bag to create decorative swirls along the edges.
Top with lime slices, lime zest, or candied lime peels for a pop of color.

Baking Times for Different Pan Sizes:
This Key Lime Cake with Cream Cheese Frosting can be made as a layered cake with two 9-inch cake pans or three 8-inch cake pans or in a 9 x 13 pan.
- Three 8-inch round pans: Bake for 20–26 minutes, checking at the 20-minute mark.
- Two 9-inch round pans: Bake for 28–35 minutes, checking at the 25-minute mark.
Every oven can vary slightly, so keep an eye on the cakes. If the surface springs back lightly when touched, it’s a good indicator they’re done.

Frequently Asked Questions (FAQ’s):
1. Can I use regular lime juice instead of key lime juice?
Yes! Regular lime juice is less intense and has a slightly different tang, but it still tastes delicious.
2. Should I freeze or refrigerate the cake layers before frosting?
It’s often helpful. Refrigerate your cooled cake layers for about 30–45 minutes or lightly freeze them for ease of frosting. This step is optional but recommended, especially if you are doing a crumb coat.
3. How do I thicken cream cheese frosting if it’s too soft?
Add more powdered sugar (½ cup at a time) or refrigerate the frosting for 15–20 minutes to let the butter and cream cheese solidify slightly.
5. What is a crumb coat and do I need one?
A crumb coat is a thin, initial layer of frosting that “locks in” crumbs before applying the final, thicker coat. It gives a cleaner, more professional finish.
6. How can I store leftover cake?
Place it in an airtight container and refrigerate for up to 3–4 days. Let slices sit at room temperature for ~15 minutes before serving so the frosting can soften.

If you love cakes, here are some of the most popular cake recipes:
Lemon Olive Oil Cake
Orange Cake
Love at First Sight Chocolate Cake
More Cake Recipes:
I love to hear from you! If you make this recipe, please be sure to leave a comment and give this recipe a rating. Sign up for my newsletter below so you never miss a recipe. Thank you for following along! I truly do have the greatest readers. FOLLOW ME ON: INSTAGRAM — FACEBOOK — PINTEREST

Pin this now to find it later
Pin It
Key Lime Cake
Equipment
- 3 8 inch round cake pan
- 2 9 inch round cake pans
- 1 kitchenaid mixer
- 1 measuring cups and spoons
- 1 spatula set
Ingredients
Key Lime Cake:
- 1 cup Canola or Olive Oil
- 3 large Eggs
- 1 1/3 cup Whole Milk
- 2 Tablespoons Fresh Lime Zest
- 1 Tablespoon Fresh Lime Juice
- 2 cups Sugar
- 2 cups Flour
- 1 teaspoon Baking Powder
- 1/2 teaspoon Baking Soda
- 1 teaspoon Salt
Lime Cream Cheese Frosting:
- 1/2 cup Butter (softened)
- 8 ounce Cream Cheese (softened)
- 4 – 4 1/2 cups Powdered Sugar
- 1 Tablespoon Fresh Lime Juice
- 1/2 teaspoon Fresh Lime Zest
- Fresh Limes (sliced for garnish)
Instructions
- Preheat oven to 325 degrees.
- In a large mixing bowl, add oil, eggs, whole milk, lime zest, and lime juice. Cream for 2 minutes.
- In a large bowl, add sugar, flour, baking powder, baking soda, and salt. Stir into egg mixture and fold.
- Spray two 9-inch or three 8-inch cake pans with nonstick cooking spray. Place batter into baking pans. If using three 8-inch pans, bake for 20-26 minutes or until toothpick comes out clean. If using two 9-inch pans, bake for 30-36 minutes. Cool.
To make Lime Cream Cheese Frosting:
- In a large bowl, cream together butter and cream cheese for 4-5 minutes until light and fluffy, scraping sides of bowl often. Add powdered sugar, lime juice, lime zest, and cream together. Chill.
- Remove cakes from pan. Spread frosting on top of one cooled cake layer. Place the other cooled cake layer on top and spread frosting all over. Garnish with fresh lime slices.
Video
Notes
Nutrition
Nutrition information is automatically calculated, so should only be used as an approximation.
Popular Lime Recipes:























Can it be made gluten free with almond flour and almond milk?
Wow! This cake is amazing. I read the other reviews so I added more lime juice and cut the milk down a little. I put too much juice in the frosting so take care adding a lot because it made the frosting thin. Still amazing! Everyone raved!! Thank you. ????
Thank you for this Fantastic cake, so moist and light. I switched the frosting for a russian buttercream with some lemonade powder and filled with a homemade lime curd. A definite crowd pleaser!
I live at 3300 ft above sea level, will recipe require more flour and higher cooking temperature?
I am little confused. I followed the directions but the batter is very runny. Should it be? After 26 minutes at 325 degrees it is still just wet batter? Any suggestions? Is anyone else’s batter very runny?
Hi Gina! What size pans did you use? I am wondering if it may need more time depending on how thick the batter is in the pan.
I made this recipe exactly as described with olive oil and wound up with a liquid batter and gummy, dense, not very flavorful cake. I tried again using canola, properly creamed the oil and sugar first, followed by eggs and remaining wet ingredients and folded in dry. Got a completely different texture and taste. Would not follow steps as described in the recipe again. Baked at 350 for 45-50 minutes in single 8 inch and 6 inch pans. Buttercream was divine!
Love this recipe, but every time I do cupcakes they separate from the liner during the cooling process. How can I prevent this?
Hi Tay. I have not made this yet but this recipe has a good amount of oil in it. Be sure your liners are grease-proof. I had this problem with another recipe with oil and started changing the liners. No issues. Look for grease-proof on Amazon.
Can I use one 8 inch pan for this recipe and bake it for a long time?
I live in Australia and would like know for this key lime cake which flour is used self raising or plain flour
Plain flour
I use all purpose flour, not self rising. Love Au our family is in Brisbane.
XX
So, so delicious! I loved the texture.
In America is all purpose flour unless otherwise specified.
The recipe as written is ok, but I did modify it to give me more of a key lime flavor. I added an additional tablespoon of lime juice, subbed 1/3 cup of milk for orange juice, I used vegetable oil and added 1/2 teaspoon of key lime extract. I’ve also used the recipe to make vanilla cake by subbing the lime juice for vanilla extract and omitting the zest.
Absolutely delicious!!! A definite keeper
I made this cake for my mom’s birthday, key lime is one of her favorite flavors. I did add slightly more lime juice, and cut back the sugar a tad. It turned out absolutely delicious! My entire family couldn’t get enough of it. I will definitely be making this cake again, it may become my go-to cake recipe!
How much less sugar did you use? I was thinking of cutting it back as well