That short, bendable tube between a gas shutoff valve and your water heater carries fuel to a burner that may cycle dozens of times a day, so it gets more scrutiny from inspectors than most homeowners realize. A flexible gas line for water heater hookups is a listed appliance connector, not a generic hose, and it has rules for length, diameter, routing and the fittings on either end. Getting any of those wrong can starve the burner, stress the connector, or create a leak in a closet or garage where you may not notice it.
Gas connections are licensed-professional work. This page explains what a correct installation looks like so you can talk with your plumber or gas fitter, spot problems during a replacement, and know what an inspector will check. It does not cover making the connection yourself, and you should not attempt it.
- What a Flexible Gas Line for Water Heater Hookups Actually Is
- Connector Rules Your Installer Will Follow
- Sizing: Matching Connector Diameter to BTU Load
- Shutoff Valve, Sediment Trap and Leak Checks
- Routing and Placement Best Practices
- Carbon Monoxide and Venting Safety
- Signs Your Connector Needs Attention
- Cost to Have a Pro Install or Replace a Connector
- When to Call a Licensed Professional
- Frequently Asked Questions
What a Flexible Gas Line for Water Heater Hookups Actually Is
The connector most installers use is corrugated stainless steel, often with a yellow or gray polymer coating, with factory flare fittings on both ends. It is certified for use as a gas appliance connector under the national connector standard, and the listing is printed on a tag or band attached to it. The coating resists corrosion from cleaning chemicals and damp basements.
These connectors are different from the long runs of corrugated tubing that some homes use as their main gas piping. That tubing is a separate system with its own bonding and installation rules. An appliance connector is meant only for the final short connection between the valve and the appliance.
Many people search for a “gas flex line for water heater” expecting something they can grab off a hardware shelf. Those connectors are sold widely, but what makes an installation safe is the listing, the correct size, and the work around it: the shutoff valve, sediment trap, sealing method and leak testing. Older uncoated brass connectors, which were common decades ago, have been subject to safety warnings because their solder joints can fail. If your heater still has one, plan to have it replaced.
Connector Rules Your Installer Will Follow
Codes adopted locally vary, but connector rules are broadly consistent across the country. Expect your installer to work to these points:
- Listed connector only. It must carry a certification for gas appliance connectors. Unlisted hose, rubber tubing or a reused connector is not acceptable.
- Length limit. Most codes cap appliance connectors at 6 feet for non-movable appliances. Longer runs require rigid pipe brought closer to the appliance.
- One connector per appliance. No splicing two connectors together.
- No concealment. The connector must stay in the same room as the appliance and cannot pass through walls, floors, ceilings or cabinets.
- New on every install. Manufacturers state connectors are not to be reused once removed, because the corrugations work-harden when bent.
- Accessible shutoff valve. A manual valve in the same room, within reach of the appliance, upstream of the connector.
An inspector will also look for the sediment trap, correct venting, seismic strapping in states that require it, and proper clearances around the heater. Gas work often triggers a permit even for a like-for-like heater swap.
Sizing: Matching Connector Diameter to BTU Load
Connectors are labeled by nominal inside diameter, commonly 3/8, 1/2, 5/8 and 3/4 inch. The number on the nut is not the same as the pipe size, so installers use the manufacturer’s capacity chart, which lists BTU per hour capacity for each diameter at different lengths.
| Typical heater | Input range | Connector size commonly used |
|---|---|---|
| 40 to 50 gallon tank | 30,000 to 40,000 BTU/h | 1/2 inch |
| High-recovery 50 to 75 gallon tank | 50,000 to 76,000 BTU/h | 1/2 to 5/8 inch |
| Tankless heater | 150,000 to 199,000 BTU/h | 3/4 inch, often with larger supply pipe |
These are general examples only. The correct size depends on your heater’s rated input on the data plate, the connector length, whether you have natural gas or propane, and the supply pressure. Shorter connectors carry more gas than longer ones of the same diameter.
Undersizing is the most common problem with tankless upgrades. A tankless unit can draw four or five times the gas of a standard tank, and the existing 1/2 inch pipe and connector may not keep up. Symptoms include error codes, lukewarm water at high flow, and a burner that struggles when the furnace runs at the same time. Your installer should check the whole gas piping system, not just the connector, before installing a high-input appliance.
Shutoff Valve, Sediment Trap and Leak Checks
Shutoff valve
The manual shutoff valve sits on the rigid gas pipe just before the connector. A quarter-turn ball valve is standard: when the handle is parallel to the pipe, gas flows; when perpendicular, it is closed. You should know where this valve is and how to close it, but leave opening, closing for service, and any changes to the piping to your gas professional.
Sediment trap
A sediment trap, sometimes called a drip leg, is a capped vertical pipe stub below a tee where gas turns toward the appliance. Debris and moisture in the gas line drop into the stub instead of fouling the gas control valve. Most codes require one at water heaters. Many water heater gas control valves fail early because a trap was skipped.
Leak checks
After any gas work, a licensed installer checks every joint, typically with a leak-detection solution or an electronic gas detector, and confirms the burner lights and runs properly. For a homeowner, the reasonable ongoing step is a plug-in or battery gas leak detector near the heater and furnace. Natural gas rises and propane sinks, so mount the detector where the manufacturer directs for your fuel type.
Routing and Placement Best Practices
A connector should run in a gentle, natural curve without kinks, sharp bends or twisting. Manufacturers usually specify a minimum bend radius and limit the number of full bends. A connector stretched tight or compressed into a tight loop is a sign it is the wrong length.
Keep it away from the flue collar and draft hood, where heat can damage the coating. It should not rest against sharp sheet metal edges, sit where a vacuum or storage bins will knock it, or run across the floor. In garages, codes generally require gas water heater ignition sources to sit at least 18 inches above the floor, and the heater should be protected from vehicle impact with a barrier or bollard where required.
In earthquake regions, strapping holds the tank in place so it cannot tip and tear the connector. Flexible connectors exist partly because they tolerate small movement better than rigid pipe, but strapping is still required where local code calls for it.
Carbon Monoxide and Venting Safety
The connector is only part of a safe gas water heater. Atmospheric-vent tanks depend on a properly sized and sloped flue to carry combustion gases outdoors. A disconnected vent, blocked chimney or backdrafting heater can release carbon monoxide into the house.
- Install carbon monoxide alarms on every level of the home and near sleeping areas.
- Keep the area around the heater clear of storage, laundry and flammable liquids.
- Maintain clearances and combustion air openings listed in the maker’s manual and local code.
- Have the vent, chimney or flue inspected annually, ideally when the heater is serviced.
Warning signs include soot near the draft hood, a yellow or lazy flame instead of a crisp blue one, rust or corrosion on the vent connector, and condensation on nearby walls. Any of these warrants a service call.
Signs Your Connector Needs Attention
Have a licensed pro evaluate the connection if you notice any of the following:
- A rotten-egg smell near the heater. Leave the house, then call the gas utility or 911 from outside. Do not operate light switches or phones near the area.
- An uncoated brass connector, or one that looks kinked, crushed or corroded.
- A connector that passes through a wall, floor or cabinet.
- No sediment trap, or a shutoff valve that is missing, painted over or out of reach.
- Burner trouble after a heater swap, such as frequent pilot outages or error codes on a tankless model.
Never try to tighten, bend or reposition the connector yourself. Flare fittings can crack if over-tightened, and corrugated connectors can develop leaks when flexed repeatedly.
Cost to Have a Pro Install or Replace a Connector
The connector itself is inexpensive, generally $15 to $60 depending on size and length. The labor is where the cost lives. Expect roughly $150 to $350 for a pro to replace a connector on its own, including leak testing. Adding a sediment trap or new shutoff valve can add $75 to $250. When the connector is part of a full water heater replacement, it is usually bundled into the installation price, which typically runs $1,000 to $3,000 for a tank model and more for tankless with gas line upsizing.
Permit fees for gas appliance work generally run $50 to $300 depending on your jurisdiction.
When to Call a Licensed Professional
Every gas connection, including installing, replacing or moving a flexible gas line for water heater service, belongs with a licensed plumber or gas fitter. They pull the permit, size the connector and piping to your appliance’s BTU load, install the shutoff and sediment trap, test for leaks, check venting and draft, and schedule the inspection. Many jurisdictions also require a licensed installer for the manufacturer’s warranty to stay valid.
Your job as a homeowner is to know where the shutoff is, keep CO alarms and a gas detector working, keep the area clear, and call for help at the first sign of trouble. If you ever smell gas, leave first and call from outside.
Frequently Asked Questions
How long can a flexible gas line for a water heater be?
Most codes cap appliance connectors at 6 feet for fixed appliances like water heaters. If the heater is farther from the gas supply, a pro extends rigid pipe closer and uses a short connector.
Can I reuse the old gas connector with a new water heater?
No. Manufacturers state connectors should not be reused after removal. A new listed connector should be installed with every new heater, along with a leak test by the installer.
What size gas connector does a 50 gallon water heater need?
Many standard 50 gallon tanks rated around 40,000 BTU/h use a 1/2 inch connector, but the correct size depends on the data plate input, connector length and gas type. Your installer confirms it with the connector maker’s capacity chart.
Is a sediment trap required on a gas water heater?
Most codes require one at gas water heaters. It catches debris and moisture before they reach the gas control valve, which helps prevent valve failure.
Can a homeowner install a gas line to a water heater?
Some jurisdictions technically allow homeowner permits, but gas work carries fire, explosion and carbon monoxide risks. A licensed plumber or gas fitter should make every gas connection and perform the leak test.