New recipes every week — Follow on Pinterest for daily inspiration 💕
Home Desserts & Baking Margarita Cupcakes
Desserts & Baking

Margarita Cupcakes

Lime-scented cupcakes with a soft, tender crumb and a tequila-lime frosting don’t taste like a novelty dessert once they’re baked right. The lime keeps them bright, the sour cream keeps ... Read more

Prep Time 25 min
Cook Time 18 min
Servings 12
📌 Save

Margarita Cupcakes

Lime-scented cupcakes with a soft, tender crumb and a tequila-lime frosting don’t taste like a novelty dessert once they’re baked right. The lime keeps them bright, the sour cream keeps the cake plush, and the salted rim on top gives each bite that unmistakable margarita finish without making the whole cupcake taste like a cocktail. What you get is sweet, tart, lightly boozy, and balanced enough that one cupcake never tastes flat or one-note.

The part that makes these work is the way the liquid ingredients are handled. Lime juice and sour cream go into the batter together so the cupcakes stay moist without turning heavy, and the zest does more than the juice ever could on its own. A little tequila in the batter is optional but useful; it adds that familiar margarita edge without needing much, and it bakes off enough to keep the flavor clean.

Below you’ll find the little details that matter most: how to keep the frosting smooth, when to add the salt rim so it actually sticks, and what to swap if you want the flavor without the alcohol.

The cupcakes stayed so soft, and the lime flavor came through without being sharp. I loved that the salt rim on the frosting made it taste like a real margarita instead of just a lime cupcake.

★★★★★— Maria T.

Love the tart lime crumb and salt-kissed frosting? Save these Margarita Cupcakes for the next time you want a party dessert that tastes bright, balanced, and a little unexpected.

Save to Pinterest

The Trick to Keeping Margarita Cupcakes Bright Instead of Bitter

Lime desserts can go wrong in two directions: dull and bland, or sharp enough to taste pithy. The fix is using both zest and juice, but keeping the zest light and fresh. Zest carries the aroma that makes these taste like margaritas; juice brings the tang, but too much of it can start to thin the batter and crowd out the butter.

The other failure point is overmixing once the flour goes in. Cupcake batter should look smooth, but not whipped into submission. If you keep beating after the dry ingredients are added, the crumb gets tighter and the cupcakes lose that soft, bakery-style lift. Mix just until the last streak of flour disappears.

What Each Ingredient Is Actually Doing in These Cupcakes

  • All-purpose flour — Gives the cupcake its structure without making it dense. Cake flour will make them a little softer, but all-purpose keeps the crumb sturdy enough to hold the frosting and salt rim.
  • Sour cream — This is what keeps the cake plush. It adds fat and acidity, which helps the cupcakes stay tender and makes the lime flavor taste brighter.
  • Fresh lime juice and zest — Fresh is the key word here. Bottled juice tastes flat, and the zest carries the essential lime aroma that makes the whole recipe work.
  • Tequila — Use it in the batter or the frosting if you want the margarita note to read clearly. If you skip it, replace it with extra lime juice; the cupcakes will still work, but they’ll taste more like a lime cupcake than a margarita cupcake.
  • Cream cheese and butter — The frosting needs both. Cream cheese gives the tang that pairs with the lime, while butter keeps it pipeable and less sharp.
  • Coarse salt — Use coarse salt, not table salt. It gives you the rim effect without dissolving instantly into the frosting.

Building the Batter and Frosting Without Losing the Balance

Start with the dry ingredients

Whisk the flour, baking powder, and salt together before anything else. That step keeps the leavener evenly distributed, which means the cupcakes rise evenly instead of doming in some spots and sinking in others. A quick whisk also breaks up little flour clumps that can leave pale pockets in the baked crumb.

Cream the butter and sugar until it changes color

Beat the butter and sugar until the mixture looks lighter and more airy, not just combined. That change tells you air is being worked into the batter, and that air is part of what gives these cupcakes lift. If the butter is too cold, stop and let it soften more; if it’s melted, the batter will look greasy and the cupcakes will bake up flat.

Alternate the flour and lime mixture

Add the flour mixture and the sour cream mixture in stages, beginning and ending with flour. That order protects the batter from curdling and keeps the gluten from tightening up too fast. The batter should look thick and smooth, with no dry flour patches, but it shouldn’t be beaten long enough to look glossy.

Bake until the tops spring back

These are done when a toothpick comes out clean and the tops spring back lightly when touched. Start checking at 16 minutes, because an extra minute or two can push them from tender to dry. Let them cool completely before frosting; warm cupcakes will melt the cream cheese frosting and wash away the salt rim.

Whip the frosting until it spreads cleanly

Beat the cream cheese and butter until there are no lumps before adding the powdered sugar. If the cream cheese is still cold, the frosting will look grainy and you’ll chase lumps the whole time. Add the lime juice and tequila at the end, then beat just until smooth and pipeable.

Three Ways to Make These Work for Different Kitchens and Crowds

Alcohol-Free Margarita Cupcakes

Swap the tequila for extra lime juice in both the batter and frosting. You’ll lose the faint boozy edge, but the cupcakes still taste bright and citrusy, and the salt rim still gives them the margarita feel.

Gluten-Free Version

Use a cup-for-cup gluten-free flour blend with xanthan gum already added. The texture will be a little more delicate, so let the cupcakes cool fully before moving them, and don’t overbake or they’ll dry out fast.

