A pilot light that dies every few days is almost never a mystery. In most gas water heaters, the culprit is a thermocouple that has worn out, a pilot tube clogged with debris, or a draft pushing the flame around. Each one has a fix you can handle with a screwdriver, a can of compressed air, and about an hour.
Before touching anything, a safety note.
If you smell gas (the rotten-egg odor added to natural gas and propane), leave the house and call your gas utility or 911 from outside.
How the pilot system is supposed to work
The pilot is a small, steady flame that ignites the main burner whenever the tank needs to heat. Right beside it sits the thermocouple, a thin copper rod that heats up in the flame and generates a tiny electrical current, roughly 25 to 30 millivolts. That current holds open the gas valve. If the flame goes out, the rod cools, the current drops, and the valve slams shut so raw gas never fills the room.
So a pilot that keeps dying usually means one of two things: the flame is genuinely being blown out, or the thermocouple believes it is. The system errs on the side of caution, which is good engineering and a mild annoyance on a cold morning.
Roughly a decade of service is typical for a tank. Thermocouples often fail well before the tank does, sometimes after five to seven years, and the part itself is cheap (usually in the range of $10 to $20 at a hardware store).
The usual suspects, from most to least likely
Start with the thermocouple. Look at the flame while the pilot is lit. A healthy flame is mostly blue, steady, and wraps the tip of the rod. If the tip is coated in black soot or looks corroded, it can’t heat properly, and the gas valve closes the moment you release the control knob or soon afterward.
Dirt comes next. The pilot orifice is a pinhole, and dust, lint, and rust flakes from the tank’s flue can partly block it. The flame then turns weak, small, and yellow or orange at the tip. A yellow flame signals incomplete combustion, and it’s worth taking seriously because it can also point to a carbon monoxide risk.
Drafts are the sneaky third cause. A water heater in a garage, basement, or utility closet competes with exhaust fans, dryers, and a furnace for air. When the house is under negative pressure, the flame can flicker or even reverse back down the vent, a problem called backdrafting. Heavy wind down the flue does the same thing.
Less common, but real: a failing gas control valve, low gas pressure, or a blocked flue. Those are not driveway-mechanic territory.
Step-by-step fixes you can do yourself
Turn the gas control knob to “Off” and wait at least five minutes. That clears any lingering gas. Then remove the outer access panel at the base of the tank to reach the burner assembly.
First, clean the thermocouple. Gently rub the tip with fine emery cloth or a piece of fine sandpaper until the copper shines. Do not bend the rod. Check that its tip sits directly in the pilot flame path, since a rod knocked slightly out of position will never heat evenly.
Next, check the connection. The other end of the thermocouple screws into the gas control valve. Tighten the nut snugly by hand, then a quarter turn with a wrench. Over-tightening can damage it, but a loose fitting is a classic reason for a pilot that stays lit only while you hold the button.
That one detail saves a lot of people a service call.
Then clear the pilot tube. With the gas off, blow a short burst of compressed air through the pilot orifice and around the burner. Some technicians use a thin needle or a strand of wire to open the pinhole, but go gently, because scratching the opening changes the flame shape. Vacuum any dust and debris from the burner compartment too.
Now relight it by following the label on the tank, which varies by model. The general sequence is: set the knob to “Pilot,” press and hold it down, light the pilot with the built-in igniter or a long lighter, and keep holding for 30 to 60 seconds. Release slowly. If the flame stays, turn the knob to “On” and set your thermostat. If it dies again the instant you let go, the thermocouple is likely dead.
Replacing the thermocouple
With the gas off, unscrew the old unit from the gas valve and from its bracket near the pilot assembly. Match the replacement by length and connector type, or take the old one to the store. Thread the new one in, position the tip in the flame zone, and relight. The job takes about 20 minutes, and many units come with a short instruction sheet.
On some models the thermocouple and pilot assembly are sold as a single unit. Check your model number on the tank’s rating label before you buy.
Drafts, venting, and when to stop
If the pilot only goes out when the dryer or a bath fan runs, you have a makeup-air problem. Open a window slightly and watch the flame. When that cures it, the long-term answer is a way to bring outside air into the room, which a contractor can install. Also make sure nothing blocks the vents or louvered door on the water heater closet, because the burner needs combustion air.
Check the draft hood and flue too. A simple test: light a match or incense stick near the draft hood opening while the burner runs. Smoke should be drawn into the hood. If it blows back at you or hangs in the room, the vent may be blocked or backdrafting, and that’s a carbon monoxide matter. A working CO alarm near the heater and bedrooms isn’t optional here.
Call a licensed plumber or gas technician if the flame stays yellow after cleaning, if you see rust flakes or scorching around the burner, if the gas valve itself seems faulty, or if a new thermocouple still doesn’t hold. A failing gas control valve typically costs far more to replace than the thermocouple, and at that point you’re comparing it against a new heater. Tanks past 10 to 12 years old are usually better replaced than repaired.
One more detail: many modern heaters have no standing pilot at all. They use electronic ignition, and a heater that keeps shutting off may be showing an error code through blinking lights on the control. The manual decodes the pattern, and it often points straight to the fault.