Combine sugar, water, and ginger in a small saucepan over medium heat.
Bring to a boil, stirring until sugar is completely dissolved. Reduce heat, simmer for 10 minutes.
Remove from heat and let sit for 20 minutes. Strain out ginger and let cool completely.
Store syrup in a lidded jar or bottle in the refrigerator.