The cold tap is the test that splits this problem in two.
Test first
Run cold water into a glass, away from the drain, and smell it. Then run hot into another.
- Hot only. The heater. Usually the anode in sulphate-bearing water.
- Both. The supply — a private well on an outlying parcel, or a stagnation issue in the service line.
The anode explanation
A magnesium anode in water carrying sulphate gives sulphate-reducing bacteria a surface and a food source, and hydrogen sulphide is the result. It is intermittent, worse after the tank has stood, and strongest at the hot tap nearest the heater.
What is done
Confirm the mechanism, then change the rod type — aluminium or powered instead of magnesium — and disinfect the tank. Where the smell returns quickly, the water itself is the cause and treatment is the durable answer.
On a private well
An outlying parcel outside the district's service area is a different case: the well is the supply, and odour there needs the water tested rather than a rod swapped.
What it is not
It is not a reason to stop using the water without evidence, and it is not something to mask with additives.
What to have ready
Cold result, timing, supply type.