Water Heater

Using PEX Pipe at a Water Heater: What Actually Works (and What Doesn’t)

You just installed a new water heater and the plumber quoted four hundred bucks for the connections. You’ve got a roll of PEX in the garage. Can you use PEX pipe at a water heater yourself? Yes you can, but only if you get a few details right.

This article covers exactly what you need to know about using PEX pipe at a water heater. We’ll go over code requirements, which fittings actually hold up to that heat, and why some people’s PEX joints fail within a year. You’ll walk away knowing how to make a connection that lasts longer than the warranty on the heater.

Likeem

PEX Pipe 1/2 Inch 100ft 2 Rolls PEX Tubing EVOH Pex-B Pipe Non Oxygen Barrier Durable Leakage-Proof Flexible for Residential Water Lines in Homes pex Radiant Heat Tubing(Red+Blue)

  • 【Premium Pex Tubing】- Length: 100FT 2 Rolls,ID:1/2inch,OD:5/8inch,Thick: 0.7 mm The Pex Pipe Made of PEX material,crack-resistant,…
  • 【Effortless Installation】-2 Rolls of X 100 Feet Tubing Compatible with different connection system,without any need for welding,ea…
  • 【Safety and Sturdiness】-min.5" bending radius and smooth Inner wall, Features excellent flexible elastic and high-pressure resista…

For a DIY install, a quality PEX like the Likeem PEX Pipe 1/2 Inch 100ft 2 Rolls gives you both hot and cold lines in one kit. It includes a pipe cutter and clamp rings so you don’t need to buy extras just to get started. Good for tying into a water heater if you follow the guidelines below. Check the current price on Amazon if you’re in the market.

Myth #1: You Can Connect PEX Directly to the Water Heater

A lot of homeowners think you can slide PEX right onto the water heater’s male adapter and call it done. That’s how you get a small flood in your utility closet. Most plumbing codes (UPC, IRC) require at least 18 inches of metal pipe between the water heater outlet and any PEX. The reason is simple: hot water heaters can spike above 200°F during a thermostat failure, and PEX’s max continuous rating is usually 200°F. The metal pipe acts as a heat sink and gives you a margin of safety.

Your setup should have a brass or stainless steel nipple threaded into the heater, then 18 inches of copper or brass pipe, then a transition fitting to PEX. That fitting needs to be listed for the transition, like a brass PEX adapter. Don’t use a plastic fitting here. I’ve seen people use a push-to-connect fitting directly on the heater — those o-rings soften and leak after a year or two.

Myth #2: All PEX Is the Same for Hot Water

There are three common types: PEX-A, PEX-B, and PEX-C. PEX-A is the most flexible and handles repeated freeze cycles better, but it’s also pricier. PEX-B (which the Likeem pipe is) is slightly stiffer but still easy to work with. It’s rated for 200°F at 80 psi continuous, which covers every standard residential water heater. So PEX-B is fine for the job — the real difference comes from the fittings and the installer’s skill.

One thing that trips people up is the oxygen barrier. Some PEX tubing has an EVOH layer to keep oxygen from diffusing into the water — that’s important for radiant floor systems because oxygen damages the pump and metal components. For a water heater connection, an oxygen barrier isn’t needed. The Likeem pipe does have EVOH, but that won’t cause any problem. It’s just extra protection against corrosion in the water heater tank. No downside.

What matters more is the crimp ring quality and the insertion depth. If you don’t push the pipe fully onto the fitting until it hits the shoulder, the ring can’t seal properly. I’ve fixed joints where someone left a half-inch gap. That joint will leak within weeks.

What to Look For in a PEX Setup at the Water Heater

Get these three things right and your connection will outlast the water heater.

  • Use a brass or stainless steel transition fitting. Copper crimp rings over a brass fitting give a reliable seal. Stainless steel clamp rings also work, but crimp rings are faster for a beginner.
  • Support the PEX. Water heater connections vibrate when the burner fires. Use PEX hangers every 32 inches along horizontal runs. If the pipe sags, the joint sees stress and can develop a slow drip.
  • Leave a service loop. A short loop of PEX (about 12-18 inches) before the pipe heads up into the wall lets you pull the water heater out for replacement without cutting pipe. It’s a small thing that saves hours later.

