Place the vinegar, water, salt, and sugar in a small pot. Turn on high heat and stir until the sugar and salt have melted into the brine.
Pour the hot brine into the onion-filled jar. Place in the refrigerator for at least 30 minutes to cool and meld. Once cool, cap the jar and store in the refrigerator up to one month.