Bacteria in Drinking Water: Coliform, E. coli, Testing and Treatment

Reviewed by Sarah Anderson

Bacteria are the most common health problem in private wells, and you can't see, taste or smell them. Here's how to test, what a positive result means, and how to fix it for good.

Quick answer

Test private wells for total coliform and E. coli at least once a year. If E. coli is positive, boil drinking water for one minute until it's fixed. The usual path is: repair the source, shock chlorinate, retest, and add a UV system with a sediment pre-filter if bacteria keep coming back. City water is tested by the utility; follow any boil-water notice.

Types of bacteria and germs in water

  • Total coliform: a group of mostly harmless bacteria used as a warning sign that something is getting in.
  • E. coli: a sign of human or animal waste. Most strains are harmless, but some cause serious illness.
  • Protozoa such as Giardia and Cryptosporidium: larger germs that resist chlorine; filters certified for "cyst reduction" remove them.
  • Iron and sulfur bacteria: nuisance bacteria that cause slime and odors; see iron and sulfur.

Health effects and the EPA limit

  • EPA limit: zero E. coli in public water, with total coliform triggering repairs. See EPA's Revised Total Coliform Rule.
  • Symptoms: diarrhea, cramps, nausea and vomiting are most common.
  • Higher risk: babies, older adults, pregnant people and anyone with a weak immune system.
  • Private wells aren't regulated, so testing is up to you. See the EPA private wells page.

How to test for bacteria

  1. Use a certified lab and its sterile bottle; ask for total coliform and E. coli.
  2. Sample carefully: remove the aerator, run cold water a few minutes, don't touch the inside of the cap.
  3. Get it to the lab fast, usually within 24 to 30 hours, kept cool.
  4. Test yearly, and after floods, repairs or any change in the water.

Step-by-step instructions are in how to test water for bacteria.

What to do after a positive test

  1. If E. coli is positive, boil drinking and cooking water or use bottled water right away.
  2. Inspect the well: look for a loose or missing cap, cracked casing, and water pooling around the wellhead.
  3. Shock chlorinate the well and plumbing. Follow our shock chlorination guide.
  4. Retest one to two weeks later, after the chlorine is flushed out.
  5. If bacteria return, add continuous treatment such as UV.

UV only works on clear water. Iron, manganese, hardness or cloudy water can shield germs from the light, so test for those first and add a sediment filter ahead of the UV lamp.

Well UV system to compare

This whole-house system pairs filtration with a UV stage for wells that need ongoing protection. Fix the source and test for iron and hardness before ordering.

Aquasana Rhino Well Water with UV
Well Water UV Pick

Aquasana Rhino Well Water with UV

Why we recommend it

A whole-house well-water filter with a UV stage, sized to treat every tap. UV works only on clear water, so test for iron, manganese and hardness first; it doesn't replace fixing a well defect or shock chlorinating after contamination.

Compare sizing, treatment options and ongoing costs in our best well water filters guide.

Compare more options in our best UV water purifiers and whole-house UV filters guides. Wondering about RO? Read does reverse osmosis remove bacteria.

Bacteria treatment options compared

MethodTreatsWatch out for
Repairing the wellStops the sourceOften the real fix; check cap, casing and grading
Shock chlorinationKills bacteria in the well and pipesOne-time; retest 1–2 weeks later
UV disinfectionContinuous protection at every tapNeeds clear water and an annual lamp change
Continuous chlorinationOngoing protectionNeeds a contact tank and carbon to remove taste
BoilingEmergency drinking waterNot a long-term solution
Carbon filtersNot designed for bacteriaCan grow bacteria if not changed

See the full plan in our well water bacteria treatment guide.

Bottom line

Test your well every year. If bacteria show up, boil water, fix the source, shock chlorinate and retest; add UV if the problem returns. Compare full rankings in our best well water filters guide and see the other common water contaminants.

Frequently Asked Questions

Related Reviews & Guides