Gas Water Heater Installation
Doing a gas water heater installation right comes down to five pieces: a safe spot with enough air for the burner, a vent that really draws, a gas hookup with a shutoff and sediment trap that's been leak-tested, water piping with a properly run relief valve, and a tank that's full before the burner is ever lit. Most homeowners should leave this to a licensed plumber. One small slip in the gas or vent work can leave a house full of gas or carbon monoxide.
Is installing a gas hot water heater hard?
The water side is fairly easy. The gas and the vent are where skill counts. For its gas tanks, A.O. Smith strongly recommends a professional installer, pointing to the venting, the fuel line and hauling out the old unit. You'll need a permit in most places. A.O. Smith's manual says to follow local and state codes, or NFPA 54 (the National Fuel Gas Code) if there are none, and to get the finished job inspected by a code official. Call your local building department before any work starts.
Where it goes, and air for the burner
Here are the basics from A.O. Smith's manual for its gas tanks:
- Put it indoors and standing upright, somewhere it can't freeze, with a minimum of 24 inches of open space in front.
- Keep it out of bathrooms, bedrooms and any occupied room that's usually kept closed.
- Don't keep gasoline or any other flammable liquid or vapor near it.
- In a garage, add a vehicle stop so a car can't run into it.
People tend to forget about combustion air. The manual asks for 50 cubic feet of room volume for every 1,000 BTU per hour of combined input from all gas appliances in that space. A tight closet holding both a furnace and a water heater often comes up short, and in that case the manual requires two permanent openings to outside air.
Venting: atmospheric, power vent and direct vent
With an atmospheric vent, hot exhaust simply rises up the pipe. The manual recommends a minimum of 12 inches of straight vertical pipe above the draft hood before the first elbow, and horizontal sections must climb at least 1/4 inch per foot. Keep single-wall pipe 6 inches away from anything combustible. Once it's in, the manual's draft test is to hold a match you've just blown out near the draft hood opening after 5 minutes of burner run time and check that the smoke gets pulled steadily inward. Smoke that wanders or blows outward means the vent isn't drafting, and that means carbon monoxide.
A power vent heater has a fan that pushes the exhaust out, most often sideways through a wall, so you don't need a chimney. That fan runs on electricity. Fixr says the power vent and its wiring can add $300 to $1,000 to the job, and HomeGuide prices power vent models $350 to $500 above direct vent models. Power vent units for propane and for natural gas work alike. Only the gas valve and orifices differ, and they're set up for one fuel.
Never tie a power-vented appliance into a shared atmospheric vent. A.O. Smith's manual forbids common venting with a power-vented unit.
Tools and parts
- Pipe wrenches, adjustable wrenches and a tubing cutter
- Pipe dope rated for gas, or yellow gas tape
- A manual gas shutoff valve, a sediment trap and a ground joint union
- Vent connector pipe and fittings sized to the heater's flue
- Copper or CPVC to carry the T&P discharge
- A drain pan, an expansion tank if you need one, and water connectors
- A spray bottle of soapy water for checking leaks
The install, step by step
Close the gas shutoff at the heater and the cold water supply, then open a hot tap.
Drain the old tank and disconnect its gas line, vent connector and water lines.
Set the new heater in its pan, level it, and leave the clearances the manual calls for.
Hook up the water: cold to the inlet, hot to the outlet. Add an expansion tank if your system needs one, as explained in water heater expansion tanks.
Run the T&P relief line: no smaller than 3/4-inch inside diameter, sloped downhill, ending six inches or less above a floor drain or outdoors, never into the pan and never capped.
Assemble the gas hookup with a manual shutoff you can reach easily, a sediment trap no shorter than 3 inches, and a union between that shutoff and the heater's gas valve.
Attach the vent, then check its slope, clearances and joints.
Fill the tank all the way before you light the pilot, and let a hot faucet run for three minutes to push out the air.
Open the gas and brush each joint with a mix of one part dish soap to 15 parts water. If it bubbles, it leaks. Snug the fitting and test again.
Light the pilot by following the label on the tank. Our guide on how to light a water heater pilot light goes through each step.
Fire the burner and run the draft test. Then set the thermostat; on A.O. Smith tanks the "HOT" mark is roughly 120°F.
Common mistakes
- Leaving out the sediment trap. Grit and moisture from the gas line then land in the gas control valve.
- A vent connector that runs flat or downhill. The exhaust stalls, spills out at the draft hood and drifts back into the room.
- Lighting a tank that's only partly full. The manual says to fill it completely first.
- Piping the relief line into the drain pan.
- Looking for leaks with a flame. Use soapy water or a gas leak detector instead.
Cost, and when extra work comes in
For a natural gas tank, Fixr's installed price runs $700 to $2,700. Extra items add up quickly. HomeGuide lists $350 to $2,000 to upgrade a gas line, $500 to $1,500 for venting where there was none, and $100 to $600 to replace venting that's already there. Expect a permit to cost about $50 to $200. Converting from electric to gas runs $400 to $2,000 or more. Our page on water heater installation cost has the full breakdown.
FAQ
How is a gas water heater connected?
The gas supply runs through a manual shutoff, then a sediment trap, then a union, and on to the heater's gas control valve, with thread sealant rated for gas on each joint. Turn the gas on and check every joint with soapy water before the pilot is lit. If any of that sounds new to you, it's time to bring in a licensed plumber.
What are the steps to replace a gas water heater?
Turn off the gas and the water, drain the old tank and disconnect it, and set the new one in place. Reconnect the water first, then the vent, then the gas. Fill the tank before you light it. Permits and hauling away the old unit are covered on our water heater replacement page.
What does a power vent water heater do?
A fan mounted on top pushes the exhaust through a vent pipe, often out a side wall, rather than counting on hot air to rise up a chimney. Because the fan has to be wired in, a power vent heater stops working when the power goes out.
How long does a gas water heater take to heat up?
Fixr says gas units take closer to 30 to 40 minutes to heat, while electric units can take up to 60 minutes. The very first heat-up on a new tank full of cold water may run longer.
Sources
- A. O. SmithProLine Standard Atmospheric Vent Gas Water Heater Manual (100263112) (opens in a new tab)
- HomeGuideHow Much Does Water Heater Installation Cost? (2026) (opens in a new tab)
- FixrWater Heater Installation Cost (opens in a new tab)
- A. O. SmithGas Water Heaters (opens in a new tab)
- A. O. SmithGas Tank Water Heaters (opens in a new tab)