The length of freshness will be determined by how the water was stored. The purity of the water is another factor. Moisture left in the open can get contaminated in 1–3 days. The length of time that water can be stored before it goes bad depends on several factors. It includes the quality of the water at the time it was stored. Also, the temperature at which it is stored, the cleanliness, and the airtightness of the container. Under optimal conditions, water can be stored for several years without going bad. However, replacing stored water every 6 to 12 months is generally recommended to ensure that it remains fresh and safe to drink.