Bestwinterproducts.com is reader-supported. When you buy through links on our site, we may earn an affiliate commission. Learn more

How to Install a Gas Tankless Water Heater Safely

Prime for Young Adults: check your eligibility on Amazon

Installing one requires four distinct connections. Setting up a gas tankless water heater means securely mounting the cabinet, rerouting water lines, venting exhaust outside, and connecting a high-capacity gas supply. Plenty of homeowners handle the wall bracket and water pipes on their own. But running fuel lines and exhaust pipes brings carbon monoxide and fire hazards, which usually requires a licensed gas professional.

The exact process depends on your home. Tankless burners need a sudden surge of fuel, which often means upgrading an older narrow pipe to a wider gas line. High-efficiency condensing units can vent through plastic pipe, while standard models require specialized metal exhaust lines out a wall or roof. Local building codes and manufacturer warranties also govern who can finish the work. The steps below walk through each phase so you know what the project takes from start to finish.

Safety Limits, Building Permits, and DIY Feasibility

Gas tankless water heaters deliver endless hot water, but putting one in demands plumbing, gas piping, and venting skills. Before picking up a wrench, you need to decide what you can handle and where a licensed professional must step in.

Most local building departments require a plumbing and mechanical permit for this project. That permit guarantees an inspector will review your gas connections and exhaust vents, protecting your household from fire and dangerous carbon monoxide gas. Skipping permits can void your homeowner insurance coverage and cancel your manufacturer warranty.

Use this safety checklist to check whether you are prepared to move forward:

  • Confirm local building codes: Contact your local building office to find out if homeowners can pull a gas permit, or if only a licensed plumber or gas fitter may do the work.
  • Check main shutoff valves: Locate your home water shutoff valve and the gas shutoff valve at the meter. Make sure both turn easily and seal completely before starting.
  • Evaluate physical clearances: Make sure the mounting wall offers enough room around the unit for air circulation, pipe connections, and future maintenance access.
  • Verify proper venting pathways: Check that you have an open route through an exterior wall or roof where the exhaust pipe will stay far away from windows and doors.
  • Prepare safety equipment: Keep a working fire extinguisher, safety glasses, gloves, and a carbon monoxide detector nearby throughout the project.

If your local code allows homeowner work, you can usually handle the wall mounting and water pipe routing yourself. But if you have never cut and threaded black iron pipe, or if you feel unsure about venting rules, hire a licensed professional for the fuel and exhaust connections. Special rules also apply if you live in a manufactured home. Always verify that your model is approved for manufactured housing, just as you would when choosing a certified heater for a mobile home.

Checking Gas Pipe Diameter and Electrical Power Needs

A traditional tank water heater warms 40 or 50 gallons of water slowly over an hour. A tankless unit heats water instantly as it moves through copper coils. Because it heats water in real time, it requires a massive burst of fuel the moment someone turns on a tap.

This fuel demand is measured by its heating power rate (often listed in BTUs, which indicates how much heat energy the burner produces per hour). A standard tank heater uses around 35,000 to 40,000 BTUs per hour. A whole-house gas tankless unit often demands 150,000 to 199,000 BTUs per hour. That is roughly four to five times more fuel at any single second.

Most older storage tank water heaters connect to a 1/2-inch gas pipe. A 1/2-inch pipe is usually too small to supply a tankless unit, especially if the pipe runs a long distance from your gas meter. An undersized pipe starves the heater of fuel. When the burner starves, the unit will vibrate, make loud booming noises, or shut down with an error code right in the middle of a shower.

Many installations require you to run a 3/4-inch or even a 1-inch gas line directly from the meter. You must also check the capacity rating stamped on your gas meter outside. If your home runs a gas furnace, a stove, a dryer, and a high-demand tankless heater all at once, your utility company may need to install a larger meter.

You also need a dedicated 120-volt electrical wall outlet near the unit. Modern gas tankless units use electric power for circuit boards, freeze protection, digital displays, and the exhaust fan. Never use an extension cord or a power strip. If you mount your heater in an unheated utility space or workspace, keeping the room above freezing with a heater for a garage with a thermostat can protect exposed water pipes and condensate lines from freezing solid during winter cold snaps.

Exhaust Venting Requirements and Safe Outdoor Clearances

Venting is the most critical safety part of any gas appliance installation. Burning natural gas or propane creates carbon monoxide, an invisible, odorless gas that can cause severe illness or death if it leaks indoors.

You cannot connect a gas tankless water heater to an old metal chimney or a shared water heater vent. Tankless heaters use a powered blower fan that pushes exhaust gases out under positive pressure. An old gravity vent will leak toxic fumes through pipe seams directly into your home.

The type of vent pipe you need depends on your heater design:

A condensing unit (a high-efficiency heater with cool exhaust and a drain line) captures extra heat inside a secondary heat exchanger. Because it extracts so much heat, the exhaust gas is cool enough to safely vent through special PVC, CPVC, or polypropylene plastic pipes. Condensing units also produce acidic water droplets from the cool exhaust, so you must route a drain line to a nearby drain or pump.

A non-condensing unit exhausts extremely hot gases. These units require dedicated, sealed stainless steel vent pipes (often labeled Category III). Standard aluminum or galvanized B-vent pipes will corrode and fail, causing dangerous exhaust leaks.

Where the pipe exits the house is equally critical. The vent termination (the outside exhaust pipe cap that keeps rain and animals out) must follow strict clearance guidelines:

Keep the exhaust cap at least three feet away from any operable window, door, or fresh air intake vent. Maintain at least one foot of clearance above the ground and above the expected winter snow level. Keep the pipe cap away from inside corners of the house and gas meters. Always follow your product manual for the exact clearance diagram, because local codes and manufacturer rules differ.

