Combine the vinegar, water, salt and sugar into a small saucepan. Cook over medium-low heat until the salt and sugar has dissolved.
Place the red pepper flakes, garlic cloves and red onions into a large canning jar. Pour the vinegar mixture over the onions and bring to room temperature. Seal with a lid and store in the fridge.