You step into the shower, ready for a relaxing, hot spray, but instead, you’re hit with a smell that’s anything but pleasant. If your hot water has a distinct, foul odor, you’re not alone. The issue of a Water Heater Smells Like Rotten Eggs is one of the most common complaints we hear from homeowners. It’s alarming, for sure, but don’t panic. That sulfur smell is usually a fixable problem caused by a simple chemical reaction inside your tank.
As the Head of Content here at Water Heater World, I’ve seen this issue countless times. It’s not a sign that your house is falling apart or that your water is permanently ruined. It’s just a sign that your water heater needs a little bit of attention. In this guide, we’ll walk you through exactly what causes that smell, whether it’s dangerous, and the step-by-step process to get your hot water smelling fresh and clean again.

What’s Really Causing That Rotten Egg Smell?
Let’s get straight to the point. That “rotten egg” odor is hydrogen sulfide (H2S) gas. But where is it coming from? It’s not magic, it’s science—a little chemistry experiment happening right inside your water heater tank.
The smell is typically caused by a combination of two key ingredients:
- Sulfur-Reducing Bacteria (SRB): These are harmless little microbes that can be present in a water supply, especially well water. They feed on sulfur and organic matter.
- A Sacrificial Anode Rod: This is a crucial component inside your tank-style water heater.
Think of your anode rod as a bodyguard for your water heater. It’s usually made of magnesium or aluminum. Through an electrochemical process, this rod corrodes (or “sacrifices” itself) to protect the steel lining of your tank from rusting out. The problem arises when the SRB interacts with the electrons released by the magnesium anode rod. This reaction creates tiny amounts of hydrogen sulfide gas, which then dissolves into your water and is released when you turn on a hot water tap.
Expert Insight from John Carter, Master Plumber:
“I always tell my clients the same thing: if only the hot water stinks, the problem is 99% in your water heater tank. If both hot and cold water smell, you might have a wider water supply issue. It’s the first and most important diagnostic test you can do.”
Is the Hydrogen Sulfide Smell Dangerous?
This is usually the first question on everyone’s mind. The short answer is: no, not at the low concentrations produced in a water heater. While hydrogen sulfide gas can be toxic in very high concentrations, the amount generated in your tank is minimal and is more of a nuisance than a health hazard. However, it can encourage the growth of other bacteria and will certainly make your morning shower unpleasant, so it’s a problem you’ll want to solve quickly.
Your Step-by-Step Guide to Fixing a Water Heater That Smells
Ready to roll up your sleeves? Fixing the issue when your water heater smells like rotten eggs is a very manageable DIY project for many homeowners. Just be sure to prioritize safety above all else.
Before You Start: Safety First!
- Turn off the power: Go to your circuit breaker and shut off the power to your electric water heater.
- Turn off the gas: For a gas water heater, turn the control knob to the “PILOT” or “OFF” position. You should also turn off the gas supply valve on the pipe leading to the heater.
- Turn off the water: Close the cold water inlet valve to the water heater.
Step 1: Confirm the Source
As our expert John mentioned, run the hot water from a faucet for a minute. Then, do the same with only the cold water. If the smell is only present with the hot water, you’ve confirmed the problem is with your heater.
Step 2: Flush the Water Heater Tank
Over time, sediment and bacteria can build up at the bottom of your tank. Flushing it out is a great first step and good regular maintenance.
- Attach a garden hose to the drain valve at the bottom of the water heater. Run the other end of the hose to a floor drain or outside.
- Open a hot water faucet somewhere in your house (like the kitchen sink) to allow air to enter the tank and prevent a vacuum.
- Carefully open the drain valve. Let the tank drain completely. You’ll likely see a lot of milky, sediment-filled water come out first.
- Once drained, briefly open the cold water supply valve a few times to stir up and flush out any remaining sediment at the bottom.
- Close the drain valve, disconnect the hose, and close the hot water faucet you opened earlier.
For a more detailed walkthrough, you can check out [our complete guide to flushing your water heater].
Step 3: Replace the Anode Rod (The Most Effective Fix)
Flushing may temporarily help, but if the smell is caused by the anode rod’s reaction with bacteria, it will likely come back. The permanent solution is to replace your standard magnesium anode rod with an aluminum/zinc alloy anode rod. The zinc in the alloy disrupts the metabolic process of the sulfur-reducing bacteria, preventing them from producing hydrogen sulfide gas.
- Locate the Anode Rod: It’s usually a hex-head bolt on top of your water heater. You may need to remove a plastic cap to find it.
- Get Leverage: These rods can be very tight. You will need a 1-1/16 inch socket and a long breaker bar to get enough torque to loosen it.
- Unscrew and Remove: Turn the bolt counter-clockwise. Be prepared for a bit of a workout! Once loosened, you can pull the old rod out. Be aware: you need enough overhead clearance to pull out a long rod (they are often 3-4 feet long). If space is tight, you can buy flexible, segmented anode rods.
- Install the New Rod: Wrap the threads of the new aluminum/zinc rod with Teflon tape (pipe dope) and screw it into place. Tighten it securely, but don’t overtighten.
- Refill the tank and check for leaks.
Step 4: Refill and Restart Your Water Heater
- Make sure the drain valve is closed.
- Open the cold water inlet valve fully. Let the tank fill. Keep the hot water faucet open that you used earlier. When water flows steadily from that faucet, the tank is full. Close the faucet.
- Check the top of the water heater, especially around the new anode rod, for any leaks.
- Once you’re sure there are no leaks, you can restore power at the circuit breaker or turn the gas control knob back to “ON” and relight the pilot if necessary.
When Should You Call a Professional Plumber?
While the steps above are straightforward, there are times when it’s best to call in a pro:
- If you don’t have the right tools (especially a breaker bar and the correct socket).
- If the anode rod is seized and won’t budge.
- If you have low overhead clearance and are unsure about installing a flexible rod.
- If the smell persists even after flushing and replacing the anode rod.
- If you’re simply not comfortable performing the work yourself. There is no shame in prioritizing safety!
How to Prevent the Rotten Egg Smell from Coming Back
Once you’ve solved the problem, you’ll want to keep it from returning. Prevention is all about routine maintenance.
- Regular Flushing: Flush your water heater once a year to remove sediment that bacteria love to live in.
- Use the Right Anode Rod: If you have well water or soft water, an aluminum/zinc rod is your best bet from the start.
- Maintain Water Softener: If you have a water softener, ensure it’s maintained properly, as they can sometimes contribute to the growth of these bacteria.
Frequently Asked Questions (FAQ)
Q: Can I just remove the anode rod and not replace it?
A: Absolutely not. Removing the anode rod will void your water heater’s warranty and leave the steel tank completely unprotected from rust and corrosion. You will significantly shorten the life of your water heater, leading to a costly replacement.
Q: Does this problem happen with tankless water heaters?
A: It is extremely rare. Since tankless water heaters don’t store a large volume of water in a tank with an anode rod, the environment for the sulfur-reducing bacteria to thrive and react doesn’t exist. This is one of the many benefits of [switching to a tankless system].
Q: How much does it cost to fix a water heater that smells like rotten eggs?
A: If you do it yourself, the main cost is the new aluminum/zinc anode rod, which typically costs between $30 and $60. If you hire a plumber, you can expect to pay for the part plus labor, generally totaling between $200 and $400, depending on your location and the complexity of the job.
Q: My cold water smells bad too. What does that mean?
A: If both your hot and cold water smell of sulfur, the issue is not with your water heater. The problem lies with your water supply itself, which may have a high concentration of sulfur-reducing bacteria. This is more common with well water, and you may need to consider a whole-home water treatment system.
Q: Will the smell go away on its own?
A: No, it will not. The conditions creating the hydrogen sulfide gas—the bacteria and the anode rod—will persist until you intervene. The smell might fluctuate in intensity, but it will not resolve itself.
Dealing with a water heater smells like rotten eggs is a frustrating experience, but it’s a problem with a clear and effective solution. By understanding the simple chemistry at play, performing some basic maintenance like flushing the tank, and, most importantly, replacing the anode rod with the correct type, you can restore peace (and fresh-smelling water) to your home. Don’t let a bad smell ruin your day; take action and enjoy the clean, hot water you deserve.