Fill a cocktail or high ball glass almost to the brim with ice. Set aside.
Fill a cocktail shaker up half way with ice. Add lime juice, syrup, tequila and triple sec.
Cover and shake for 20 seconds. Strain the cocktail over the ice. Serve immediately.
To serve with a salted rim, coat the top of the glass with lime juice before adding ice.