Add the rosemary, sugar, and water to a small saucepan. Bring to a boil over a medium-high heat.
Once the sugar dissolves, turn off the heat and let the mixture sit for 15-20 minutes.
Once the syrup is as strong as you'd like it, strain the mixture through a fine-mesh sieve into a jar or storage container.
Refrigerate for up to one month.