Lime cake with a soft, tender crumb and a tangy cream cheese frosting gives these Margarita Cupcakes the same bright, salty-sweet balance people love in the drink, just in dessert form. The cupcake itself stays light because the batter uses sour cream for moisture and lime juice for sharpness without turning heavy or dense. The frosting brings the tequila-lime note forward, and the coarse salt on the rim gives each bite that unmistakable margarita finish.
What makes this version work is the way the acid and dairy are handled. The sour cream keeps the crumb plush, while the lime juice is folded in with the wet ingredients so the batter stays smooth and the citrus reads clean instead of harsh. If you’ve had margarita cupcakes that tasted like plain vanilla with a lime hint, this one fixes that by putting lime zest, juice, and a little tequila into both the cake and the frosting.
Below you’ll find the small details that matter most: how to keep the salt where you want it, why the cupcakes need to cool all the way before frosting, and the easiest way to adjust the tequila note depending on who you’re serving.
The lime flavor came through in the cupcake and the frosting stayed smooth and pipeable. I was worried the salt would make them weird, but it gave each bite that classic margarita finish without being too much.
Like these Margarita Cupcakes? Save them to Pinterest for the bright lime frosting and salt-rim finish when you want a dessert that tastes like a celebration.
The Biggest Mistake Is Treating the Salt Like an Afterthought
The salt rim is what makes these taste like margaritas instead of just lime cupcakes with frosting. The mistake most people make is sprinkling salt over the top after the frosting is already set, which just rolls off and disappears the second you take a bite. Dipping the frosted edge gives you that clean, sharp hit right at the beginning of each bite.
The other thing that matters here is balance. Too much tequila in the batter can make the cupcakes taste boozy and thin, while too little in the frosting can leave the whole dessert leaning one-note. The trick is to keep the tequila in a supporting role and let the lime do the loud work.
What Each Ingredient Is Actually Doing in This Dish
- All-purpose flour — This gives the cupcakes structure without making them cakey in a dry, commercial way. Cake flour will make them a little softer, but all-purpose holds up better to the moisture from sour cream and lime juice.
- Sour cream — This is what keeps the crumb tender and gives the cupcakes that plush bakery texture. Plain full-fat Greek yogurt works in a pinch, but it brings a little more tang and can make the batter slightly thicker.
- Fresh lime juice and zest — The zest carries the strongest lime aroma, while the juice gives the sharp, clean edge. Bottled lime juice won’t give you the same brightness, and the cupcakes lose a lot of their character without fresh zest.
- Tequila or lime juice — Tequila adds the margarita note, but the cupcakes still work if you use extra lime juice instead. If you’re baking for kids or anyone avoiding alcohol, the lime juice swap keeps the flavor clean and the texture unchanged.
- Cream cheese and butter — The frosting needs both. Cream cheese gives tang and body, while butter keeps it light enough to pipe. If the cream cheese is cold, the frosting turns lumpy before the sugar can smooth it out.
- Coarse salt — Use coarse salt, not fine salt, or it melts too quickly and makes the topping harsh. A light rim is enough; you want a salty pop, not a mouthful of brine.
Building the Batter Without Losing the Lime
Start with the Dry Ingredients
Whisk the flour, baking powder, and salt together before anything else so the leavening is evenly distributed. If the baking powder clumps, a few cupcakes rise faster than the rest and you get uneven domes. This quick step also keeps the cupcakes from tasting salty in random spots.
Cream the Butter and Sugar Until It Looks Pale
Beat the butter and sugar until the mixture turns light in color and looks fluffy around the edges of the bowl. That air is what gives these cupcakes a softer crumb. If you rush this stage, the cupcakes bake up denser and the lime flavor can’t lift the texture the way it should.
Alternate the Flour and Lime Mixture
Add the dry ingredients and the sour cream mixture in alternating additions, beginning and ending with flour. That pattern keeps the batter from curdling and helps the cupcakes stay smooth instead of streaky. Once the flour goes in, stop mixing as soon as the batter comes together or you’ll tighten the crumb.
Bake Until the Centers Just Set
The cupcakes are done when the tops spring back lightly and a toothpick comes out clean or with a few moist crumbs. Overbaking dries out the lime flavor first, which is why these can go from perfect to dull in a couple of minutes. Cool them completely before frosting or the buttercream will slide right off.
Three Ways to Make These Margarita Cupcakes Fit the Moment
Alcohol-Free Version
Swap the tequila in both the batter and frosting for extra lime juice. You keep the sharp citrus note and the margarita feel, but the dessert stays completely family-friendly. The flavor is a touch brighter and less rounded, which works well if you want the lime to lead.
Gluten-Free Adaptation
Use a cup-for-cup gluten-free flour blend in place of the all-purpose flour. The cupcakes will stay tender, though they may have a slightly more delicate crumb, so let them cool fully before moving them from the pan. If your blend doesn’t contain xanthan gum, use one that does or the cupcakes can crumble at the edges.
Less-Sweet Frosting
Reduce the powdered sugar slightly and beat the frosting a little longer so it stays smooth. You’ll lose some of the classic bakery sweetness, but the cream cheese and lime become more noticeable. This version works well if you want the salt rim to stand out instead of getting buried under sugar.
Storage and Reheating
- Refrigerator: Store frosted cupcakes in an airtight container for up to 4 days. The frosting firms up in the fridge, and the salt rim can soften a little, so they taste best the first two days.
- Freezer: Freeze the unfrosted cupcakes for up to 2 months. Wrap them tightly and thaw at room temperature before frosting; freezing the finished cupcakes can make the salt and frosting texture uneven.
- Reheating: These don’t need reheating. If the cupcakes have been chilled, let them sit at room temperature for 20 to 30 minutes so the frosting softens and the lime flavor comes back.
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; make sure each cup is ready before mixing batter.
- Whisk all-purpose flour, baking powder, and salt together in a bowl until evenly combined with no streaks.
- Beat butter and granulated sugar until light and fluffy, 2 to 3 minutes, to create a pale, airy base.
- Add eggs one at a time, beating after each addition until the batter looks smooth and glossy.
- Alternate adding the flour mixture and the sour cream mixture (sour cream mixed with lime juice, lime zest, tequila or lime juice, and vanilla), beginning and ending with flour.
- Divide batter among the lined cups, filling each about two-thirds full.
- Bake at 350°F for 16 to 18 minutes until a toothpick comes out clean with just a few moist crumbs, not wet batter.
- Cool completely on a rack for best texture before frosting.
- Rest the cooled cupcakes for 30 minutes to help the crumb set before piping frosting.
- For frosting, beat cream cheese and butter until smooth and lump-free.
- Add powdered sugar, then beat in lime juice and tequila or lime juice until the frosting is thick enough to pipe.
- Pipe frosting onto cooled cupcakes, forming a small peak at the center.
- Dip the top edge of each cupcake in coarse salt for a visible salt rim.
- Garnish each with a lime slice so the lime wheel look shows on top.