There was no single invention
The title suggests that one person built one machine and the problem was solved. The real history is less tidy. Safe city water came from a series of separate developments across roughly a century: filters in the early 1800s, a new understanding of disease in the second half of that century, chemical disinfection in the early 1900s, and steady refinement ever since. Many people contributed, often without knowing about one another, and historians still debate who deserves credit for particular steps.
What can be said plainly is that, for most of history, towns drank water that was often contaminated, and the results were severe. Modern water treatment is the accumulated answer to that problem.
Water before treatment
Ancient and medieval communities certainly cared about water quality. Texts from several early civilizations discuss cloudy water, bad taste and settling or straining it. Rome’s famous aqueduct engineering moved large volumes of water over long distances, and engineers there paid attention to the source and to letting sediment settle. But clarity and taste were the main tests. Nobody knew that water could carry living organisms that cause disease.
As cities grew during the Industrial Revolution, the problem worsened. Rivers that supplied drinking water also received waste. Wells sat close to cesspools. Outbreaks of cholera and typhoid were common in crowded towns, and the dominant explanation for many decades was “miasma,” the idea that disease spread through foul air.
Cholera and a change of mind
Cholera reached Britain in the 1830s and returned in later waves. During the 1854 outbreak in the Soho district of London, the physician John Snow mapped cases around a public pump on Broad Street and argued that the water, not the air, carried the disease. He had already compared households served by different London water companies and found that the one drawing from a more contaminated stretch of the Thames had more deaths. His reasoning is now widely admired, though it did not convince everyone at the time, and the removal of the pump handle is often told as a neater story than the evidence supports.
The explanation became firmer later. Improved early microscopes and better laboratory methods allowed researchers in the 1870s and 1880s to link specific bacteria to specific illnesses. Robert Koch’s work on cholera in the early 1880s is a standard milestone. This growing acceptance of germ theory gave engineers and health officials a target: remove or kill the organisms, not just the visible dirt.
Filtration comes first
Filtering came before the theory. In 1804, a bleachery owner in Paisley, Scotland, built a sand filter to clean water for his works, and surplus water was sold to townspeople. In 1829, the engineer James Simpson built a large filter for a London water company. Parliament’s Metropolis Water Act of 1852 later required London’s Thames-supplied companies to filter their water, one of the earliest laws of its kind. The detail of this stage is covered in the articles on the slow sand filter and sand filtration.
The effect of filtration was dramatically illustrated in Hamburg in 1892. The city drew unfiltered water from the Elbe and suffered a severe cholera epidemic, while neighboring Altona, which filtered a similar supply, fared noticeably better. The contrast was widely cited by public health reformers.
Chlorine arrives
Filters reduced the problem but did not eliminate it, and they were expensive to build and clean. The next step was chemical. In the late 1890s and early 1900s, several water works, including ones in England, Belgium and the United States, began adding chlorine compounds to water. A large and influential trial took place in Jersey City, New Jersey, in 1908. Over the following years the technique spread quickly because it was cheap and could be added to existing systems. Ozone and, later, ultraviolet light were also adopted in some places as alternative disinfectants.
The development of industrial chemistry mattered here. Bleaching powder and, eventually, liquid chlorine in cylinders were products of a chemical industry that had been built for other purposes, such as textile bleaching. Water works borrowed a cheap, reliable material.
Pipes alone were not enough
Treated water is only half of the story. Removing waste from the city matters just as much, which is why the history of sewer systems runs alongside the history of water treatment. Cities that built both tended to see the strongest declines in typhoid and cholera. Safer milk, through milk pasteurization, also contributed, as did better food handling and housing. Because so many changes arrived together, it is difficult to assign an exact share of the improvement to any one of them.
Still, the pattern is consistent. In the United States and Western Europe, typhoid fever, which had been a familiar cause of death in cities in the late 1800s, became uncommon within a few decades of filtration and chlorination becoming standard. Researchers of the era also noticed that deaths from other diarrheal illnesses fell, sometimes by more than the drop in typhoid alone, which suggested that cleaner water had broad benefits. That finding is often called the Mills-Reincke phenomenon, after two investigators who observed it independently in the 1890s.
Later developments
The twentieth century added coagulation and rapid filters, monitoring for bacteria, national standards and laws, and a growing list of tests for chemical contaminants. Pumping and distribution depended on steam engines and later on electric power. In recent decades, membrane filters and other technologies have extended treatment to harder cases, including seawater and reused wastewater, which are covered separately in the articles on desalination plants and water recycling.
Access remains uneven. Many people around the world still lack reliably safe drinking water, and treatment systems can fail, as aging pipes and poorly managed supplies have shown in modern cities. The history is best read as an account of how a set of ideas and tools developed, not as a claim that the problem is finished.