Margarita Cake Recipe

A zesty, tequila-infused cake balancing sweet, tangy lime and a hint of salt, capturing the essence of the classic cocktail in a delightfully moist dessert.
Difficulty:
Intermediate
Prep Time:
45 mins
Cook Time:
35 mins
Serves:
1 cake (12 slices)
An overhead shot of a rustic white-frosted Margarita Cake on a blue ceramic cake stand, with sunlight streaming through a nearby window. The cake features a lime-flecked buttercream with a salt-sugar rim decorating the top edge, mimicking the classic cocktail. A cross-section reveals a moist, tender crumb with subtle specks of lime zest throughout. Surrounding the cake are fresh lime wedges, a small bowl of flaky sea salt, and a cut lime showing its juicy interior. A drizzle of tequila-lime glaze cascades down one side, catching the light and highlighting the cake's moist texture. The scene is completed with a sprig of fresh mint and a vintage cocktail glass in the background, suggesting the inspiration behind this boozy baked creation.

Ingredients

<ul class="ingredients-main-list"> <li class="ingredients-single-item">250g unsalted butter, softened</li> <li class="ingredients-single-item">300g caster sugar</li> <li class="ingredients-single-item">4 large eggs, room temperature</li> <li class="ingredients-single-item">320g self-raising flour</li> <li class="ingredients-single-item">1/2 tsp baking powder</li> <li class="ingredients-single-item">1/4 tsp salt</li> <li class="ingredients-single-item">Zest of 3 limes</li> <li class="ingredients-single-item">60ml fresh lime juice</li> <li class="ingredients-single-item">60ml tequila (blanco preferred)</li> <li class="ingredients-single-item">2 tbsp triple sec (or orange liqueur)</li> <li class="ingredients-single-item">120ml buttermilk</li> <li class="ingredients-single-item">1 tsp vanilla extract</li> <li class="ingredients-single-item">For the tequila-lime syrup:</li> <li class="ingredients-single-item">60ml fresh lime juice</li> <li class="ingredients-single-item">100g granulated sugar</li> <li class="ingredients-single-item">45ml tequila</li> <li class="ingredients-single-item">For the frosting:</li> <li class="ingredients-single-item">200g unsalted butter, softened</li> <li class="ingredients-single-item">400g icing sugar, sifted</li> <li class="ingredients-single-item">3 tbsp lime juice</li> <li class="ingredients-single-item">2 tbsp tequila</li> <li class="ingredients-single-item">1 tbsp triple sec</li> <li class="ingredients-single-item">Zest of 1 lime</li> <li class="ingredients-single-item">For the rim:</li> <li class="ingredients-single-item">2 tbsp flaky sea salt</li> <li class="ingredients-single-item">2 tbsp granulated sugar</li> <li class="ingredients-single-item">Zest of 1 lime</li> </ul>

Equipment

<ul class="equipment-main-list"> <li class="equipment-single-item">Two 20cm (8-inch) round cake tins</li> <li class="equipment-single-item">Stand mixer or electric hand mixer</li> <li class="equipment-single-item">Microplane or fine grater for zesting</li> <li class="equipment-single-item">Citrus juicer</li> <li class="equipment-single-item">Cake turntable (optional but helpful)</li> </ul>
BAKE SMARTER

Kitchen Converter

Quickly switch between common baking units without leaving the recipe.

Convert
Result—

Volume uses US cups, tablespoons, and teaspoons. Converting weight to volume depends on the ingredient.

Directions

