🚨 No Water? Call Now →

Hot Water Smells Like Rotten Eggs? Here's Why (And How to Fix It)

When only your hot water smells but cold water is fine, the problem isn't your well — it's your water heater. Here's what's causing it and how to fix it.

📋 In This Guide
Updated February 2026 7 min read

🔍 Quick Diagnosis

Hot water smells, cold water is fine? → Water heater problem (this article)

Both hot AND cold water smell?Well water sulfur problem

Only certain faucets smell? → Drain bacteria (not water heater)

Why Does Hot Water Smell Like Rotten Eggs?

That rotten egg smell is hydrogen sulfide (H₂S) gas — one of the most instantly recognizable and unpleasant odors you'll encounter in a home. When it's only in your hot water, the source is almost always your water heater, not your well. This is actually good news, because water heater problems are typically easier and cheaper to fix than well water contamination issues.

The smell can range from a faint whiff when you first turn on the hot tap to an overwhelming stench that fills the bathroom when you shower. Some homeowners describe it as sulfur, rotten eggs, or sewage. Regardless of intensity, the chemistry behind it is the same, and the fix is usually straightforward.

Here's what's happening inside your water heater:

The Chemistry

  1. 1. Your water has some naturally-occurring sulfate (common in well water)
  2. 2. Sulfur-reducing bacteria (SRB) live in your water heater's warm, low-oxygen environment
  3. 3. The bacteria feed on sulfates and produce hydrogen sulfide as a byproduct
  4. 4. The magnesium anode rod in your water heater makes this worse by releasing electrons that the bacteria love

This is why cold water is fine — the bacteria thrive in the warm, oxygen-depleted environment inside the water heater tank, not in your well or cold water pipes. The tank creates a perfect incubator: warm temperatures (100-140°F), minimal dissolved oxygen, and a steady supply of sulfate minerals from the well water for the bacteria to feed on.

Understanding this mechanism is important because it tells you exactly where to focus your fix — the water heater itself, not the well. Many homeowners waste money on well treatments or whole-house filtration systems when the problem is entirely inside their water heater tank.

The 3 Main Causes (And How to Fix Each)

Cause #1: Magnesium Anode Rod Reaction (Most Common)

Every tank-style water heater contains a sacrificial anode rod — a metal rod (usually magnesium or aluminum) designed to corrode in place of the tank itself. It's a brilliant piece of engineering that extends tank life by years. The problem? In well water with dissolved sulfates, the magnesium anode rod releases electrons and hydrogen that sulfur-reducing bacteria absolutely love. The anode essentially becomes an all-you-can-eat buffet for the bacteria that produce hydrogen sulfide gas.

This is the number one cause of hot water sulfur smell, and it's the reason why the problem often starts a few years after a water heater is installed — as the anode rod corrodes and releases more material, the bacterial colony grows larger and produces more H₂S.

✅ The Fix

Replace the magnesium anode with:

  • Aluminum/zinc anode ($30-50, DIY)
  • Powered anode ($100-200, best option)

📋 Details

A powered anode uses electricity instead of sacrificial metal, eliminating the bacteria's food source while still protecting the tank.

Cause #2: Bacteria Colony in the Water Heater Tank

Sulfur-reducing bacteria (SRB) are naturally present in most groundwater at low levels. They're not dangerous to humans, but when conditions are right, they multiply rapidly inside your water heater tank and produce enough hydrogen sulfide to make your hot water smell terrible. The bacteria thrive in warm, oxygen-free environments with available sulfate — which perfectly describes the inside of a water heater connected to well water.

Bacterial colonies tend to become a problem under these conditions:

  • Water heater set below 120°F — Lower temperatures are more comfortable for the bacteria. Some energy-saving advice recommends lowering your water heater temperature, but for well water users, this can backfire badly.
  • Hot water sits unused for extended periods — Vacation homes, guest bathrooms that rarely run hot water, or any period where the tank sits stagnant allows bacteria to multiply unchecked.
  • Sediment buildup in the tank — Old water heaters accumulate sediment on the bottom of the tank. This sediment creates pockets of low-oxygen, warm, mineral-rich environment that bacteria love. Annual tank flushing helps prevent this.
  • Well water high in sulfates — Some areas of San Diego and Riverside Counties have naturally elevated sulfate levels in the groundwater, providing an abundant food source for SRB.

