A sewage treatment plant is a facility that cleans wastewater from homes, businesses, and sometimes industrial sites before releasing it back into rivers, lakes, or oceans. It works in stages, using physical filtering, biological processes, and chemical disinfection to remove everything from solid debris to dissolved organic matter and harmful bacteria. Globally, about 42% of household wastewater still isn’t safely treated before discharge, releasing an estimated 113 billion cubic meters of inadequately treated sewage into the environment each year.
What Sewage Actually Contains
The water flowing into a treatment plant carries far more than human waste. It includes food scraps, soap, detergent, oils, paper products, sand, grit, and traces of pharmaceuticals and household chemicals. All of this arrives mixed together through underground sewer pipes, often combined with water from showers, sinks, dishwashers, and washing machines. In some older cities, stormwater runoff enters the same pipes, meaning heavy rain can suddenly flood a plant with a much larger volume of diluted sewage.
The organic material in sewage is measured by something called biochemical oxygen demand, or BOD. This tells engineers how much oxygen bacteria would consume while breaking down the waste. The higher the BOD, the more polluted the water. Untreated sewage has a high BOD, and the entire treatment process is designed to bring that number down to safe levels before discharge.
Primary Treatment: Removing Solids
The first stage is purely physical. Wastewater passes through bar screens, which are metal grates that catch large objects like rags, sticks, plastic, and other debris that would damage equipment further down the line. After screening, the water flows into grit chambers where sand, gravel, and small stones settle to the bottom. These heavier particles would wear down pumps and clog pipes if left in the flow.
Next comes primary sedimentation. The wastewater enters large, slow-moving tanks where it sits long enough for suspended solids to sink to the bottom as a layer of sludge. Oils, grease, and lighter materials float to the surface and are skimmed off. By the end of primary treatment, a significant portion of the suspended solids have been physically separated from the water. But most of the dissolved organic pollution remains, which is why the next stage exists.
Secondary Treatment: Bacteria Do the Work
Secondary treatment is where biology takes over. The goal is to break down the dissolved organic matter that physical filtering can’t catch. The most common method is the activated sludge process, which essentially creates ideal conditions for aerobic bacteria (microorganisms that need oxygen) to feed on the remaining waste. Large aeration tanks pump air or pure oxygen into the wastewater, keeping billions of bacteria alive and actively consuming organic material. As they eat, they convert waste into carbon dioxide, water, and more bacterial cells.
These bacteria also reduce nitrogen compounds through a process called nitrification, which helps prevent nutrient pollution downstream. Conventional activated sludge systems remove 85 to 95% of the BOD from wastewater. The EPA sets discharge limits requiring treated water to contain less than 30 milligrams per liter of BOD on a 30-day average, and well-run conventional plants typically achieve 5 to 15 milligrams per liter.
After the biological reaction, the mixture flows into a secondary clarifier where the bacteria clump together and settle out. Some of that settled bacteria is recycled back into the aeration tank to keep the process going. The rest becomes excess sludge that needs separate handling.
Tertiary Treatment and Disinfection
Some plants add a third stage to polish the water further, especially when it’s being discharged into sensitive waterways or reused. Tertiary treatment can include sand filtration, chemical treatment to remove phosphorus, and advanced filtering to bring BOD below 5 milligrams per liter. The final step before discharge is disinfection, typically using chlorine, ultraviolet light, or ozone to kill remaining bacteria and viruses. UV disinfection has become increasingly popular because it doesn’t add chemicals to the water.
What Happens to the Sludge
All those solids removed during primary and secondary treatment don’t disappear. They become sludge, which is one of the biggest challenges in wastewater management. The most widely used method for handling it is anaerobic digestion. Sludge is held in sealed tanks without air for 15 to 60 days at temperatures between 68 and 131°F. Anaerobic bacteria feed on the material, producing methane and carbon dioxide as byproducts.
Many treatment plants capture that methane and burn it to generate heat or electricity, sometimes producing enough energy to partially power the facility itself. Digestion also reduces odors, kills many disease-causing organisms, and preserves nutrients like nitrogen and phosphorus. The end product, called biosolids, can be applied to agricultural land as a soil conditioner when it meets safety standards. Sludge that doesn’t qualify for land application is typically incinerated or sent to a landfill.
Membrane Bioreactors: A Newer Approach
Traditional treatment plants need large settling tanks and clarifiers, which means they take up a lot of space. Membrane bioreactor (MBR) systems, which have become increasingly common over the past decade, compress much of that footprint. An MBR combines the biological treatment step with membrane filtration, essentially replacing the secondary clarifier and sand filters with fine membranes that physically strain bacteria, suspended solids, and much of the BOD and phosphorus out of the water.
Because the membranes hold bacteria inside the reactor rather than relying on gravity settling, MBR systems can maintain a much higher concentration of active microorganisms in a smaller tank. According to the EPA, this means new MBR installations can handle higher wastewater volumes or achieve better treatment quality in a smaller space than conventional designs. The filtered water coming out of an MBR has very low levels of bacteria and suspended solids, making final disinfection more effective.
Why Treatment Matters for Ecosystems
When untreated or poorly treated sewage enters waterways, the nitrogen and phosphorus it carries act as fertilizer for algae. This triggers rapid algal blooms that block sunlight from reaching underwater plants. When the algae die, decomposing bacteria consume the dissolved oxygen in the water, creating “dead zones” where fish, shellfish, and other aquatic life can’t survive. The largest dead zone in the United States covers roughly 6,500 square miles in the Gulf of America and forms every summer due to nutrient pollution flowing down the Mississippi River Basin.
Some algal blooms also produce toxins that contaminate drinking water supplies and make shellfish unsafe to eat. Effective sewage treatment is one of the most direct ways to reduce the nutrient load entering lakes, rivers, and coastal waters.
Treated Water Reuse
Increasingly, the water leaving treatment plants isn’t just discharged. It’s reused. Recycled water is commonly distributed through separate “purple pipe” systems for landscape irrigation, industrial cooling, agricultural use, and replenishing groundwater supplies. Several U.S. states have developed specific regulations governing water quality standards for recycled water used in agriculture, and the EPA has published frameworks for setting microbial treatment targets that support both potable and non-potable reuse.
In water-scarce regions, advanced treatment plants can purify wastewater to drinking water standards using reverse osmosis and advanced oxidation. This practice, sometimes called indirect or direct potable reuse, is expanding as droughts intensify and water demand grows. The treatment technology already exists to make this safe. The bigger challenge is often public acceptance.

