A rotten-egg or sulfur smell in household water has more than one possible source. The fastest way to narrow it down is to find out whether the smell comes from the cold side, the hot side, or both. That split decides who you should call and whether a water treatment unit is even the right kind of fix.
Run the two-tap test
Start with the cold tap in the kitchen. Run it for a minute or two so the line clears, then fill a clean glass and smell it right away. Then do the same with the hot tap. Compare the two. Do this in the morning or after the house has been quiet for several hours, because water that has sat in the pipes can smell stronger than water that has been running.
Also check a second cold tap away from the kitchen, such as a bathroom or an outdoor spigot. If every cold tap is clean and only the hot tap smells, you have a hot-side pattern. If the cold water smells too, the problem is probably in the water itself.
What a hot-only smell usually points to
When the smell appears only on the hot side, the water heater is the first suspect. Inside many tanks, a rod is fitted to protect the tank from corrosion, and under some conditions it can react with the water and produce a sulfur odor. The smell often gets worse after the tank has been used and the water has sat. A licensed plumber can check the heater, look at the rod, and tell you whether it needs servicing or replacing. Ask them to test the hot water at the tap and to explain what they found, so you can judge the answer.
Note the age of the heater and when the smell started. If the heater is older or the smell began after a change in the water heater or the water supply, mention that to the plumber.
When the cold side smells too
If cold water has the odor, the source is more likely in the supply or the private source if you have a well. Start by checking the county report card on the front page for what it says about your area, then ask your water provider whether they have had recent complaints about odor and what they have done about them. If you have a well, a certified lab test is the way to confirm what is in the water. A treatment unit may or may not solve the problem, depending on the cause, so do not buy one until the test tells you what it needs to remove.
What to ask before you spend money
Ask the plumber or the provider: Is the smell coming from the hot side only? What did you test, and what did the results show? If a treatment unit is suggested, which contaminant is it meant to remove, and how will we confirm that it worked? Keep a note of the answers so you can compare them when a second opinion arrives.