Prepare your glasses: If desired, rim your margarita glasses by running a lime wedge around the edge and dipping it into a plate of salt or sugar. Fill the glasses with ice.
Combine ingredients: In a cocktail shaker, add the tequila, fresh lime juice, pineapple juice, orange liqueur, and agave nectar.
Add ice and shake: Fill the shaker with ice cubes. Secure the lid tightly and shake vigorously for about 15-20 seconds, until the shaker is well-chilled.
Strain and serve: Strain the mixture from the shaker into your prepared glasses filled with ice. Ensure no ice shards go into the glass.
Garnish and enjoy: Add a lime wedge and a small pineapple wedge to each glass for a tropical flair. Serve immediately and savor the taste of paradise.