Margarita Cake

Loading…

By Reading time

Bright lime cake with a soft crumb and a tangy tequila-lime glaze has a way of disappearing fast, especially when the frosting gets that subtle salty edge that makes each bite taste colder, sharper, and more balanced. This isn’t a novelty cake that leans on the name alone. It tastes like a real margarita translated into dessert form, with enough citrus to wake up the butter and enough richness to keep the whole thing from turning thin or sharp.

The texture depends on a few small choices. Sour cream keeps the cake plush without making it heavy, and alternating the dry ingredients with the dairy keeps the batter from tightening up before it hits the oven. The tequila goes in both the cake and the frosting, but not in a way that overwhelms the lime; it just rounds out the citrus and gives the frosting that unmistakable cocktail note.

Below, I’ll walk through the part that matters most: how to keep the crumb tender and the glaze smooth, plus the small finishing details that make the salt rim work instead of feeling gimmicky.

The cake stayed unbelievably moist for two days, and the lime-tequila frosting set up perfectly without sliding off the sides. The salted plate rim was such a good touch — it made each bite taste exactly like a margarita, just softer.

★★★★★— Megan R.

Love the lime-salty finish on this Margarita Cake? Save it to Pinterest for the next time you want a citrus dessert with a cocktail twist.

Save to Pinterest

The Reason the Salt Rim Belongs on the Plate, Not Just the Frosting

A lot of cocktail cakes borrow the name and stop there. The part that makes this one work is balance: the lime in the cake needs sugar, the tequila needs fat, and the salt needs a place to land without turning the whole slice into a gimmick. That’s why the rim is best kept subtle and mostly on the serving plate. You want a hint of salt in a bite, not a crust that dominates every forkful.

The other thing that matters here is the glaze and frosting timing. If the cake is even a little warm, the buttercream softens too fast and the plate rim starts to dissolve. Let the cake cool all the way through, then frost, then add the garnish right before serving. That keeps the finish sharp and clean.

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 bready. Cake flour would make it softer, but it would also leave less backbone under the tequila and citrus. The baking powder does the lifting, but not in a dramatic way; the goal is a tender crumb with a fine, even rise.

  • Sour cream — This is what keeps the crumb moist and gives the cake a little tang that plays well with lime. Plain full-fat Greek yogurt can stand in, but the cake will taste slightly firmer and a bit less rich.
  • Fresh lime juice and zest — Zest gives you the aromatic lime note; juice gives the sharpness. Bottled juice tastes flat here, so fresh lime is the place where quality matters.
  • Tequila — The tequila doesn’t make the cake boozy. It adds the floral, peppery note people recognize from a margarita. Use a blanco tequila for the cleanest flavor, and don’t overpour or it can thin the batter.
  • Butter — Softened butter in both the cake and frosting gives you body and a smooth finish. Cold butter won’t cream properly, and melted butter changes the texture completely, making the cake denser.
  • Powdered sugar — This sweetens the frosting and gives it the structure to spread cleanly. If your frosting feels loose, add a little more sugar rather than more liquid, because extra lime juice can push it past the point where it holds its shape.

Building the Batter So the Crumb Stays Tender

Creaming the Butter and Sugar Until It Looks Pale

Start with butter that gives slightly when pressed, not butter that’s greasy or melting. Beat it with the sugar until the mixture turns lighter in color and looks fluffy around the edges of the bowl. That air you build here helps the cake rise without leaning on extra flour. If you stop too early, the cake bakes up tighter and the lime flavor can feel heavy instead of bright.

Adding the Eggs and Dry Ingredients in the Right Order

Beat in the eggs one at a time so the batter stays smooth and doesn’t look curdled. Once the eggs are in, alternate the flour mixture with the sour cream, beginning and ending with flour. That order protects the emulsion and keeps the batter from breaking, which is the easiest way to end up with a dense cake. Stop mixing as soon as the flour disappears; overmixing after the dry ingredients go in makes the crumb tougher.

Finishing with Lime and Tequila

Stir in the lime juice, tequila, and zest at the end so the citrus stays fresh and fragrant. The batter will look a little looser once those go in, and that’s normal. Pour it into the pan right away so the baking powder keeps working in the oven instead of on the counter.

Baking to the Point of Doneness, Not Past It

Bake until the top springs back when touched lightly and a toothpick comes out clean or with a few moist crumbs. If you wait until the center is dry, the cake will lose the soft, plush texture that makes it worth serving. Let it cool completely before frosting, because warm cake melts the buttercream and turns the finish messy.

How to Adapt This for Different Diets and Different Occasions

Make it dairy-free

Use a plant-based butter with a neutral flavor and swap the sour cream for a thick dairy-free yogurt. The cake will still be tender, though the frosting may need a little extra powdered sugar to hold its shape. Pick a dairy-free butter that creams well, since some spreads stay too soft for a stable frosting.

