Margarita Cake

Loading…

By Reading time

Margarita cake brings the best parts of the cocktail into dessert form without turning the crumb harsh or the frosting cloying. The cake stays soft and moist, with bright lime running through every bite, and the tequila adds just enough edge to keep the sweetness in check. The salted rim detail on the plate is more than decoration; it gives each forkful that familiar margarita finish in a way that makes sense on a dessert table.

What makes this version work is the balance between acidity, fat, and structure. Sour cream keeps the cake tender, while butter and sugar are beaten until light enough to trap air for a finer crumb. The lime juice and tequila go into the batter in measured amounts so the cake tastes like a margarita instead of a sour lime snack, and the frosting follows the same idea: rich, but sharp enough to taste purposeful.

Below, you’ll find the small details that matter most here: how to keep the crumb soft, when the tequila should stay in the batter versus the frosting, and how to get that salt rim detail to look sharp instead of messy.

The cake stayed unbelievably tender, and the lime-tequila frosting set up enough to slice cleanly after chilling. I was worried the salt rim would be too much, but it made each bite taste exactly like a margarita in cake form.

★★★★★— Megan T.

Save this margarita cake for the nights when you want a citrusy layer of flavor, a soft crumb, and that salted finish on the plate.

Save to Pinterest

Why the Lime Juice Goes in Late and the Cake Still Stays Tender

Acid changes cake batter fast. If you dump in too much lime juice too early, you can thin the batter and lose some of the lift you worked for when you creamed the butter and sugar. That is why the dry ingredients and sour cream do the heavy lifting first, and the lime juice, tequila, and zest go in near the end, once the batter already has structure.

The other thing that matters here is temperature. Softened butter should be pliable, not greasy, so it can trap air when beaten with sugar. If your frosting ever turns loose or split, it usually means the butter was too warm or the liquid went in too fast. This recipe works because it keeps both the cake and the frosting on the right side of that line.

What Each Ingredient Is Actually Doing in This Cake

  • All-purpose flour — Gives the cake enough structure to hold the glaze and frosting without turning dense. Cake flour can work if that is what you have, but the crumb will be a little softer and less sturdy at the edges.
  • Sour cream — This is what keeps the crumb plush and moist without making the cake taste heavy. Plain full-fat Greek yogurt is the closest substitute, and it should be used in the same amount.
  • Fresh lime juice and zest — Juice brings the sharp citrus note, but zest is where the strong lime aroma lives. Bottled juice will work in a pinch, but the cake tastes flatter and less bright.
  • Tequila — It gives the cake and frosting that margarita edge without tasting boozy. Use a blanco tequila with a clean finish; aged tequila can read too oaky for this dessert.
  • Butter in both parts — Butter carries the flavor and gives the frosting body. For the frosting, it needs to be soft enough to whip smoothly but still cool to the touch so the sugar dissolves without turning runny.
  • Powdered sugar — Thickens the frosting while keeping it silky. Add it gradually, or you’ll end up fighting a cloud of sugar before the mixture comes together.

Building the Crumb Before the Frosting Goes On

Creaming the Butter and Sugar Properly

Beat the butter and sugar until the mixture looks pale and fluffy, not just combined. That takes a couple of minutes and it matters because those tiny air pockets help the cake rise without feeling bready. If the mixture still looks dense and slightly greasy, keep going a little longer before adding the eggs.

Adding the Eggs and Alternating the Batter

Add the eggs one at a time so the batter stays smooth and emulsified. Then alternate the dry ingredients with the sour cream, starting and ending with flour, which keeps the batter from curdling or turning loose. Once the flour goes in, stop mixing as soon as the streaks disappear; overmixing makes the cake tighter and less tender.

Finishing with Lime, Tequila, and Zest

Stir in the lime juice, tequila, and zest at the end so the batter keeps its structure. The batter may look a little softer after that, and that is normal. Pour it into the pan right away and bake until the top springs back and a toothpick comes out clean or with a few moist crumbs, not wet batter.

Whipping the Margarita Frosting

Beat the frosting until it looks light and spreadable, then stop before it turns greasy. If it seems too thick, add a teaspoon of lime juice at a time; if it seems too loose, a bit more powdered sugar tightens it back up. Frost the cake only after it has cooled completely, or the buttercream will slide and the salt rim detail will melt into the frosting.

How to Adapt This Margarita Cake Without Losing the Point

Make it dairy-free with a few careful swaps

Use a plant-based butter that’s meant for baking and swap the sour cream for a thick dairy-free yogurt. The cake will still be tender, but the frosting may need a little extra powdered sugar to hold its shape because non-dairy butter tends to soften faster.

Skip the tequila for a family-friendly version

Replace the tequila in both the cake and frosting with an equal amount of lime juice plus a teaspoon of water if needed. You’ll keep the margarita-style citrus flavor, but the finish will taste brighter and less cocktail-like.

Turn it into cupcakes for easier serving

