A rotten-egg smell in the hot water is usually hydrogen sulfide, and the usual source is the anode rod reacting with sulfate in the water.
The tests
- Does the cold tap smell? If not, the source is in the heater, not the supply.
- Has the unit sat unused? Water standing in a tank for weeks can produce the same smell.
- Is the water rusty too? A corroding tank or rod is then the likely cause.
- Did it start after a softener? The change in water chemistry can matter.
The fixes
A rod of a different material, a flush and a refill for water that has stood, and a check of the tank for corrosion. A replacement is the answer when the tank is already failing, not when the smell is the only symptom.
The city and the places
A rod change is a component repair under Anaheim's permit where it applies, with the final inspection checking the strapping and discharge. Where a crew stages depends on the address: behind a Colony house, at a hillside gate, in a tower's service lift, at a hotel dock, or on a West Anaheim driveway.