Put water and sugar in a medium saucepan and bring to a boil. Add sliced jalapeños.
Lower heat and let simmer for about 10 minutes, until syrup has thickened.
Pour mixture into a heat-proof bowl or mason jar (strain peppers out if you want to keep the spiciness level down). Place bowl or jar in fridge to cool completely before using.