
This vibrant green cake infused with zesty lime flavor has become my signature summer dessert. The light, fluffy texture paired with the creamy lime frosting creates the perfect balance of sweet and tangy flavors that everyone raves about.
I first made this cake for my sister's garden party last summer and it was such a hit that I now bring it to every warm weather gathering. The vibrant color always gets people excited before they even take their first bite.
Ingredients
For the Cake
- Large eggs: at room temperature give the cake structure and ensure even rising
- Milk: adds moisture and helps create a tender crumb
- Vegetable oil: keeps the cake moist longer than butter would
- Fresh lime juice: provides the signature tangy flavor
- Lime zest: contains essential oils that boost the citrus flavor
- Lime flavored gelatin powder: adds color and enhances the lime flavor
- All purpose flour: works best for this recipe
- Granulated sugar: balances the acidity of the lime
- Baking powder: provides just the right amount of lift
- Salt: enhances all the flavors and balances sweetness
For the Lime Frosting
- Sweetened condensed milk: creates a lusciously creamy base
- Fresh lime juice: cuts through the sweetness and adds zing
- Lime flavored gelatin powder: intensifies both color and flavor
- Hot water: helps dissolve the gelatin completely
Step-by-Step Instructions
- Prepare Your Pan:
- Line your 8 inch square pan with parchment paper making sure to leave some overhang for easy removal later. Preheat your oven to 350°F. The proper temperature is crucial for even baking and the right texture.
- Mix Wet Ingredients:
- Whisk the eggs thoroughly for a full minute to incorporate air. This helps create a lighter cake texture. Add milk, oil, lime juice, zest, and gelatin powder, whisking until well combined. The mixture will look slightly curdled due to the lime juice reacting with the milk, but this is normal.
- Combine Dry Ingredients:
- Sift the flour, sugar, baking powder, and salt directly over the wet mixture. Sifting prevents lumps and ensures even distribution of the leavening agents. Whisk gently just until combined. Stop mixing as soon as the flour disappears to avoid developing gluten which would make the cake tough.
- Bake To Perfection:
- Pour the batter into your prepared pan and bake for exactly 30 minutes. The cake should spring back when lightly touched and a toothpick inserted in the center should come out clean or with a few moist crumbs. Let the cake cool completely before frosting.
- Prepare The Frosting:
- Whisk the condensed milk and lime juice together until smooth. You will notice it starting to thicken immediately due to the acidity in the lime juice curdling the milk proteins. This chemical reaction creates the perfect spreadable consistency.
- Add Gelatin:
- Dissolve the lime gelatin powder in hot water, stirring until completely clear with no granules visible. Add this to your condensed milk mixture and stir thoroughly to distribute the color and flavor evenly.
- Frost And Chill:
- Spread the frosting evenly over the completely cooled cake. Use an offset spatula for the smoothest finish. Refrigerate for at least 2 hours before serving to allow the frosting to set properly.

The lime gelatin powder is my secret ingredient that transforms this from a basic citrus cake to something truly special. My mother was skeptical when she first saw me adding it to the batter, but now she asks for the recipe to share with her friends.
Storage Tips
This cake stays fresh in the refrigerator for up to 5 days when stored in an airtight container. The frosting actually improves after the first day as the flavors have time to meld. I recommend covering any cut edges with plastic wrap to prevent them from drying out.
Seasonal Variations
During summer months when limes are at their peak, I sometimes add a thin layer of sliced fresh strawberries between the cake and frosting for a stunning color contrast and flavor combination. In winter, try substituting lemons for a brighter flavor that cuts through heavy holiday meals.
Serving Suggestions
For an elegant presentation, garnish each slice with a small wedge of lime and a mint leaf just before serving. This cake pairs beautifully with a scoop of vanilla ice cream or a dollop of lightly sweetened whipped cream. For a fun summer party, serve alongside fresh berries and chilled prosecco.
The History Behind The Green
This style of cake has roots in traditional Key lime desserts from Florida, but the vibrant green color comes from mid-century American baking when gelatin desserts were extremely popular. I've updated the classic recipe to use fresh ingredients while keeping the fun, nostalgic color that everyone loves.

Recipe FAQs
- → Can I use bottled lime juice instead of fresh?
While fresh lime juice provides the best flavor for this cake, bottled lime juice can work in a pinch. However, the taste may be less vibrant, and you'll miss out on the aromatic oils from fresh limes. If using bottled juice, consider adding extra zest to compensate for the flavor difference.
- → What can I substitute for lime-flavored gelatin?
If lime-flavored gelatin isn't available, you can use unflavored gelatin plus additional lime zest and a few drops of green food coloring. For a natural alternative, try using agar-agar powder in the same quantity, though the texture may be slightly different.
- → Can this cake be made in advance?
Yes! This cake actually benefits from being made a day ahead. The flavors develop more fully and the frosting sets perfectly when refrigerated overnight. Just keep it covered in the refrigerator for up to 3 days.
- → Why did my frosting not set properly?
The setting of the frosting depends on proper gelatin dissolution and adequate chilling time. Make sure the gelatin is completely dissolved in hot water before adding to the condensed milk mixture, and allow at least 2 hours of refrigeration. The acid in the lime juice also helps thicken the condensed milk.
- → Can I make this cake in a round pan instead?
Absolutely! An 8-inch or 9-inch round pan works well as an alternative to the square pan. Just monitor the baking time carefully as it might vary slightly with a different pan shape. The cake is done when a toothpick inserted in the center comes out clean.
- → Is there a dairy-free version of this cake?
To make this cake dairy-free, substitute the milk with almond, soy, or coconut milk. For the frosting, use coconut condensed milk instead of regular condensed milk. Note that these substitutions will slightly alter the flavor profile, with coconut milk adding a complementary tropical note to the lime.