<ol class="no-list-style"> <li class="MethodStepper"> <h4 class="step-title">Step 1</h4> Preheat your oven to 170°C (150°C fan/325°F). Grease and line two 20cm (8-inch) round cake tins with parchment paper. This lower temperature helps the cake bake evenly without drying out the edges. </li> <li class="MethodStepper"> <h4 class="step-title">Step 2</h4> In a large bowl, cream together the butter and caster sugar until pale and fluffy, about 5-6 minutes. This extended beating time is crucial as it creates air pockets that help your cake rise and achieve a light texture. The mixture should be noticeably lighter in both color and consistency when ready. </li> <li class="MethodStepper"> <h4 class="step-title">Step 3</h4> Add the eggs one at a time, beating well after each addition. If the mixture looks like it's beginning to curdle, add a tablespoon of your measured flour to stabilize it. The proteins in the egg whites provide structure while the yolks add richness and moisture. </li> <li class="MethodStepper"> <h4 class="step-title">Step 4</h4> In a separate bowl, whisk together the flour, baking powder, and salt. In another small bowl, combine the lime zest, lime juice, tequila, triple sec, buttermilk, and vanilla extract. The acid in the buttermilk and lime juice will react with the baking powder to help the cake rise, creating a tender crumb. </li> <li class="MethodStepper"> <h4 class="step-title">Step 5</h4> Add one-third of the flour mixture to the butter mixture and fold gently until just combined. Pour in half the liquid ingredients and fold again. Continue alternating, ending with the flour mixture. This method prevents gluten from developing too much, keeping your cake tender. Be careful not to overmix - stop as soon as the ingredients are incorporated. </li> <li class="MethodStepper"> <h4 class="step-title">Step 6</h4> Divide the batter evenly between the prepared tins. Tap the tins gently on the counter to remove any large air bubbles. Bake for 30-35 minutes, or until a skewer inserted into the center comes out clean and the tops spring back when lightly pressed. The cakes should be golden on top and starting to pull away from the sides of the tins. </li> <li class="MethodStepper"> <h4 class="step-title">Step 7</h4> While the cakes are baking, prepare the tequila-lime syrup. In a small saucepan, combine the lime juice and sugar. Bring to a simmer over medium heat, stirring until the sugar dissolves completely. Remove from heat and stir in the tequila. Set aside to cool slightly. This syrup will add moisture and intensify the cocktail flavors. </li> <li class="MethodStepper"> <h4 class="step-title">Step 8</h4> When the cakes are done, leave them in their tins and place on a cooling rack. While still warm, use a skewer or toothpick to poke holes all over the top of both cakes. Slowly spoon about two-thirds of the tequila-lime syrup over the cakes, allowing it to absorb. Reserve the remaining syrup for the frosting. Let the cakes cool completely in their tins. </li> <li class="MethodStepper"> <h4 class="step-title">Step 9</h4> For the frosting, beat the softened butter until creamy and pale, about 3 minutes. Gradually add the sifted icing sugar, beating well after each addition. Pour in the lime juice, tequila, triple sec, and add the lime zest. Beat until the frosting is light and fluffy, about 5 minutes. If it's too thick, add a splash of lime juice; if too thin, add a little more icing sugar. </li> <li class="MethodStepper"> <h4 class="step-title">Step 10</h4> Once the cakes are completely cool, carefully remove them from the tins. Place one layer on your serving plate, flat side up. Spread a generous layer of frosting over the top. Place the second cake layer on top, flat side down. Cover the entire cake with a thin layer of frosting (crumb coat), then refrigerate for 20 minutes to set. This will seal in any crumbs and make the final frosting layer smoother. </li> <li class="MethodStepper"> <h4 class="step-title">Step 11</h4> After chilling, apply the remaining frosting to the cake, swirling decoratively with an offset spatula or the back of a spoon. Leave about 2cm (¾ inch) around the top edge unfrosted for the salt-sugar rim. </li> <li class="MethodStepper"> <h4 class="step-title">Step 12</h4> For the rim, mix the sea salt, sugar, and lime zest in a small bowl. Brush the unfrosted edge of the cake with a little of the reserved syrup, then carefully press the salt-sugar mixture onto this area to create the signature margarita salt rim effect. </li> <li class="MethodStepper"> <h4 class="step-title">Step 13</h4> Refrigerate the cake for at least 30 minutes before serving to allow the flavors to meld. For the best flavor and texture, remove from the refrigerator about 30 minutes before serving. This cake will keep for up to 3 days in an airtight container in the refrigerator, though the salt rim may begin to dissolve slightly after the first day. </li> </ol>

Nutrition Facts (per serving)

🍽️ Serving Size: 1 cookie
🔥 Calories: 195 calories
🥑 Fat: 11 g
🧈 Saturated Fat: 6 g
🍞 Carbohydrates: 22 g
🍭 Sugar: 12 g
🍗 Protein: 3 g
🫀 Cholesterol: 35 mg
🧂 Sodium: 75 mg

Chef’s Notes

A few helpful details for making this recipe.

Can I make this cake alcohol-free but still retain the cocktail flavour?

Yes! Substitute tequila and triple sec with alcohol-free alternatives like tequila-flavoured syrup (1-2 tsp tequila extract mixed with simple syrup) and orange extract. Increase the lime juice slightly to maintain the tangy margarita profile without any alcohol content.

What's the best way to achieve the perfect salt rim on a cocktail-inspired cake?

For the perfect salt rim, brush the top edge of the frosted cake with lime juice or simple syrup as a "glue." Mix flaky sea salt with sugar and lime zest, then carefully press this mixture onto the dampened area using your fingers or a small spoon for the authentic margarita look.

How far in advance can I make this boozy lime cake for a party?

This tequila-infused cake can be made up to 2 days in advance and stored in the refrigerator. The alcohol and syrup actually improve the flavour over time. However, apply the salt rim no more than 24 hours before serving as it may begin to dissolve slightly after that.

Want to try something else in ...

More recipes you might like

Keep exploring with more recipes from What's Baking.