✅ The Fix

  1. 1. Turn off water heater
  2. 2. Drain the tank completely
  3. 3. Add 1-2 gallons of household bleach
  4. 4. Fill and let sit 2-4 hours
  5. 5. Drain and flush thoroughly
  6. 6. Refill and restore to normal

⚠️ Important

This kills existing bacteria but they may return if you don't also address the anode rod issue.

Cause #3: Water Heater Temperature Set Too Low

Water heater temperature plays a crucial role in controlling sulfur-reducing bacteria. The "danger zone" for bacterial growth is 40-140°F, which means any water heater set below 140°F is operating within the range where bacteria can survive and multiply. At temperatures below 120°F, bacteria thrive aggressively, and the smell can become overwhelming within weeks.

Many homeowners set their water heaters low to save energy or prevent scalding — both valid concerns. But for well water users dealing with sulfur smell, temperature is one of the most effective and free tools for control.

✅ The Fix

Increase water heater temperature to at least 120°F (many recommend 130-140°F to kill bacteria).

Temporary bacteria kill: Set to 140°F+ for 8 hours, then return to normal.

⚠️ Scald Warning

Water at 140°F can cause burns in seconds. If you raise the temperature, be careful at faucets and consider anti-scald devices. If you have young children, keep it at 120°F and use other solutions.

Step-by-Step: How to Fix Smelly Hot Water

