Rotten-Egg Smell Source: Bacteria vs Anode vs Sulfur Water Decision Tree

Why this matters

The rotten-egg smell of hydrogen sulfide has three common origins that produce nearly identical complaints but need completely different fixes: sulfur in the source water, sulfate-reducing bacteria growing inside the water heater (often reacting with the magnesium anode rod), and sulfur bacteria in the well or plumbing. Replace an anode rod when the source water is the problem and the smell returns in a week. Install a whole-house sulfur filter when the issue is isolated to the hot side and you have over-treated. The single most powerful diagnostic is the hot-versus-cold split, and this tree builds from there.

Symptom presentation

Ask three questions: Is the smell on the hot water, the cold water, or both? Is it at every fixture or one? Did it start after a period of low use (vacation, vacant house) or has it always been present? A smell only on hot water that worsens after the heater sits idle points squarely at the water heater and its anode. A smell on both hot and cold at every fixture points to the source water or a well/distribution bacterial issue. A smell at one fixture only is usually a localized drain or biofilm issue, not the water itself.

Quick checks

  • Smell the cold water at an outside hydrant or a fixture upstream of the heater and softener. Cold-only smell isolates source water.
  • Smell the hot water at a tub or laundry tap; compare to cold at the same fixture.
  • Run the cold water for several minutes; a smell that fades suggests stagnation/bacteria, a smell that persists suggests dissolved sulfide in the source.
  • Note the water heater anode type and age. Magnesium anodes in sulfate-bacteria conditions generate hydrogen sulfide.
  • Check for recent well shock or new treatment that may have disturbed biofilm.
  • A free-chlorine test: any residual on a private well is unusual and may indicate a recent shock that is masking the underlying issue.

Isolation tree

Branch 1, smell on HOT water only, worse after idle periods. The water heater is the source. Sulfate-reducing bacteria thrive in the warm tank and react with the magnesium anode rod to release hydrogen sulfide. Confirm by isolating the heater: smell the cold at the same fixture (no smell) versus the hot (smell). Remedy: replace the magnesium anode with an aluminum/zinc or powered (impressed-current) anode, then disinfect the tank (chlorinate and flush) and raise the thermostat for a sustained period to pasteurize. If the smell returns quickly, there is also source contamination feeding it.

Branch 2, smell on BOTH hot and cold, every fixture. The source water or the well/distribution system is generating hydrogen sulfide. Sub-branch: if the cold water smells strongest fresh from the well and the level is steady, it is dissolved sulfur (geologic H2S). If the smell builds during low-use periods and clears after flushing, sulfur bacteria in the well/pipes are the cause. Distinguish with a well shock: chlorinate, flush, and re-evaluate. A geologic-sulfide source returns immediately; a bacterial source stays clear longer.

Branch 3, smell at ONE fixture, water elsewhere is fine. This is almost always a drain trap, garbage disposal, or fixture biofilm, not the supply water. Confirm by smelling a glass of the water away from the drain; if the glass is odorless, it is the drain. This is a cleaning issue, not water treatment.

Branch 4, smell appeared right after a SOFTENER install or service. Brine-tank bacteria or a resin bed harboring sulfur bacteria can produce odor. Sanitize the softener resin and brine tank per the manufacturer's disinfection procedure and re-evaluate.

Confirming diagnosis

The hot/cold split is the master confirmation: hot-only equals heater/anode; both equals source or well; single-fixture equals drain. Confirm geologic sulfide with a field hydrogen sulfide test on a fresh cold sample at the wellhead (H2S off-gasses fast, so test immediately). Confirm sulfur bacteria with the shock-chlorination response (clears, then slowly returns). Confirm anode involvement when an aluminum/zinc or powered anode plus tank disinfection eliminates a hot-only smell.

Remediation

  • Heater/anode: swap magnesium anode for aluminum/zinc or powered anode; chlorinate and flush the tank; pasteurize by elevating temperature briefly (mind scald risk).
  • Sulfur bacteria in well/system: shock-chlorinate the well and plumbing, flush thoroughly, and install continuous disinfection (chlorination with contact time, or UV per NSF/ANSI 55) if recurrence is chronic.
  • Geologic hydrogen sulfide in source water: aeration (best for higher sulfide), chlorine/oxidant injection with contact tank and catalytic/oxidizing filtration, or catalytic carbon for low levels. Method choice depends on concentration and iron co-presence.
  • Single-fixture/drain odor: clean and sanitize the trap/disposal; not a treatment job.

Hydrogen sulfide is flammable and toxic at high concentrations and off-gasses in confined spaces such as well pits, pump houses, and treatment-equipment closets. Ventilate before working, never enter a confined pit without atmospheric testing and proper procedures, and treat chlorination chemicals with care. When pasteurizing a water heater by raising temperature, warn the customer of scald risk and return the thermostat to a safe setpoint afterward.

References

  • EPA Secondary Drinking Water Standards (40 CFR 143) for hydrogen sulfide odor/threshold guidance.
  • EPA National Primary Drinking Water Regulations (40 CFR 141), coliform/E. coli where bacterial contamination is suspected.
  • NSF/ANSI 55 (ultraviolet disinfection) for continuous bacterial control.
  • Water Quality Association (WQA), Technical Fact Sheet: Hydrogen Sulfide / Sulfur and treatment options.
  • USGS, Hydrogen sulfide and sulfate in groundwater.