A rotten-egg smell at the hot tap is hydrogen sulfide, and it almost always comes from something happening inside the heater rather than from the water supply. The cold tap is the test that separates the two.
What causes it
Two conditions commonly combine. Sulfate-reducing bacteria can live in a tank where water sits warm and oxygen is low, converting sulfates to hydrogen sulfide. The anode rod can drive the same reaction, particularly with certain water chemistries. A tank that has sat unused — a guest house, a vacation property, a rarely used bathroom — is a frequent setting.
The smell is worse at the hot tap because that is where the tank's water arrives. If the cold water also smells, the source is the supply or the building's piping, and the heater is not the cause.
What the assessment covers
The first step is confirming where the smell originates: hot only, cold only, or both. Then the tank's condition, the anode's material and the water's chemistry are considered together, along with how long the water has been sitting.
That matters because the fixes differ. A tank that has sat unused may need flushing and disinfection. A tank with the wrong anode for its water may need a different rod. A supply problem needs the utility, not a plumber.
What helps
- Flushing and disinfection where bacteria and stagnant water are the cause.
- Anode replacement with a suitable material where the rod is driving the reaction. The anode is not removed, because that trades a smell for tank corrosion.
- Restoring use of a fixture or tank that has been idle, so water does not stagnate.
- Checking the water heater's temperature setting, since stored temperature affects the conditions inside the tank.
What does not help
Masking the smell, venting the room, or replacing the heater without identifying the cause. A new tank with the same water and the same anode can reproduce the problem.
Safety
A sulfur smell is not the same as a gas smell. If there is any smell of gas, a hiss, or a flame problem at a gas heater, leave the building and call the utility's emergency line or 911. Do not troubleshoot that as a water-quality issue.