In a small saucepan over medium heat, dissolve the 2 cups of sugar into the 2 cups of water.
Mix in the 2 teaspoons of root beer extract.
Allow root beer syrup to cool slightly then pour into two 1 pint mason jars. Store in the fridge until ready to use.