These creamy, refreshing margarita bars are an easy, crowd-pleasing dessert that captures the bright flavors of a classic margarita. A salty Ritz cracker crust supports a silky, tangy tequila-lime custard with a whisper of orange. Ready in about 15 minutes of hands-on time, they can be made alcohol-free, are ideal for make-ahead serving, and slice beautifully for gatherings.

These bars were inspired by a creamy lemon-bar style dessert but swap the lemon for bright lime, and the graham cracker crust for a salted Ritz cracker base. If you appreciate a margarita with a salted rim and bold citrus, these bars deliver that same balance of tart, sweet, and salty in dessert form.
Why We Love These Margarita Bars

These bars combine the best elements of a margarita: bright lime, a hint of orange, and a salty edge. The filling is silky yet sturdy, thanks to a blend of whole eggs, yolks, and sour cream. The salted Ritz crust contrasts the tangy filling and keeps each bite balanced and satisfying.
Highlights:
- Fast and simple to prepare—about 15 minutes of prep time.
- Perfect for potlucks, parties, and summer gatherings.
- Easy to make alcohol-free by substituting lime and orange juices for the spirits.
- Silky texture with a salty crust that brightens the lime filling.
Ingredient Notes

- Tequila & Cointreau: Blanco tequila and Cointreau (or another orange liqueur) are used for authentic margarita flavor. For alcohol-free bars, replace these with extra lime juice and orange juice.
- Eggs & Sour Cream: Unlike some key lime–style bars that use only yolks, this recipe combines whole eggs and yolks with sour cream for a creamy, well-set texture that avoids a slimy or rubbery finish.
- Fresh citrus: Use fresh lime juice and lime zest for the best, brightest flavor.
Ways To Vary This Recipe
- Crust options: Swap the Ritz crackers for graham crackers, pretzels, or a gluten-free cracker to change the base flavor and texture.
- Spicy kick: Make a spicy version by using a jalapeño-infused tequila or adding a touch of finely minced jalapeño to the filling for heat.
- More orange: Add a teaspoon of orange zest to emphasize the orange liqueur notes.
Step-By-Step Instructions

Step 1: Preheat the oven to 350°F. Place Ritz crackers in a food processor and pulse until they form fine crumbs. Add melted butter, vanilla, sugar, and salt; pulse until evenly combined.

Step 2: Line a 9×9-inch pan with parchment paper and firmly press the cracker mixture into the bottom in an even layer. Press very well so the crust holds together. Bake 10–15 minutes until golden, then cool slightly.

Step 3: While the crust cools, combine the filling ingredients in a medium bowl: sweetened condensed milk, whole eggs, egg yolks, fresh lime juice, Cointreau (or orange juice for alcohol-free), tequila (omit or replace with lime/juice if avoiding alcohol), lime zest, and room-temperature sour cream.

Step 4: Whisk gently until the mixture is smooth and homogenous. Use room-temperature ingredients to avoid curdling and to achieve the creamiest texture. Avoid over-mixing to prevent incorporating unnecessary air into the filling.

Step 5: Pour the filling over the baked crust and return to the oven. Bake 17–20 minutes, until the edges are set and the center is just barely set—slight jiggle is okay and desirable for a creamy finish.

Step 6: Cool the pan on a wire rack for 30–60 minutes, then chill in the refrigerator for at least 2 hours—ideally 4–6 hours—to fully set. Before slicing, sprinkle flaky sea salt and fresh lime zest over the top and use a sharp knife to cut clean slices.

Recipe Tips
Alcohol is optional. Replace tequila with extra lime juice and substitute orange liqueur with orange juice for a fully alcohol-free version that still tastes vibrant.
Don’t over-mix the filling. Whisk until smooth—over-mixing traps air and can cause unwanted bubbles or a less-silky texture. For best results, you can make the filling the day before and refrigerate to let air bubbles dissipate.
Avoid over-baking. The center should remain slightly jiggly when you remove the bars from the oven. The filling will firm up as it chills; baking too long can create a rubbery texture.
Storage
Store the bars in an airtight container in the refrigerator for up to one week. Note the crust may soften after several days but the bars remain tasty.
To freeze: Chill completely, then slice and flash-freeze in a single layer for about an hour. Transfer slices to a freezer-safe container with parchment between layers and freeze up to three months. Thaw overnight in the refrigerator before serving.
Common Questions
Yes, if you use tequila and orange liqueur the finished bars will retain some alcohol because the short bake time does not remove all alcohol. For a completely alcohol-free version, omit the spirits and replace them with lime and orange juice.
Other Dessert Bars
Brownies + Bars
Margarita Bars
No-Bake Desserts
No-Bake Lemon Cheesecake Bars
Desserts
Creamy Lemon Bars with Graham Cracker Crust
Desserts
Blueberry Lemon Bars
HUNGRY FOR MORE? Subscribe to the recipe newsletter and follow food accounts for the latest dessert ideas and seasonal recipes.
Margarita Bars With Salted Ritz Cracker Crust

Ingredients
Ritz Cracker Crust
- 52 Ritz crackers (about 2 cups crumbs)
- 1/2 cup unsalted butter, melted and slightly cooled
- 1/4 cup sugar
- 1/4 tsp vanilla extract
- 1/4 tsp sea salt
Margarita Filling
- 2 (14-oz) cans sweetened condensed milk
- 2 large whole eggs, room temperature
- 2 large egg yolks, room temperature
- 2/3 cup freshly squeezed lime juice
- 2 Tbsp Cointreau or other orange liqueur (or orange juice for alcohol-free)
- 1/4 cup tequila (or additional lime juice/ alcohol-removed alternative)
- 1–1 1/2 Tbsp lime zest
- 1/2 cup sour cream, room temperature
Instructions
- Preheat oven to 350°F.
- Prepare the crust: process crackers to fine crumbs, then add melted butter, vanilla, sugar, and salt and pulse to combine. Press firmly into a parchment-lined 9×9-inch pan. Bake 10–15 minutes until golden and set aside to cool.
- Prepare the filling: whisk together sweetened condensed milk, whole eggs, egg yolks, lime juice, Cointreau (or orange juice), tequila (or substitute), lime zest, and sour cream until smooth. Use room-temperature ingredients for best texture.
- Pour the filling over the cooled crust. Bake 17–20 minutes until edges are set and the center is just set but still slightly jiggly.
- Cool on a rack for 30–60 minutes, then refrigerate for at least 2 hours and ideally 4–6 hours to fully set. Sprinkle flaky sea salt and fresh lime zest before slicing.
Notes
Alcohol-free option: Replace tequila and orange liqueur with extra lime and orange juices for a bright, kid-friendly version.
Mixing & baking tips: Whisk just until smooth to avoid trapping air. Remove the bars when the center still has a slight jiggle—this yields a creamy texture after chilling. Overbaking can make the filling rubbery.
Storage: Refrigerate up to one week in an airtight container. Freeze slices in a single layer, then store in a freezer-safe container up to three months; thaw overnight in the fridge.
Nutrition
Calories: 419 kcal, Carbohydrates: 50 g, Protein: 8 g, Fat: 20 g. Nutrition info is an estimate.
Nutrition information is automatically calculated, so should only be used as an approximation.
Shop This Post
9×9 inch Baking Pan
Citrus Juicer
Zester