Less-Sweet Frosting

Cut the powdered sugar back a little if you want the lime and cream cheese to lead. The frosting won’t hold as tall of a pipe, but the tang becomes sharper and the salt rim tastes more intentional instead of just decorative.

Storage and Reheating

  • Refrigerator: Store frosted cupcakes in an airtight container for up to 4 days. The cake stays moist, but the salt rim softens a little after the first day.
  • Freezer: Freeze the unfrosted cupcakes for up to 2 months, wrapped well. Cream cheese frosting doesn’t freeze as neatly, so frost after thawing for the best texture.
  • Reheating: These are best served chilled or at cool room temperature, not rewarmed. If they’ve been refrigerated, let them sit out for 20 to 30 minutes so the frosting softens and the lime flavor opens up again.

Answers to the Questions Worth Asking

Can I make Margarita Cupcakes without tequila?+

Yes. Replace the tequila with extra lime juice, or use a splash of lime juice mixed into the frosting so the citrus stays bold. The cupcakes will still taste balanced, just a little more like lime cupcakes than a true margarita version.

How do I keep the frosting from getting runny?+

Start with fully softened cream cheese and butter, then add the lime juice slowly. If the frosting loosens too much, beat in a little more powdered sugar and chill it for 10 to 15 minutes before piping. Warm ingredients are the usual reason it goes slack.

Can I make these cupcakes ahead of time?+

Yes. Bake the cupcakes a day ahead and frost them the day you plan to serve them for the cleanest salt rim. If you need more lead time, freeze the unfrosted cupcakes and thaw them completely before decorating.

How do I get the salt to stick to the frosting?+

Pipe or spread the frosting first, then dip the top edge of each cupcake into coarse salt right away. The frosting needs to be soft enough to grab the salt, but not so soft that it slides off the cupcake. Chilling the frosted cupcakes for a few minutes after salting helps set the edge.

Can I use bottled lime juice instead of fresh?+

You can, but the flavor won’t be as bright. Fresh lime juice and zest give these cupcakes the clean citrus note that makes the whole recipe taste fresh instead of flat. If bottled juice is all you have, add a little extra zest to bring some life back into the batter.

Margarita Cupcakes

Margarita cupcakes with lime-infused vanilla crumb and tequila-lime frosting, finished with a salt-rim top. The bright citrus flavor comes from fresh lime juice and zest, while the frosting pipes neatly for a classic cupcake look.
Prep Time 25 minutes
Cook Time 18 minutes
rest 30 minutes
Total Time 1 hour 13 minutes
Servings: 12 servings
Course: Dessert
Cuisine: Mexican-Fusion
Calories: 340

Ingredients
  

Cupcake batter
  • 1.75 cup all-purpose flour
  • 2 tsp baking powder
  • 0.25 tsp salt
  • 0.5 cup butter, softened
  • 1.25 cup granulated sugar
  • 2 eggs
  • 0.5 cup sour cream
  • 0.25 cup fresh lime juice
  • 1 tbsp lime zest
  • 2 tbsp tequila or lime juice
  • 1 tsp vanilla extract
Tequila-lime frosting
  • 8 oz cream cheese, softened
  • 0.5 cup butter, softened
  • 2 cup powdered sugar
  • 3 tbsp fresh lime juice
  • 1 tbsp tequila or lime juice
  • 1 tbsp coarse salt for rim
Garnish
  • 1 Lime slices for garnish

Equipment

  • 1 sheet pan

Method
 

Bake the lime cupcakes
  1. Preheat the oven to 350°F and line a muffin tin with cupcake liners, then set aside for easy filling.
  2. Whisk all-purpose flour, baking powder, and salt together until evenly combined.
  3. Beat butter and granulated sugar until light and fluffy, using a slower speed at first to avoid lumps.
  4. Add the eggs one at a time, mixing briefly after each until smooth.
  5. Alternate adding the flour mixture and sour cream mixture (sour cream mixed with fresh lime juice, lime zest, tequila or lime juice, and vanilla extract), beginning and ending with flour.
  6. Divide the batter among the liners, filling each about two-thirds full.
  7. Bake at 350°F for 16-18 minutes, until a toothpick comes out clean.
  8. Cool the cupcakes completely, then let them rest so the frosting holds its shape on top.
Make and finish the tequila-lime frosting
  1. Beat cream cheese and butter until smooth and fully blended.
  2. Add powdered sugar and mix until the frosting looks thick and smooth.
  3. Beat in fresh lime juice and tequila or lime juice until the frosting is glossy and pipeable.
  4. Pipe the frosting onto cooled cupcakes, creating a neat swirl or flat-topped finish.
  5. Dip the top edge of each frosted cupcake into coarse salt to form a visible salt rim.
  6. Garnish each cupcake with a lime slice for a bright lime wheel look.

Notes

For the cleanest piping and the most distinct salt rim, cool cupcakes fully before frosting, and keep the frosting at a soft-but-stable consistency; if it feels loose, chill it for 15-30 minutes before piping. Store in an airtight container in the fridge for up to 3 days, and freeze unfrosted cupcakes up to 2 months (thaw overnight in the fridge, then frost). For a no-tequila option, use extra lime juice in place of tequila anywhere it’s called for.
Find the Print Button

The print button is inside the recipe card below ↓

Leave a Comment

Recipe Rating