No single person invented sanitation systems. They evolved over roughly 5,000 years, with ancient civilizations in the Indus Valley and Mesopotamia building the earliest known urban drainage networks around 3000 BCE. From there, a long chain of engineers, inventors, and public health advocates shaped the systems we rely on today.
The Earliest Urban Sewers: Indus Valley and Mesopotamia
The oldest known citywide sanitation systems belonged to the Harappan civilization, centered in what is now Pakistan and northwest India. The ruined city of Mohenjo-Daro, built around 2450 BCE, had a remarkably sophisticated setup: nearly every house channeled its wastewater into covered drains running along the streets outside. Fresh water came from a network of deep cylindrical wells built from standardized, wedge-shaped bricks. This wasn’t improvised. The entire city was erected on massive artificial platforms near the Indus River, and the drainage infrastructure was part of the original plan.
Around the same time, cities across Mesopotamia (modern-day Iraq and Syria) were developing their own solutions. Sites like Habuba Kabira used interlocking horizontal clay pipes, while Tell Asmar’s Northern Palace had brick drains that removed rainwater from courtyards and wastewater from bathrooms. Mesopotamia’s earliest built toilets date to at least the early 3rd millennium BCE. They used cylindrical drainage pits lined with columns of interlocking perforated ceramic rings, packed with broken pottery on the outside. These have been found at Ur, Nippur, Abu Salabikh, and several other cities.
Rome’s Great Sewer
Ancient Rome took urban drainage to an entirely different scale. The Cloaca Maxima, often called history’s most famous sewer, began as a flood-control channel in the 6th century BCE. The low-lying valley between the Capitoline and Palatine hills sat about 6.9 meters above sea level, while the Tiber’s annual floods easily reached 9 meters, turning the future Roman Forum into a swamp. The Tarquin kings ordered the construction of a massive conduit to drain it.
Tarquinius Priscus started the project around 580 BCE, and Tarquinius Superbus completed the extension down to the Tiber by roughly 520 BCE. The resulting channel had an internal cross-section of about 9 square meters, with the imperial-era version measuring 3.3 meters wide and 3.5 meters tall. It could move tens of cubic meters of water per second. Over the centuries, the system expanded from a drainage channel into a full sewer network serving the growing city. Remarkably, parts of the Cloaca Maxima are still in use today for urban sewage discharge.
The First Flushing Toilet
In 1596, Sir John Harington, an English courtier and godson of Queen Elizabeth I, designed the first mechanical flushing toilet. His device featured a false bottom with a brass sluice that opened to let waste rinse away with water. Harington recommended flushing at minimum twice a day, at noon and at night. He published the design in a satirical book called “The Metamorphosis of Ajax” (a pun on “a jakes,” Elizabethan slang for a privy). The book became notorious, but the toilet itself went essentially nowhere. Harington acknowledged that users would need to learn to operate the flushing mechanism, something they weren’t accustomed to. Without a sewer system to connect to, the invention was ahead of its time.
Nearly two centuries passed before the idea resurfaced. In 1775, Scottish watchmaker Alexander Cumming patented the first practical improvement: the S-shaped trap, or U-bend. This curve in the pipe retained a small amount of water after each flush, creating a seal that blocked sewer gases from rising back into the room. It was an elegant solution to a problem that had made indoor toilets unpleasant and unhealthy. Shortly after, an engineer named Joseph Bramah patented a refined design using two valves operated by a single handle, one under the basin to retain water and cut off odors. These mechanical advances made indoor flushing toilets genuinely usable for the first time.
Proving That Sanitation Saves Lives
For most of history, people believed disease spread through foul-smelling air, a concept known as miasma theory. Sanitation was about comfort and aesthetics, not public health. That changed in 1854, when physician John Snow investigated a devastating cholera outbreak in London’s Soho neighborhood. He traced roughly 600 deaths occurring over just 10 days to a single contaminated water source: the Broad Street pump.
Snow noticed that people who lived near the pump or drew water from it were dying, while brewery workers and poorhouse residents in the same area, who relied on separate local wells, escaped the epidemic entirely. He took this further during a second outbreak the same year by comparing two water companies with overlapping mains in the same London neighborhoods. The Lambeth Company had recently moved its water intake upstream to a cleaner part of the Thames. The Southwark and Vauxhall Company still drew water from a stretch heavily polluted with sewage. The results were stark: Southwark and Vauxhall customers died at a rate of 315 per 10,000 houses, compared to just 37 per 10,000 for Lambeth customers. That eightfold difference, in households living side by side on the same streets, made an overwhelming case that contaminated water, not bad air, spread cholera.
Bazalgette’s London Sewers
Snow’s findings helped shift public understanding, but London still lacked the infrastructure to act on them. That changed after the “Great Stink” of 1858, when the smell from the polluted Thames became so unbearable that Parliament finally authorized a massive engineering project. The man who built it was Joseph Bazalgette, chief engineer of London’s Metropolitan Board of Works.
Bazalgette spent nine years constructing six “interceptor” sewers, large trunk lines that ran parallel to the Thames and captured the waste flowing from smaller sewers before it could reach the river. The interceptors stretched about 100 miles in total, with another 450 miles of smaller sewers feeding into them. The system carried London’s sewage downstream to treatment works far from the city’s drinking water supply. The impact was decisive: cholera, which had killed 15,000 Londoners in the 1853 epidemic alone, was eliminated from the city. Bazalgette’s network became the template for modern urban sanitation worldwide.
Where Sanitation Stands Today
Despite 5,000 years of progress, modern sanitation remains unevenly distributed. As of 2022, 3.5 billion people, roughly 43% of the global population, still lacked what the World Health Organization defines as “safely managed sanitation,” meaning a toilet or latrine connected to treatment or safe disposal of waste. The gap is concentrated in low-income countries where building conventional sewer networks is prohibitively expensive.
Newer approaches are trying to bypass the need for sewers altogether. The Gates Foundation’s Reinvent the Toilet Challenge has funded teams developing self-contained units that process waste on-site. A team at the University of Colorado built a toilet that converts solid waste into biological charcoal, a material safe enough to use as fuel or fertilizer, while treating urine into nitrogen-rich fertilizer with no harmful byproducts. Other projects include a University of Bristol urinal that transforms waste into electricity, and solar-powered toilets developed by Indian research teams that process waste using concentrated sunlight. The goal across all of these designs is the same: remove pathogens and recover useful resources without connecting to water mains, sewer lines, or electrical grids.

