Bring the water to a rolling boil and keep it there for at least 1 full minute — 3 minutes above 2,000 m elevation.
Let it cool on its own; do not add ice. If the water is cloudy, let it settle and strain it through a clean cloth before boiling.
If you cannot boil, add 2 drops of unscented household bleach per litre, stir, and wait 30 minutes before drinking.