Lime-scented cupcakes with tequila-lime frosting land with the same bright, salty-cool finish you want from a margarita, just in dessert form. The crumb stays soft and tender instead of turning dense, and the frosting brings enough tang to keep the sweetness in check. The salt rim on top is more than a garnish here — it sharpens the lime and gives each bite that unmistakable margarita edge.
What makes this version work is the balance between sour cream, lime juice, and a little tequila in the batter. Sour cream keeps the cupcakes plush, while the lime juice and zest carry the flavor through the crumb instead of leaving it stuck in the frosting. The frosting uses cream cheese for structure and tang, so it pipes cleanly and doesn’t melt into the cupcake as long as the cupcakes are fully cool before you decorate.
If you’ve ever had citrus cupcakes taste flat, the fix is usually in the zest and the salt. Below, you’ll find the exact point where the batter should stop mixing, how to get the salt rim to stick without making a mess, and a few smart swaps if you want these without alcohol.
The cupcakes baked up light and the lime flavor came through in every bite. I was nervous the salt rim would be too much, but it actually made the frosting taste brighter, and the whole batch disappeared by the next day.
Love these margarita cupcakes with the salty lime finish? Save them to Pinterest for the next time you want a bright, bakery-style dessert with a cocktail twist.
The Trick to Keeping Margarita Cupcakes Soft Instead of Dry and Bitter
The biggest mistake with citrus cupcakes is treating lime juice like it can do all the work on its own. It adds brightness, but too much liquid without enough fat or structure gives you a thin batter and a cupcake that bakes up tight. This recipe avoids that by pairing lime juice with sour cream, which brings moisture and tenderness without watering the batter down.
Tequila belongs in small amounts here. It gives the cupcakes that margarita note, but it should never be the dominant liquid. If you pour in too much, the flavor turns sharp and the crumb can suffer. The salt also needs restraint — you want a few grains on the frosting edge, not a full crust that overwhelms the lime.
- Lime zest — This carries the strongest lime flavor in the batter. Juice alone tastes flatter after baking, so the zest is what makes the cupcakes smell and taste bright.
- Sour cream — This keeps the crumb soft and gives the cupcakes a little tang. Plain Greek yogurt works in a pinch, but the texture is a touch less rich.
- Tequila — Use it for the signature margarita note, or swap in extra lime juice if you want the same concept without alcohol. The cupcakes still taste like lime either way.
- Cream cheese — It gives the frosting body and a clean tang that stands up to the sugar. Butter-only frosting turns sweeter and softer.
Building the Batter and Frosting the Right Way
Mixing the Butter and Sugar Until It Goes Pale
Beat the butter and sugar until the mixture looks lighter in color and a little fluffy around the edges. That step traps air, which gives you the lift you need before the baking powder even starts working. If the butter is too cold, it will stay grainy; if it’s melted, the cupcakes bake up heavy and spread too quickly.
Adding the Dry and Wet Ingredients Without Overworking the Batter
Alternate the flour mixture with the sour cream and lime mixture, starting and ending with flour. That keeps the batter smooth and helps the flour absorb evenly instead of clumping. Stop mixing as soon as you no longer see dry streaks; if you keep going, the gluten tightens and the cupcakes turn chewy instead of tender.
Baking to a Clean Toothpick and No Further
Pull the cupcakes when the tops spring back and a toothpick comes out clean or with a few moist crumbs. A dry toothpick usually means you’ve gone past the sweet spot and the crumb will seem dry once cooled. Let them cool completely before frosting, because warm cupcakes will soften the frosting and slide the salt rim right off.
Frosting, Salting, and Garnishing
Beat the cream cheese and butter until smooth before adding the sugar. If you start with lumpy cream cheese, those lumps stay visible in the finished frosting. Pipe or spread the frosting, then dip just the outer edge in coarse salt so the salt sits where it belongs instead of burying the lime flavor. Add the lime slice last so it stays fresh and doesn’t dry out under the frosting.
How to Adjust These Cupcakes for Different Tables and Preferences
Skip the Tequila Without Losing the Margarita Feel
Use extra lime juice in both the batter and frosting instead of tequila. You lose a little of the cocktail-like edge, but the cupcakes still land squarely in lime dessert territory, especially with the salt rim on top.
Make Them Gluten-Free
Use a 1:1 gluten-free baking blend in place of the all-purpose flour. The crumb will be a little more delicate, but the sour cream helps keep it moist and prevents that sandy texture some gluten-free cupcakes can get.
Turn Them Into a Lime-Only Cupcake
Leave out the tequila completely and use lime juice in its place. This works well if you’re serving kids or want a dessert that tastes bright and tart without the cocktail reference.
Storage and Reheating
- Refrigerator: Store frosted cupcakes in an airtight container for up to 4 days. The frosting stays firm, and the salt rim holds up best if you add it shortly before serving.
- Freezer: Freeze the unfrosted cupcakes for up to 2 months. Wrap them tightly once cooled, then thaw at room temperature before frosting; cream cheese frosting doesn’t freeze as cleanly on the finished cupcakes.
- Reheating: These are best served at room temperature, not warmed. If they’ve been chilled, let them sit out for 20 to 30 minutes so the frosting softens and the lime flavor comes through.
Answers to the Questions Worth Asking

Margarita Cupcakes
Ingredients
Equipment
Method
- Preheat the oven to 350°F and line a muffin tin with cupcake liners; set aside.
- Whisk all-purpose flour, baking powder, and salt together in a mixing bowl until evenly combined.
- Beat softened butter and granulated sugar until light and fluffy, then add eggs one at a time, mixing after each addition.
- Alternate adding the flour mixture and the sour cream mixture, starting and ending with flour, and mix just until the batter is smooth.
- Divide the batter evenly among the liners.
- Bake for 16–18 minutes at 350°F until a toothpick comes out clean.
- Cool the cupcakes completely on a rack before frosting.
- Beat the softened cream cheese and butter until smooth.
- Add powdered sugar, fresh lime juice, and tequila or lime juice, then beat until creamy and pipeable.
- Pipe the frosting onto cooled cupcakes, then dip the top edge in coarse salt for the salt rim effect.
- Top each cupcake with a lime slice garnish.
- Rest the frosted cupcakes for 30 minutes before serving to set the frosting.