Divide the batter between lined muffin cups and bake until the tops spring back and a tester comes out clean, usually in less time than the full cake. Cupcakes lose a little of the elegant slice factor, but you gain more frosting per bite and easier portioning for a crowd.

Storage and Reheating

  • Refrigerator: Store covered for up to 4 days. The crumb stays moist, but the frosting firms up, so let slices sit out for 20 to 30 minutes before serving.
  • Freezer: Freeze unfrosted cake layers tightly wrapped for up to 2 months. Frosting freezes less gracefully, so it’s better to make that fresh if you can.
  • Reheating: This cake is best served at room temperature, not warmed. If you chill it, let it soften naturally; microwaving melts the frosting and ruins the clean salted rim finish.

Questions I Get Asked About This Recipe

Can I make margarita cake without tequila?+

Yes. Replace the tequila with more fresh lime juice or use lime juice plus a splash of water so the batter doesn’t get too acidic. The cake will still taste bright, but the finish will lean more citrus than cocktail.

How do I keep the cake from tasting too boozy?+

Use a blanco tequila and stick to the measured amount. The tequila should read like a back-note, not the main flavor, and baking mellows it even more. If you want it subtler, reduce the frosting tequila a little before touching the cake batter.

Can I make this cake ahead of time?+

Yes, and it actually slices better after it has rested. Bake the cake a day ahead, cool it completely, and frost it the next day if you want the cleanest finish. The flavor settles in overnight, which makes the lime taste rounder.

How do I stop the frosting from getting runny?+

Use softened but not oily butter, and add the lime juice a teaspoon at a time. If the frosting loosens too much, beat in more powdered sugar until it holds soft peaks. Warm kitchens can make buttercream slack, so chill it for 10 minutes if needed before spreading.

Can I use bottled lime juice instead of fresh?+

You can, but the flavor will be flatter and a little less fragrant. Fresh lime juice and zest are what make this cake taste vivid, especially because the frosting leans sweet. If you use bottled juice, add a little extra zest if you have it.

Margarita Cake

Margarita cake with a light citrus crumb and lime-margarita glaze-style frosting, finished with a salt-rim detail. This tequila-kissed dessert uses a tender cake base plus fluffy lime frosting for a cocktail-inspired slice.
Prep Time 20 minutes
Cook Time 30 minutes
Rest time 2 hours
Total Time 2 hours 50 minutes
Servings: 12 servings
Course: Dessert
Cuisine: Mexican-American

Ingredients
  

Dry ingredients
  • 1.75 cup all-purpose flour
  • 1.75 tsp baking powder
  • 0.25 tsp salt
Cake
  • 0.5 cup unsalted butter softened
  • 1 cup granulated sugar
  • 2 large eggs
  • 0.5 cup sour cream
  • 0.25 cup fresh lime juice
  • 2 tbsp tequila
  • 1 tbsp lime zest
Margarita frosting
  • 0.5 cup butter softened
  • 2 cup powdered sugar
  • 3 tbsp fresh lime juice
  • 2 tbsp tequila
  • 1 Salt and lime wheels for garnish

Equipment

  • 1 sheet pan
  • 1 stand mixer

Method
 

Bake the lime cake
  1. Preheat the oven to 350°F and grease a 9-inch round cake pan. This prevents sticking while the batter bakes evenly.
  2. Whisk together all-purpose flour, baking powder, and salt until evenly combined. Keep whisking for about 15 seconds so the leaveners are distributed.
  3. Cream softened unsalted butter and granulated sugar until light and fluffy, about 2-3 minutes. Stop when the mixture turns paler and looks airy.
  4. Beat in eggs one at a time, then alternate adding the flour mixture and sour cream, beginning and ending with flour. Mix only until the batter looks smooth after each addition.
  5. Stir in fresh lime juice, tequila, and lime zest. The batter should look glossy and fragrant with visible lime specks.
  6. Pour the batter into the prepared pan and bake for 25-30 minutes until a toothpick comes out clean. Look for a lightly golden top that springs back when gently pressed.
  7. Allow the cake to cool completely. The surface should be cool to the touch before frosting so the frosting stays thick.
Make the margarita frosting and finish
  1. Beat together softened butter, powdered sugar, fresh lime juice, and tequila until light and fluffy. Scrape the bowl once so no dry sugar remains.
  2. Frost the cooled cake with the margarita frosting. Use an offset spatula-like motion to create an even top layer and soft swirls.
  3. Rim the plate with salt and garnish the cake with lime wheels and fresh mint before serving. The garnish should sit fresh on top while the salt rim is visible at the edge of the plate.

Notes

Pro tip: cool the cake fully (and preferably let it rest) so the lime frosting doesn’t melt or slide. Refrigerate leftovers in an airtight container for up to 4 days; freeze frosted slices for up to 1 month (thaw in the fridge overnight). For a lower-alcohol option, reduce tequila by half in both cake and frosting or omit entirely and increase lime juice slightly to keep the citrus punch.

You might also like these recipes

Leave a Comment

Recipe Rating