Rim your margarita glass with salt if desired. Fill it with ice and set aside.
In a cocktail shaker, combine tequila, triple sec, coconut water, and lime juice with ice.
Shake well until the outside of the shaker feels cold.
Strain into the prepared glass filled with ice.
Garnish with a lime wedge and serve immediately.