Skip the alcohol

Replace the tequila with an equal amount of milk or extra lime juice plus a little extra zest. You’ll lose the margarita edge, but the cake will still taste bright and citrusy. If you use only more lime juice, the frosting can turn thin, so keep the replacement balanced.

Turn it into cupcakes

This batter works well as cupcakes, and they’ll bake faster, usually in about 18 to 22 minutes. Fill the liners only two-thirds full so the tops stay rounded instead of spilling over. Cupcakes lose a little of the dramatic plate-rim effect, but they’re easier to serve at a party.

Storage and Reheating

  • Refrigerator: Store covered for up to 4 days. The frosting will firm up, and the lime flavor gets a little sharper after the first day.
  • Freezer: Freeze unfrosted layers tightly wrapped for up to 2 months. Frosting can be frozen separately, but the texture is better when you whip it again after thawing.
  • Reheating: Bring slices to room temperature before serving. Microwaving softens the frosting too much and dulls the citrus, so room-temp is the better call for this cake.

Answers to the Questions Worth Asking

Can I make Margarita Cake without tequila?+

Yes. Replace the tequila with milk, extra lime juice, or even a splash of orange juice if you want a softer citrus note. The cake will still taste bright, but it won’t have the same margarita-like finish from the tequila.

How do I keep the frosting from getting runny?+

Use softened butter, not melted butter, and add the lime juice a little at a time. If the frosting gets too loose, beat in more powdered sugar until it holds soft peaks. Warm kitchens can make it slack, so chill it briefly if needed.

Can I bake this Margarita Cake in a sheet pan?+

You can, as long as you use a pan with enough depth and start checking early. A thinner layer bakes faster and can dry out at the edges before the center is set, so watch for a light springy top instead of relying only on time.

How do I know when the cake is done baking?+

The top should spring back lightly when touched, and a toothpick should come out clean or with a few moist crumbs. If the center still looks wet, give it a few more minutes and check again. Pulling it a little early is better than letting it bake until dry.

Can I frost Margarita Cake the day before serving?+

Yes, and it actually slices more cleanly after the frosting has had time to set. Store it covered in the refrigerator, then bring it back to room temperature before serving so the buttercream softens and the lime flavor opens up again.

Margarita Cake

Margarita cake with a light citrus crumb and a lime-margarita glaze that sets into a soft frosting. This tequila-forward dessert is finished with a salt-rim detail and fresh lime wheels for a cocktail-inspired look.
Prep Time 20 minutes
Cook Time 30 minutes
rest 2 hours
Total Time 2 hours 50 minutes
Servings: 12 servings
Course: Dessert
Cuisine: Mexican-American
Calories: 520

Ingredients
  

Dry ingredients
  • 1.75 cup all-purpose flour
  • 1.75 tsp baking powder
  • 0.25 tsp salt
Cake batter
  • 0.5 lb unsalted butter softened
  • 1 cup granulated sugar
  • 2 eggs large
  • 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
  • 0.25 tsp salt for garnish rim/detail
Garnish
  • 1 lime wheels
  • 1 fresh mint

Equipment

  • 1 sheet pan
  • 1 stand mixer

Method
 

Prep and bake the cake
  1. Preheat the oven to 350°F and grease a 9-inch round cake pan to prevent sticking.
  2. Whisk together all-purpose flour, baking powder, and salt until evenly combined and no dry pockets remain.
  3. Cream softened unsalted butter and granulated sugar until light and fluffy, about 2-3 minutes, scraping the bowl as needed.
  4. Beat in eggs one at a time, then alternate adding the flour mixture and sour cream, beginning and ending with flour to keep the batter smooth.
  5. Stir in fresh lime juice, tequila, and lime zest until the batter looks evenly speckled with zest.
  6. Pour batter into the prepared cake pan and bake at 350°F for 25-30 minutes, until a toothpick comes out clean.
  7. Allow the cake to cool completely before frosting, about 2 hours.
Make frosting and serve
  1. Beat together softened butter, powdered sugar, fresh lime juice, and tequila until light and fluffy for a spreadable frosting.
  2. Frost the cooled cake with the margarita frosting, smoothing the top and sides evenly.
  3. Rim the serving plate with salt for the margarita look and garnish the cake with lime wheels and fresh mint before serving.

Notes

Pro tip: cool the cake fully before frosting so the glaze doesn’t melt or soak in. Store covered in the refrigerator up to 3 days; freeze unfrosted cake layers up to 2 months (thaw overnight in the fridge) and frost after thawing. For a dairy-light swap, use full-fat Greek yogurt in place of sour cream for a similar tang and tender crumb.

You might also like these recipes

Leave a Comment

Recipe Rating