Knowing how to turn off gas water heater equipment is one of those skills every homeowner should have but most do not learn until there is a leak, a tank failure, or a vacation departure. The shutdown sequence takes about 90 seconds and involves three controls — the gas valve, the thermostat or pilot setting, and the cold water inlet — but doing them in the wrong order or skipping the wait time can leave gas in the line or scald you when you drain the tank.
- When You Actually Need to Shut It Down
- Step 1: Identify Your Heater Type
- Step 2: Turn the Thermostat to "Off" or "Pilot"
- Step 3: Close the Gas Supply Valve
- Step 4: Shut Off the Cold Water Inlet
- Step 5: Open a Hot Water Faucet (Pressure Relief)
- Step 6 (Drain Only): Connect a Hose and Drain
- Restarting the Heater Safely
- Common Mistakes
- When to Call a Pro Instead
- Vacation Mode vs Full Shutdown
- FAQ
This guide walks through the correct sequence for both standard standing-pilot and modern electronic-ignition gas water heaters, plus the situations when full shutoff matters and what to leave alone.
When You Actually Need to Shut It Down
Five scenarios call for shutting off the water heater completely:
- You are leaving the house for more than a week
- The tank is leaking from the bottom or sides
- You smell gas anywhere in the house
- You are draining or flushing the tank for maintenance
- The relief valve is dripping continuously and needs replacement
For shorter trips (3 to 5 days), turning the thermostat to “Vacation” mode is enough — full shutoff is unnecessary and brings extra steps when you return.
Step 1: Identify Your Heater Type
Before touching anything, know which type you have. Look at the gas control valve on the front bottom of the tank:
- Standing pilot: has a knob marked “Pilot,” “Off,” and “On” — the pilot light burns continuously when the heater is in use
- Electronic ignition: has a thermostat dial with no pilot setting; ignition happens automatically when the burner needs to fire
- Power-vent or condensing: plugs into 110V power and has either a digital control panel or a similar electronic gas valve
The shutdown procedure differs slightly between standing pilot and electronic models. Both use the same final gas-line valve.
Step 2: Turn the Thermostat to “Off” or “Pilot”
For standing pilot heaters, rotate the thermostat dial counterclockwise to “Pilot” or “Off” depending on whether you want to extinguish the pilot completely. Setting it to “Pilot” stops the burner but keeps the pilot lit, which is appropriate for short shutdowns. Setting it to “Off” extinguishes the pilot entirely.
For electronic ignition heaters, simply turn the thermostat dial fully counterclockwise to “Off” or push the “Off” button on the digital control panel.
This step alone stops the heater from firing but does not isolate it from the gas supply. For full shutoff, continue.
Step 3: Close the Gas Supply Valve
Find the yellow or red shutoff valve on the gas pipe entering the heater, typically 6 to 12 inches above the gas control body. The handle has two positions:
- In line with the pipe = open
- Perpendicular to the pipe (90 degrees) = closed
Rotate the handle a quarter turn until it is perpendicular to the gas line. This isolates the heater completely from the gas supply.
If you smell gas at any point, stop, leave the building, and call 911 from outside. Do not flip light switches, use phones inside the building, or operate any electrical equipment.
Step 4: Shut Off the Cold Water Inlet
The cold water inlet pipe enters the top of the tank — usually marked with a blue handle or label. Rotate the inlet shutoff valve clockwise (or perpendicular for ball valves) to stop water from entering the tank.
Why shut off the water if the gas is already off? Two reasons:
- If the tank is leaking, this stops new water from refilling and continuing the leak
- If you are draining the tank for service, you need this closed before opening the drain valve
For a short vacation shutdown (gas off but tank intact), you can leave the water inlet open. For leaks, drainage, or any service work, close it.
Step 5: Open a Hot Water Faucet (Pressure Relief)
Walk to the nearest hot water tap — kitchen sink works fine — and open it fully. This relieves pressure in the hot water line and confirms the tank is no longer feeding the system. Run it until water flow drops to a trickle, which usually takes 30 to 60 seconds.
If you are draining the tank, leave a hot tap open throughout the drain to break the vacuum and let the tank empty fully.
Step 6 (Drain Only): Connect a Hose and Drain
For maintenance, leak repair, or replacement, attach a standard garden hose to the drain valve at the bottom of the tank. Run the hose to a floor drain, basement sump, or outside (downhill from the heater).
Open the drain valve. Hot water will exit — be careful, this water can be 120°F+ even an hour after shutdown. Wear gloves and avoid touching the hose until the flow has cooled.
A 40-gallon tank takes 15 to 25 minutes to drain through a standard hose. Sediment in older tanks can clog the drain valve; if flow stops mid-drain, briefly close the valve, then reopen to dislodge sediment.
Restarting the Heater Safely
To bring the heater back online:
- Close the drain valve and disconnect the hose
- Open the cold water inlet fully — let the tank fill completely with the hot tap upstairs still open. Air spitting out of the hot tap means the tank is still filling.
- Wait for steady water flow at the hot tap, then close the hot tap
- Open the gas supply valve at the heater (handle parallel to pipe)
- For standing pilot: relight the pilot per the instructions on the front of the heater (typically: turn knob to Pilot, hold the red button, light pilot with a long lighter, hold for 60 seconds, then turn to On)
- For electronic ignition: turn thermostat back to desired setting, listen for the burner to fire within a minute
Set water temperature between 120°F and 140°F. Higher than 140°F poses scald risk; lower than 120°F can allow Legionella bacteria growth.
Common Mistakes
Three errors come up regularly:
- Forgetting to refill the tank before turning the gas back on. Firing an empty tank ruins the burner element on electric heaters and damages the dip tube on gas heaters.
- Ignoring a slight gas smell when relighting the pilot. If you smell gas more than briefly during ignition, shut everything off and ventilate the area for 15 minutes before retrying.
- Closing the water inlet without opening a hot tap. The tank stays pressurized, and any service work that follows can spray hot water unexpectedly.
When to Call a Pro Instead
Three situations where DIY shutoff is fine but anything beyond that needs a licensed plumber:
- Active gas leak — leave the building, call 911 from outside
- Visible corrosion on gas piping near the heater
- Persistent pilot relighting failures despite multiple attempts
For tank replacement specifically, while shutoff is straightforward, the actual swap involves gas line work that requires permits in most jurisdictions and costs $1,200 to $2,800 installed. DIY tank replacement is legal in some areas but voids most warranties.
Vacation Mode vs Full Shutdown
For trips under 7 days, “Vacation” mode (typically a setting on the thermostat that holds water at 50 to 60°F) saves energy without the relight hassle. For longer absences or leak situations, full shutoff is the right call.
FAQ
How long does it take to shut off a gas water heater?
About 90 seconds for the basic gas-and-water shutoff. Add 15 to 25 minutes if you need to drain the tank for service or replacement.
Can I leave the gas on but turn the temperature way down for vacation?
Yes — most thermostats have a “Vacation” or “Pilot” setting that keeps the pilot lit but stops heating water. This is the recommended approach for trips under 2 weeks.
Is it safe to turn off the water heater overnight?
Yes, though it provides minimal energy savings. Modern tanks are well-insulated and lose only 1 to 2 degrees per hour without burner input. Most homeowners find the savings not worth the morning relight.
What if my pilot will not relight?
Most often the thermocouple has failed — a $15 part that takes 30 minutes to replace, or a $150 to $250 service call. Other causes include a dirty pilot orifice, low gas pressure, or a failed gas control valve. If basic relighting fails twice, call a plumber rather than continuing to attempt ignition.