Putting a flex line on a hot water heater is usually a short gas-connector job, not a full plumbing rebuild, and a careful DIYer can often do it in about 1 to 2 hours if the shutoff, venting, and leak test all check out. Say your heater is in a tight closet and the rigid pipe lands an inch short; a listed stainless steel connector can solve that gap without forcing the piping.
A flex line is there to make the final connection easier, not to fix bad pipe layout. If the gas valve, sediment trap, shutoff, and vent are all sound, the job is straightforward; if any of those parts are wrong, stop before you crack a fitting loose.
For a gas water heater, the clean answer is usually yes for a listed stainless steel connector sized for the appliance, but local code can still change the rules. That matters in places like Union, New Jersey, where the permit desk gets a vote.
The essentials
Use a listed stainless steel gas connector only if the heater is gas and the connector size matches the appliance and shutoff.
Shut the gas off, air out the area, and leak-test every joint with soapy water after the connection is tightened.
Do not bury extra flex in the wall or stretch it tight between fittings; a little slack is fine, a tug is not.
If the heater is in a closet, has venting problems, or the local code wants a permit, bring in a licensed pro.
How to Put Flex Line on Hot Water Heater
If a closet heater sits 24 inches from the gas stub, you can usually connect it with a listed stainless steel gas connector in about 1 to 2 hours. To put a flex line on a hot water heater, use that connector only on a gas water heater, match its size and length, shut off the gas first, and call a pro if the shutoff, fittings, or venting are wrong.
In short
A flex gas connector is commonly used for the final connection to a gas water heater where local code allows it. An electric water heater has no gas connection, so this method doesn’t apply.
A Common Closet Problem
Say the rigid gas pipe stops an inch short of the heater’s inlet. A properly sized connector can span that gap without forcing the pipe, provided both ends use the fittings specified by the connector and the heater manufacturer. The connector must hang naturally; it shouldn’t be stretched, sharply bent, or used to correct badly placed piping.
Typical job timeAbout 1 to 2 hours
Example gap24 inches
ApplianceGas water heater
So, can you use a flex hose for a gas water heater? Usually, yes, if the part is listed for gas, the diameter and length fit, and your local code permits it. A water-supply hose is a different part and must never be substituted for a gas connector. For choosing the correct gas connector, see this flex gas line buying guide.
New Jersey Check
If you’re asking about using flex line on a water heater in Union, New Jersey, check the local plumbing and fuel-gas requirements before starting. Rules can control the connector type, shutoff location, and inspection even when the physical connection looks simple.
A straightforward replacement is within a careful DIYer’s reach when the existing shutoff works, the rigid pipe already lines up, and the venting is undisturbed. Stop and hire a licensed plumber if you need to move gas piping, replace a bad shutoff, alter the flue or draft hood, or make fittings adapt to one another. Gas leaks and venting errors are poor places to learn by feel.
What You’ll Need Before You Start
Before starting, gather a listed gas flex connector for the final gas connection and verify that the heater’s label permits that arrangement. A flex connector for a water heater is a listed flexible section that joins the heater to fixed piping; stainless steel is commonly used, but a water hose for the tank’s water ports is not a gas part.
For the tank’s water connections
TTFLEX 24″ Water Heater Hose 3/4″ FIP Water Heater Supply Lines
Product 1 is a corrugated 304 stainless steel water line with 3/4-inch FIP ends, so it can suit compatible hot- or cold-water ports. It does not replace the listed gas connector.
Listed gas flex connector of the required length and diameter
Working gas shutoff within the required location
Pipe joint compound or gas-rated thread sealant, only where the connector instructions and code allow it
Two correctly sized wrenches
Leak-detection solution for the finished joints
A working gas leak detector, if you already have one
Connector length, heater inlet size, and the heater label’s approved connection arrangement
Are flex hoses good for hooking up water heaters? They can be useful on the water side when the hose has the right end fittings and approval for that service. Check the heater type and inlet size first; a 3/4-inch water connector, for example, doesn’t tell you anything about a gas connection.
How to Install a Gas Water Heater Flex Connector
Yes, you can use a flex line to connect gas to a water heater when the connector is listed for gas appliances and the heater and local code allow it. A gas flex connector does not serve the water, overflow, or T&P discharge connection; that discharge pipe remains a separate safety part.
Before Touching The Piping
Turn the gas control to OFF, close the nearby gas shutoff, and let hot surfaces cool. Extinguish cigarettes, pilot flames, and other ignition sources, ventilate the area, and leave if you smell strong gas. Don’t operate electrical switches near a gas odor; call the gas utility or emergency service from outside.
1
Shut off and verify
Close the gas shutoff and confirm the heater burner stays off. If the old connector serves another appliance through the same branch, shut off that appliance too.
2
Remove the old connector
Disconnect the connector at the heater and the rigid gas pipe or shutoff. Support the fittings so you don’t twist the gas valve or piping. Don’t reuse a connector that is kinked, corroded, or marked for one-time use.
3
Check the route
Hold the new listed gas connector in place without forcing it. It should reach with a gentle curve and a little slack, stay away from the flue, and avoid contact with sharp edges or hot surfaces.
4
Make the connections
Install any required adapter exactly as the connector instructions show. Keep sealant off flare threads unless the manufacturer specifies otherwise, then tighten to the stated torque or a firm snug fit without using the connector body as a wrench.
5
Restore and test
Open the gas shutoff slowly, follow the heater’s lighting instructions, and apply an approved leak-detection solution to every new and disturbed joint. Bubbles mean a leak: close the shutoff and repair it before operating the heater.
Worked Example
Say the gas stub sits slightly to the left of the heater valve. A listed connector that reaches with a gentle curve and a little slack is acceptable when the fittings line up without force. A shorter connector pulled tight across the misalignment is not; it can load the threaded joints and loosen them as the heater moves or the piping expands.
Good routeGentle curve with slight slack
Bad routePulled tight across misaligned fittings
Leak checkApproved solution at every joint
Keep Heat Off The Connector
Route the connector so the flue and draft hood cannot heat its jacket. Never run it across the top of the heater or press it against the vent; a longer, properly routed listed connector is safer than a short one bent sharply behind the tank.
The Overflow Is Separate
If by overflow you mean the temperature-and-pressure relief discharge, don’t connect it with a gas flex line or cap it. The T&P discharge piping follows the heater listing and local code, and a plumber should handle changes to that safety line.
From HeaterGuides · our own guideWater Heater Owner's ToolkitFix the common faults yourself, keep it running for years, and know when a repair is money wasted.No-hot-water flowcharts, gas and electricFlush, anode, relief valve and descaling stepsRepair-or-replace calculator (Excel)$14.99$9.99Get it for $9.99See what's inside and watch the 2-minute video →18-page printable PDF + Excel calculator · instant download · 30-day refund
Mistakes That Cause Leaks Or Damage
Flex hoses are good for hooking up water heaters only when the hose is the correct listed product for that service; a gas connector belongs on the gas connection, not on the water lines or overflow. Using flex gas line for your water heater can work, but the wrong type, wrong thread, or poor route creates trouble quickly.
Myth
Tighter always means safer.
Fact
Over-tightening can damage a threaded fitting, adapter, or valve, while under-tightening can leave a slow gas leak. Follow the connector instructions, use the correct wrench points, and leak-test every disturbed joint instead of guessing by force.
Don’t substitute automotive fuel hose, hydraulic hose, or an unlisted water flex hose for a gas connector.
Don’t mix incompatible thread types or force a flare connection onto tapered pipe threads. Use the specified adapter.
Don’t bend the connector sharply behind the heater, stretch it across a gap, or let it touch the flue.
A flex connector won’t repair a bad shutoff valve, add a missing sediment trap, or correct a venting problem.
Read The Bubbles
Bubbles that grow after startup indicate escaping gas, even if you can’t smell much. Close the shutoff, ventilate the area, and correct the joint before relighting the heater. A connector is a routing part, not a cure for unsafe gas piping or venting.
Stop For Gas Odor
If gas odor remains after the shutoff is closed, leave the building and call the gas utility or emergency service from outside. Don’t search for the leak with a flame.
When You Need A Permit Or A Licensed Pro
Yes, a gas flex line can usually connect a gas water heater in Union, New Jersey, but the connector, installation, and local approval must meet New Jersey and local code requirements. Local rules can be stricter than the heater manual, so don’t guess from a map or a hardware-store label.
Gas line work often requires a permit or inspection, especially when you add, replace, or relocate piping. If Union requires a permit for your job, it isn’t a casual DIY afternoon; check with the local building department before shutting anything down.
Call a licensed pro when
Hire a licensed plumber or gas fitter if the shutoff must move, the vent needs any change, the connector route is unclear, or the heater sits in a confined space. Venting and combustion-air problems can affect the whole appliance, not only the flexible connector.
Before deciding
Confirm the connector is listed for gas water heaters and matches the heater connection.
Check whether your town requires a permit or inspection.
Leave the vent, gas shutoff, and combustion-air arrangement unchanged unless a licensed professional evaluates them.
Stop if the gas piping is corroded, damaged, or under strain.
You can use a flex line to connect gas to a gas water heater when the appliance, connector, and local code allow it. A licensed pro is the sensible choice when any part of that sentence is uncertain.
What To Do Next
To put a flex line on a hot water heater, first confirm the heater type and connector size, then shut off the gas before inspecting the connection. The connector must be the listed gas-appliance type made for that heater—not a water hose or fuel line.
1
Confirm the setup
Read the heater label and measure the existing connection size. Check that the shutoff operates and that the vent is correctly connected and undamaged.
2
Shut off the gas
Close the appliance shutoff and follow the installation instructions. If the shutoff won’t close fully, stop and call a licensed plumber or gas fitter.
3
Choose the connector
Buy the correct listed gas connector and fittings for the heater and existing piping. Don’t force a short, crooked, or strained route.
4
Make the final checks
If anything is corroded, loose, unclear, or subject to a permit or venting rule, stop before reconnecting. Have a licensed pro finish and inspect the work.
Same-day path
Confirm the heater and connector size; check local permit rules; shut off the gas; inspect the shutoff and vent; then install only if the route and parts are clear. If they aren’t, leave the gas off and call a licensed pro.
More Questions, Answered
Can you use a flex line to connect a gas water heater?
Yes, a listed gas appliance connector can connect the heater to the building’s gas piping when the heater and local code allow it. Keep the connector accessible, avoid kinks, and have the connection checked for leaks before operating the burner.
Are flex hoses good for hooking up water heaters?
They can be, but the hose must be listed for the service and pressure involved. A gas connector is for gas; a braided water-supply connector is for the cold or hot water piping, and neither should be substituted for the other.
What is a flex connector for a water heater?
A flex connector is a short, listed tube that joins a fixed pipe to a water heater while allowing limited movement during installation or servicing. Gas connectors normally attach at the appliance shutoff valve and heater gas inlet, while water connectors attach to the tank’s water fittings.
Can you use stainless steel flex pipe on hot water heaters?
Stainless steel is suitable only when the specific connector is listed for the job. Check its markings, fitting size, length, and installation instructions; corrugated gas connectors and stainless water-supply connectors are different products.
Do you need a permit to install a gas water heater flex line?
Permit rules depend on your city, county, and the scope of the gas work. A gas-water-heater replacement or altered gas connection may require a permit and inspection, so check with the local building department before starting.
When should you call a licensed plumber for a flex line connection?
Call a licensed plumber if you smell gas, the shutoff valve won’t operate, the pipe or fittings are damaged, or the new connector doesn’t line up without force. Professional help is also the sensible choice when the gas piping must be altered, the venting is disturbed, or local rules require licensed work.
Before you go · a welcome giftGet the Water Heater Owner's Toolkit for $4.99Fix the common faults yourself, keep it running for years, and know when a repair is money wasted. Normally $14.99; your welcome price saves $10.00. We'll email your link right now.One email with your link now. We never share your address.