A rotten-egg smell in water usually comes from hydrogen sulfide gas. Sulfur-loving bacteria can grow in wells, in water heaters, and in softeners or filters that hold moist media for long stretches. Before you shop for a fix, find out which part of the house is producing the smell, because the cure for a heater problem is not the cure for a well problem.
If the smell is strong, sharp, or appears near a gas appliance, treat it as a possible gas leak first. Natural gas is given a rotten-egg odor on purpose. Leave the area, avoid flames or switches, and call your gas utility or the emergency number from outside the home.
Start with the pattern: hot only or both?
Run the cold tap at the kitchen sink for a minute, then fill a clean glass and smell it in good light. Repeat at a bathroom sink, then do the same with the hot tap. Write down which taps smell and which do not.
If the smell shows only on hot, the water heater is the first suspect. Warm tank conditions favor the bacteria, and the anode rod can also contribute to the odor. If the smell shows on both hot and cold at every tap, the source is more likely upstream, in the well or in the supply line before the heater.
Rule out the drain
Some odors rise from the drain, not from the water. Fill a glass from the cold tap and smell it before it touches the sink. If the glass smells clean but the odor appears when you run water down a particular drain, look at that trap and its vent instead of the supply. A dry trap or a sewer gas problem is a plumbing repair, not a water treatment job.
Find out whether you are on a well or a city line
Your answer changes who you call and what you test. On a well, the smell is part of the water itself, so a lab test that includes hydrogen sulfide, iron, and sulfate tells you what you are dealing with. On a municipal supply, ask the water utility whether they have made a recent change or received complaints in your area. If the water is clean at the meter and the smell appears only inside the house, the source is in your plumbing.
What to bring to a provider
Bring your tap-by-tap notes, whether the odor is hot only or both, and when you notice it most. Also note whether the water heater has been drained, flushed, or replaced, whether there is a softener or filter in the line, and whether the house runs on a well. Ask any provider whether they test for hydrogen sulfide directly and whether they will test before they quote a system. A provider who names a fix before testing for the gas is guessing.
Ask how a softener or filter is cleaned and serviced, since that upkeep affects whether bacteria come back. A clear answer about the cleaning schedule matters as much as the equipment itself.
Decide what to do next
If the smell is hot only, start with the water heater. A licensed plumber can check the anode, the tank, and the heater settings. If the smell shows on both hot and cold, get a water test next, and wait for the results before you compare systems. Results in writing make it much easier to judge whether a proposed treatment matches the problem. To see how we match systems to readings, read Methodology: How We Match Systems and Compare Providers.