Step 1Combine the sugar and 1 ½ cups water in a small saucepan. Bring to a boil over high heat, stirring occasionally to dissolve the sugar.
Step 2Add the ginger and chiles, reduce the heat to medium, and boil for 2 minutes longer. Remove from the heat. Divide the ginger and chiles among 2 pint jars or 4 half-pint jars, then pour the simple syrup into the jars. Seal the jars and cool to room temperature, then refrigerate until ready to use.