One more detail: check the thread sealant. Use Teflon tape on the metal nipple, but use pipe dope on the brass-to-brass threads of the transition fitting. Teflon tape alone can crack if the fitting is over-tightened.

Material Max Temp (Continuous) Corrosion Resistance Installer Skill Needed Typical Cost per 10ft Lifespan (Years)
PEX (with brass fittings) 200°F Excellent Low to medium $15–$20 25–30
Copper (Type L) 250°F+ Good (but can corrode with acidic water) High (requires torch) $30–$50 50+
CPVC 180°F Excellent Low (solvent welding) $10–$15 20–30

Copper is the gold standard but it’s expensive and demands skill with a torch. CPVC is cheap and easy but has a lower max temp — some inspectors won’t approve it for direct connection because the temp rating is borderline. PEX with brass fittings hits a solid middle ground: durable enough, easy to install, and code compliant when you keep that 18-inch metal offset.

Frequently Asked Questions

Can PEX touch the water heater flue?

No. Most codes require at least 6 inches of clearance between any combustible material and the flue pipe. PEX is a plastic — it will melt if it touches a hot flue. Run the PEX a safe distance away, or shield it with a metal guard if the layout is tight.

Do I need a dielectric union with PEX at the water heater?

Not if you use a brass transition fitting. Brass is a different metal from the steel heater nipple, but it won’t cause galvanic corrosion like copper would on galvanized steel. If your home has galvanized pipe downstream, you do need a dielectric union at that connection point. The PEX itself doesn’t conduct electricity, so the dielectric is only needed where dissimilar metals meet.

What size PEX for a standard residential water heater?

For a typical 40- or 50-gallon gas or electric heater, use 3/4-inch for the cold supply line and 3/4-inch for hot. If the heater is far from the main supply or you have high flow demands (like a large tub), step up to 1-inch. The 1/2-inch PEX is fine for branch lines but too small for the main water heater connection — you’ll lose pressure and fill the heater too slow.

How long does PEX last connected to a water heater?

Installed correctly (with the metal offset and proper support), PEX should last 25 to 30 years. The weak point is the O-ring in push-to-connect fittings — those can fail in 10 to 15 years. Crimp or clamp rings over a brass fitting don’t rely on O-rings, so they last longer. I’d replace a push-to-connect fitting after 15 years as preventive maintenance.

Can I run PEX directly into the water heater if I use a special fitting?

I’ve seen manufacturers sell a ‘water heater kit’ with a short piece of PEX and a heat-resistant adaptor. Even then, the UPC requires that the PEX not enter the heater jacket. You need at least a metal nipple sticking out of the heater. The PEX can connect to that nipple via a brass adaptor. So ‘direct’ is misleading — there’s always a metal stub. Don’t skip it.

What to Remember Before You Start

  • Keep 18 inches of metal pipe between the water heater and the first PEX connection. It’s code for a reason.
  • Use brass transition fittings, not plastic push-to-connect directly on the heater.
  • PEX-B (like the Likeem tubing) is rated for water heater temps. Don’t overspend on PEX-A if you don’t need the extra flexibility.
  • Support the pipe every 32 inches. A sagging line puts stress on joints.
  • Leave a service loop so you can slide the heater out later.
  • Don’t let PEX touch the flue or any hot metal surface.
  • Buy a kit that includes a pipe cutter and rings — the Likeem roll set has those, which saves a separate trip to the store.

Affiliate Disclosure: We may earn a commission when you buy through links on this site, at no extra cost to you. This helps us keep testing products independently.

HomeBestGoods Team

Written by HomeBestGoods Team

Part of the HomeBestGoods team — testing saunas, hot tubs and heaters and writing the guides we wished existed before we bought.

Related posts