Combine the rosemary, sugar and water in a pot over medium heat. Stir until the sugar has dissolved. Turn off the heat and let the rosemary steep for about 10 minutes (longer for a stronger flavor). Remove from the heat and let cool completely.
Strain through a fine mesh sieve. Store in an airtight jar for up to 1 month in the refrigerator.