Follow these steps in order. Each step builds on the previous one, and most homeowners find the smell is eliminated by step 3 or 4.

  1. Confirm the diagnosis: Run cold water at a faucet close to the water heater for 2-3 minutes — smell it carefully. Then run hot water from the same faucet — does it smell? If only the hot water smells, the problem is definitively in your water heater. If both hot and cold smell, you have a well water sulfur issue that requires different treatment (see our sulfur smell in well water guide).
  2. Check your water heater temperature: Locate the thermostat on your water heater (usually behind a small panel on electric heaters, or a dial on gas heaters). It should be set to at least 120°F. If it's lower, increase it to 120-130°F. For a temporary bacteria kill, set it to 140°F for 8-12 hours, then return to your normal setting. This alone may resolve mild cases.
  3. Flush and disinfect the water heater: Turn off the water heater (gas valve to pilot, or flip the electric breaker). Connect a garden hose to the drain valve at the bottom and drain the tank completely. Close the drain, pour 1-2 gallons of unscented household bleach (5-8% sodium hypochlorite) into the tank through the hot water outlet on top (you'll need to disconnect the hot water pipe temporarily, or use the T&P relief valve opening). Refill the tank, let the bleach solution sit for 2-4 hours, then drain and flush thoroughly until you no longer smell bleach. Refill and restart the water heater.
  4. Replace the anode rod: This is the most important long-term fix. Switch from the factory magnesium anode to an aluminum/zinc alloy anode ($30-50 at hardware stores) or a powered anode rod ($100-200 online). A powered anode uses a small electrical current to protect the tank instead of sacrificial metal, completely eliminating the bacterial food source. If you're not comfortable with this DIY project (it requires a large socket wrench and some strength to break the old rod free), a plumber can do it for $100-200 including the rod.
  5. Address the source water if needed: If your well water has particularly high sulfate levels (above 250 mg/L), you may want to consider a point-of-entry treatment system. An oxidizing filter (using air injection, hydrogen peroxide, or chlorine) can reduce sulfate levels before water enters the water heater. This treats the root cause and benefits both your hot and cold water quality.

When to Call a Professional

Many homeowners successfully eliminate the rotten egg smell with the DIY steps above. However, there are situations where professional help is the better path:

  • The smell persists after flushing, disinfecting, and replacing the anode rod — If you've done everything and it still smells, there may be a secondary issue: heavily contaminated piping, an unusually aggressive bacterial strain, or extremely high sulfate levels in your source water that require professional treatment system design.
  • Both hot AND cold water smell like rotten eggs — This means the hydrogen sulfide is in your well water itself, not being produced in the water heater. You need a well water professional to test for H₂S levels and design an appropriate treatment system (typically air injection or chlorination).
  • Your water heater is old, leaking, or in poor condition — If the tank is more than 10-12 years old and showing signs of corrosion, investing in repairs may not make sense. A new water heater with a powered anode rod installed from the start eliminates the problem permanently.
  • You're not comfortable working with plumbing or electrical connections — Draining a water heater and replacing an anode rod involves working with hot water, gas connections (gas heaters), and potentially tight spaces. There's no shame in calling a pro.
  • You want a whole-house treatment system — If your well water has chronic sulfur issues affecting both hot and cold water, a properly sized treatment system (chlorine injection, hydrogen peroxide injection, or air injection oxidation) needs to be designed for your specific water chemistry and flow rate.

Is the Rotten Egg Smell Dangerous?

At the concentrations typically found in residential water heaters, hydrogen sulfide is far more unpleasant than dangerous. You can smell H₂S at incredibly low concentrations — as little as 0.5 parts per billion — which is why the odor seems so severe even when the actual concentration is quite low. Most water heater-generated H₂S is in the range of 1-5 parts per million, well below levels that would cause health concerns from drinking.

That said, there are legitimate reasons to address the problem beyond just the unpleasant smell:

  • Corrosion damage: Hydrogen sulfide is corrosive to copper, brass, iron, and steel. Over months and years, it can pit and damage pipes, fittings, valves, and fixtures — leading to leaks and premature failure of plumbing components. The corrosion is accelerated in hot water, making water heater connections and hot water pipes particularly vulnerable.
  • Tarnishing and staining: H₂S rapidly tarnishes silver — your silverware will turn black if washed in sulfur-containing hot water. It can also cause yellow or black staining on laundry, particularly white fabrics. These stains are difficult to remove.
  • Taste impact: Even if you can tolerate the smell, hydrogen sulfide makes water taste metallic and unpleasant. This affects not just drinking water but anything prepared with hot water — coffee, tea, soup, pasta, and anything else cooked with water from the tap.
  • High-concentration risk (rare): In extremely rare cases where H₂S concentrations are very high (typically only in industrial settings, not residential water heaters), the gas can cause nausea, headaches, or respiratory irritation. If your hot water smell is so strong that it makes you cough or feel dizzy in the shower, turn on ventilation and address the problem urgently.

The bottom line: the smell isn't going to make you sick in most cases, but it's doing slow damage to your plumbing, ruining the taste of your water, and making your home less pleasant. It's worth fixing, and as we've outlined above, the fixes are usually affordable and effective.

Preventing the Rotten Egg Smell from Coming Back

Once you've eliminated the smell, these ongoing maintenance practices will keep it from returning:

  • Maintain water heater temperature at 120°F or higher — This keeps conditions unfavorable for bacterial growth. If you have well water with known sulfate content, 125-130°F may be more effective (just be mindful of scald risk).
  • Use an aluminum/zinc or powered anode rod — If you replaced a magnesium anode during your fix, don't go back to magnesium on the next replacement. Powered anodes are the best long-term solution for well water systems because they provide corrosion protection without any sacrificial metal for bacteria to feed on.
  • Flush your water heater annually — Draining a few gallons from the bottom of the tank each year removes sediment that creates bacterial breeding grounds. This also improves energy efficiency and extends tank life. Put it on your calendar — many homeowners do it in spring.
  • Run hot water regularly in all fixtures — If you have a guest bathroom or utility sink that rarely gets used, run the hot water for a minute or two at least once a week. Stagnant hot water in dead-end pipe runs is where bacteria colonies re-establish themselves.
  • Test your well water for sulfates — If you've never had a sulfate test done, it's worth knowing your baseline level. If sulfates are above 250 mg/L, a point-of-entry treatment system can reduce the bacterial food supply before it reaches the water heater, making all your other prevention efforts more effective.
  • Consider a tankless water heater on your next replacement — Tankless (on-demand) water heaters don't store water, which eliminates the warm, stagnant environment that bacteria need. They're more expensive upfront but they essentially eliminate the hot water sulfur smell problem permanently.

Need Help With Smelly Well Water?

If your well water smells (hot AND cold), the problem may be your well, not your water heater. We can test your water and recommend treatment options. Free water testing available.

We use Hach and LaMotte professional water testing equipment for field analysis, with comprehensive lab testing through certified California laboratories.

Continue learning about well maintenance and troubleshooting

📞 Call Now 💬 Text Us Free Estimate