Why does only the hot water smell like rotten eggs?

The cold tap is fine, the hot tap smells of sulfur. That smell is being made inside your water heater, not delivered by the city. But a gas leak smells much the same, so the first job is working out which one you have.

Angel Plumbing · · 5 min read

Short answer

If the smell is in the water from the hot tap only, sulfate in your water is reacting with the anode rod inside the tank, often with help from bacteria living there, and making hydrogen sulfide. Disinfecting the tank or changing the anode to a different metal usually ends it. If you smell rotten eggs in the air near the heater or the stove, treat it as gas: get out, then call SDG&E at 1-800-411-7343 or 911.

Water pouring from a tap into a clear drinking glass Smell the glass, not the room

The two-glass test

Before anything else, find out where the smell actually lives. The Minnesota Department of Health suggests doing it when the water has sat for a few hours, for example after you've been away from home.

  1. Fill one glass from the cold side of a sink, and a second from the hot side once it runs hot.
  2. Carry both glasses to another room, away from the drain and the water heater.
  3. Smell each glass. Then try one other sink in the house.
What you noticeMost likely source
The air near the heater, stove or meter smells, the water doesn'tGas. Leave the house before doing anything else.
Hot glass smells, cold glass doesn'tThe water heater
Both glasses smell, at every sinkThe water coming into the house
Neither glass smells, but the sink doesThe drain, not the water
Smell in the air, not the water?

Natural gas has no smell of its own. Utilities add an odorant so you notice a leak, and it smells like rotten eggs. SDG&E's advice is to leave right away, then call 1-800-411-7343 or 911 from outside. Don't flip a light switch, light a flame or start anything electric on the way out. A cold or allergies can dull your sense of smell, so if anyone in the house smells gas, go.

What happens inside the tank

Nearly every tank water heater has an anode rod: a metal rod, often magnesium, that hangs from the top of the tank. It corrodes on purpose, so the steel tank doesn't. Normally you never know it's there.

The trouble starts when the water carries sulfate, a common mineral in tap water. The tank keeps that water warm and still for hours, which suits sulfur bacteria, and the magnesium keeps the reaction going. Between them they turn sulfate into hydrogen sulfide gas, the rotten-egg smell. GE Appliances describes the same reaction on its own heaters, and North Dakota State University's extension service says a smell from the hot tap alone points to exactly this.

That is why the cold water stays clean. It comes straight from the street and never sits in a warm tank with a magnesium rod.

San Diego water and sulfate

The City of San Diego's water meets every state and federal standard, and the smell doesn't mean anything is wrong with it. But it does carry sulfate. The city's 2025 drinking water quality report lists the 2025 averages for each source:

SourceAverage sulfateRange in 2025
Alvarado treatment plant154 ppm100–187 ppm
Miramar treatment plant162 ppm124–215 ppm
Otay treatment plant117 ppm84.6–151 ppm
Purchased treated water109 ppm12.0–171 ppm

California's limit for sulfate is 500 ppm. It's a secondary standard, set for taste and smell rather than health, and every result was below it. Still, there is plenty of sulfate in the water for a tank to work with. The map in the report shows which plant serves your street. Homes in Poway, Escondido, Carlsbad and other nearby cities get their water from their own city or water district, and each one publishes its own yearly report.

This also explains why the smell can show up in one house and not next door. Same water, but a different tank, anode and temperature setting, and a different amount of hot water used each day.

Fixes, from least to most involved

Disinfect and flush the tank
Chlorinating the tank and the hot water lines kills the sulfur bacteria, and a flush clears them out. The Minnesota Department of Health says the smell can come back within a few weeks if any bacteria survive, so on its own this is often a first step rather than the last one.
Swap the anode for a different metal
NDSU and the Minnesota health department both point to replacing the magnesium rod with an aluminum one. GE Appliances offers a special alloy rod for this. Use one the manufacturer approves: GE says a rod it hasn't approved, or no rod at all, voids the warranty on its heaters.
A higher temperature, for a while
Heat kills the bacteria, and GE says that in some cases a 140°F setting is enough to reduce the odor. Water that hot scalds, though, so this needs a mixing valve at the heater or a careful plan to turn it back down.

One fix gets suggested a lot online: pulling the anode out and plugging the hole. It usually does stop the smell, but the Minnesota Department of Health warns it may significantly shorten the life of the tank, and on GE's heaters it voids the warranty. The rod is there to protect the tank.

Draining sediment is also part of routine water heater maintenance, which is the right time to look at the tank's condition, its age and its temperature setting before chasing a smell.

Rotten-egg hot water questions

Is it safe to shower in water that smells like this?

The Minnesota Department of Health says the rotten-egg smell usually has nothing to do with how sanitary the water is, and the bacteria behind it aren't harmful. The same page says the gas itself can be harmful at high levels in enclosed spaces like well pits, which is a different situation from a smell at the tap.

Why did the smell start after we got back from a trip?

Hot water sat in the tank for days with nobody using it, and the gas built up the whole time. Running the hot taps for a few minutes can clear the worst of it. If it comes back after ordinary use, the tank itself needs treatment.

Will a new water heater get rid of it?

Not by itself. A new tank usually comes with a new magnesium anode and gets the same water, so the reaction can start again. Replacing a heater makes sense when the tank is old or failing, not as a cure for the smell.

Both the hot and the cold water smell. Now what?

Then the smell isn't coming from the heater. If you're on City of San Diego water or another district's, call your water department and report it with the address. Homes on a private well have their own causes and fixes, and the water should be tested.

Only one bathroom smells, even with the tap off.

Then it's usually the drain. A guest bath that hardly gets used can lose the water in its trap, and gas from the drain line comes up through it. Run water in every fixture in that room for a minute and see whether the smell goes away.

Sources