Steps to Install a Gas Tankless Water Heater Safely

  1. Mount the hanging bracket securely to wall studs. Locate two solid wall studs using a stud finder, mark your level lines, and screw a piece of 3/4-inch exterior-grade plywood across the studs if the mounting holes do not line up. Fasten the steel mounting bracket to the studs using heavy-duty lag screws. Lift the heater with both hands and hang it onto the bracket hooks, confirming that the unit sits completely level.

    Reason: Solid stud mounting prevents the heavy unit from vibrating loose, sagging over time, or putting mechanical strain on rigid water and gas pipes.

  2. Plumb the water lines and attach service isolation valves. Wrap the water inlet and outlet threads with plumbing tape and screw on a set of isolation valves (service shutoff valves used for cleaning and flushing mineral scale). Connect your cold water supply to the blue inlet valve and your home hot water line to the red outlet valve using copper, stainless steel flex lines, or CPVC. Install the pressure relief valve onto the dedicated port on the hot water isolation valve, and run a discharge pipe downward toward the floor.

    Reason: Isolation valves let you shut off water to the heater and pump cleaning vinegar through the heat exchanger every year without cutting off water to the rest of the house.

  3. Run and seal the dedicated exhaust vent pipe. Cut a hole through the exterior wall using a hole saw that matches your vent thimble dimensions. Assemble the manufacturer-approved vent pipe sections, inserting each joint firmly until the locking tabs snap or the gaskets seat fully. Slope the vent pipe slightly toward the outside for non-condensing units, or toward the heater for condensing units with an internal drain, as specified in your manual. Secure the exterior wall thimble and install the outside vent termination cap with silicone sealant.

    Reason: Proper pipe sealing and slope prevent deadly carbon monoxide gas from escaping into living spaces and stop corrosive condensation from pooling inside the fan motor.

  4. Connect the gas supply line and build a sediment trap. Turn off the gas supply at the main meter. Run appropriately sized black iron pipe or an approved flexible gas line to the heater location. Install a manual gas shutoff valve right before the unit. Between the shutoff valve and the heater fuel inlet, build a sediment trap (a small pipe pocket that catches gas line debris before it enters the burner) using a tee fitting and a capped three-inch nipple pointing straight down. Tighten all threaded connections using pipe sealant rated for gas.

    Reason: A sediment trap catches loose dirt, rust flakes, and pipe shavings before they reach the delicate gas control valve and burner assembly.

  5. Check every gas joint for leaks using soapy water. Keep the electrical power to the heater turned off and keep all open flames away. Turn on the main gas supply valve to pressurize the line. Brush a generous amount of liquid gas leak detector or a thick mix of dish soap and water over every threaded joint, union, and valve. Watch each connection closely for two minutes; if you see expanding bubbles, immediately turn off the gas, tighten the joint, and recheck until no bubbles appear.

    Reason: Checking joints under active pressure confirms your fuel seals are airtight before introducing electricity or an ignition spark, eliminating fire and explosion hazards.

  6. Flush the water lines and purge all trapped air. Remove the aerator screens from every sink faucet in your home. Open the main cold water valve and open both service isolation valves on the heater. Turn on several hot water faucets around the house and let the water run for two to three minutes until the stream flows smooth and silent without sputtering. Inspect every water fitting and valve connection for small drips while the system is under full water pressure.

    Reason: Purging trapped air pockets prevents the internal copper heat exchanger from firing dry, which can burn out sensors and warp metal components in seconds.

  7. Plug into electrical power and complete the first startup. Plug the power cord directly into your dedicated 120-volt grounded wall outlet. Turn on the unit power switch on the front control panel and set your desired water temperature, typically between 120°F and 125°F for home use. Turn on a hot water faucet fully; you will hear the exhaust blower fan spin up, followed by the electronic igniter clicking and the burner firing smoothly into action. Check the digital screen for any error codes and confirm hot water flows at the faucet.

    Reason: Observing the first complete ignition cycle confirms that the gas pressure, exhaust blower, electronic controls, and water flow sensor work together correctly under load.

Frequently Asked Questions

Can I vent a gas tankless water heater through an existing chimney?

No, you cannot vent a gas tankless heater through an old masonry chimney or standard water heater flue. Tankless heaters use a powered fan that blows exhaust out under pressure, which would push carbon monoxide through cracks in old chimneys into your home. You must install a dedicated vent pipe approved by the manufacturer that runs directly outdoors through an exterior wall or roof.

How do I know if my existing gas line is big enough?

Check the diameter of the pipe feeding your water heater and calculate the total heating power rate of your gas appliances. Most older tanks run on a 1/2-inch line, but tankless heaters typically require a 3/4-inch or 1-inch pipe to supply up to 199,000 BTUs per hour. If the pipe is too narrow or runs a long distance from the meter, a licensed plumber must run a larger line.

What happens if my gas supply line is undersized?

An undersized gas line starves the burner of the fuel it needs to heat high volumes of rushing water. When you open multiple faucets, the heater will drop water temperature, rumble loudly, or shut down with an error code. Over time, running an undersized line can also damage internal gas valves and cause incomplete combustion.

Do gas tankless water heaters require an electrical outlet?

Yes, gas tankless water heaters require a standard 120-volt electrical outlet to operate. The electric connection powers the digital display, internal control boards, electronic ignition sparker, and exhaust fan. Without electricity, the unit cannot detect water flow or light the gas burner, so it will not produce hot water during a power outage unless plugged into a backup generator.

4.5
2 ratings
Barbara Witt
WRITTEN BY
Barbara Witt
Barbara J Witt, a Miami-based female editor, has dedicated a decade to the analysis and review of the latest winter and outdoor products. She emphasizes durability and comfort in her work.