In a district built for renters, a sulfur smell often follows an empty unit. Water that sits warm in a tank for weeks is the setting sulfate-reducing bacteria prefer, and the result is hydrogen sulfide at the hot tap.
Test the cold line first
The cold water decides the direction of the investigation. Clear, odour-free cold water means the reaction is in the heater. A smell on both sides means the building's supply or piping is involved, and management needs to know.
Doing it first saves a pointless repair: parts get replaced in a unit whose water is arriving already spoiled from the riser.
What standing water does
A tank left standing stays warm and low in oxygen. Sulfates present in the water can be converted to hydrogen sulfide, and the gas accumulates. The anode is a second possible source, because the metal it is made from reacts with some waters.
Not every case needs hardware. Putting the unit back into daily use, draining it and treating the lines deals with the bacteria; fitting a rod of another material deals with the electrochemistry. The choice is made after someone has seen the water and the tank.
Trace it through the tower
In a tower, the water passes through shared risers and possibly a building treatment system. If the smell appears across units, or after building work, the building's plumbing is the place to look. A single unit with a smell is a unit-level issue.
What wastes a visit
Masking the smell, airing the closet, or fitting a new heater before the cause is known. A replacement that keeps the same idle pattern and the same rod will likely end the same way.
Sulfur is not a gas leak
The two smells are different, and so is the response. A gas smell or a hiss near the heater is an emergency: leave, call 911 or the utility from outside, and notify the building. A sulfur smell is a water-quality issue that is assessed on a normal visit.