HyrePlumber

Quick answer

PEX plumbing pipe is flexible water supply tubing made from cross-linked polyethylene, a plastic whose molecules are chemically bonded to each other so it holds up to hot, pressurized, chlorinated drinking water.

It is used for hot and cold lines inside homes and for buried water services. It joins with crimp, clamp, expansion or push fittings rather than solder or glue.

Quick facts

The key facts about PEX Plumbing Pipe, with sources:

Material
High-density polyethylene that has been cross-linked 1
Main tubing standards
ASTM F876 and F877; drinking water parts to NSF 61 1
Standard pressure ratings
160 psi at 73.4°F and 100 psi at 180°F; some also 80 psi at 200°F 1
Chlorine requirement
At least a 50-year extrapolated life in hot chlorinated water test (ASTM F2023) 1
Sunlight
Must not be stored or installed in sunlight unprotected 1
Thermal movement
About 1 inch per 100 feet for each 10°F change 1

Key takeaways

  • PEX is flexible plastic water pipe that bends around corners, so it needs fewer fittings than copper.
  • PEX-A, B and C name three ways of making it; all must pass the same standards, and the letters are not a quality grade.
  • The printed code on the pipe tells you its chlorine and sunlight ratings, so read it before you buy.
  • PEX hates sunlight and direct heat: keep it out of UV and away from flues, and follow code near water heaters.
  • It resists corrosion and usually survives a freeze in a wall, but not every freeze and not every fitting.

PEX pipe meaning: cross-linked polyethylene water tubing

PEX is cross-linked polyethylene, a flexible plastic tubing used for hot and cold water supply lines.

Plain polyethylene is a soft plastic made of long chains; cross-linking ties those chains together, which turns it into a material that stays strong in hot water and does not melt back into a soft plastic when heated 1.

In a home, PEX is the colored tubing (often red for hot, blue for cold, or white) that runs from a main shutoff or a manifold to each sink, tub, toilet and appliance.

The PPFA design guide also lists uses in water service lines, radiant heating, fire sprinklers and snow melting 1. The first edition of that guide was produced with HUD’s Partnership for Advancing Technology in Housing 2.

PEX carries supply water under pressure. It is not used for drains, which are gravity lines made of other plastics such as PVC or ABS.

The letters are not grades

PEX-A, PEX-B and PEX-C describe how the plastic was cross-linked. The PPFA design guide says pipe made by any of the three methods must meet the same qualification requirements, and the letters are not a rating system 1.

How PEX is made and how the fittings join it

  1. Extrude the tube: High-density polyethylene is pushed through a die to form tubing in copper tube sizes 1.
  2. Cross-link it: Peroxide (PEX-A), silane (PEX-B) or electron-beam (PEX-C) methods bond the chains 1.
  3. Test and print: Tubing is tested to ASTM F876 for pressure, crosslinking, chlorine resistance and more, and the results are printed on the pipe as a material designation code 1.
  4. Cut and fit: Installers cut it square and join it with listed fittings: insert fittings with crimp or clamp rings (ASTM F1807, F2159), or cold-expansion fittings with PEX rings or sleeves (ASTM F1960, F2080) 1.
  5. Route and support: It bends around obstacles within the maker’s minimum bend radius and is supported so it does not sag 1.
Process From resin to a working PEX line
  1. Polyethylene resinHigh-density PE
  2. ExtrusionFormed into tubing
  3. Cross-linkingPeroxide (A), silane (B) or e-beam (C)
  4. ASTM F876 testingPressure, chlorine, UV ratings
  5. Listed fittingsCrimp, clamp or expansion joints

All three cross-linking methods must meet the same product standard. Source: [1]

PEX-A, PEX-B, PEX-C and the fitting systems

TypeWhat it isJoined with
PEX-ACross-linked with peroxides 1Often cold-expansion fittings (ASTM F1960 or F2080), or insert fittings, per the maker 1
PEX-BCross-linked with silane 1Usually insert fittings with crimp or clamp rings (ASTM F1807, F2159) 1
PEX-CCross-linked by electron beam 1Insert fittings per the maker
PEX-AL-PEXPEX with an aluminum layerFittings listed for that tubing, such as ASTM F2434 crimp fittings 1
Oxygen-barrier PEXCoated to limit oxygen entryUsed for heating loops; ask before using it for drinking water

Fittings must match the tubing. The UPC text quoted by the PPFA guide says F876 tubing must be marked with the fitting standards it is meant for 1. Our pipe material tool compares PEX with other supply pipes.

How PEX shows up on a plumbing quote or inspection report

On a repipe quote, PEX is usually the main line item, with the type (A, B or C), the fitting system, the number of fixtures, and whether a manifold is used. Our repiping service page explains how a whole-house job runs.

On a home inspection report, PEX is noted as the supply material. Inspectors may flag pipe in sunlight, pipe close to a water heater or flue, or poor support.

On the pipe itself, the print line shows the maker, size, the standards (such as ASTM F876 and F877), the material designation code and NSF marks 1. That line is the best way to identify an unknown plastic pipe.

PEX pros and cons

Benefits

  • Will not pit or corrode like metal pipe; PPFA cites no pitting in aggressive water at pH 6.5–6.7 1.
  • Flexible, so long runs need fewer fittings and fewer joints that could leak 1.
  • Absorbs pressure surges: in lab tests, half-inch PEX showed up to 37% lower peak pressure than copper at 2.5 GPM cold 1.
  • Usually expands and returns to size if water freezes in a wall, per PPFA 1.
  • Contains no lead, per the design guide 1.

Drawbacks

  • Damaged by sunlight; must not be stored or installed in UV without protection 1.
  • Not allowed right at a water heater under some codes; UPC 2012 bars it in the first 18 inches 1.
  • May split if it freezes in a slab or packed soil where it cannot expand evenly 1.
  • Moves about 1 inch per 100 feet per 10°F, so long runs need slack and proper supports 1.
  • Each brand’s fittings and tools must match; mixing systems can void listings.
Chart Peak surge pressure when a valve slams shut (½-inch pipe, cold water, 2.5 GPM)

With a fast-acting valve at 2.5 GPM of cold water, peak pressure measured 239 psi in Type L copper, 173 psi in CPVC, and 168 and 150 psi in two PEX samples.

Peak surge pressure when a valve slams shut (½-inch pipe, cold water, 2.5 GPM) (psi peak pressure)
ItemValue (psi peak pressure)
Type L copper 239 psi
CPVC 173 psi
PEX sample 1 168 psi
PEX sample 2 150 psi

Data period: Home Innovation Research Labs test, PPFA PEX Design Guide 2nd ed. (2013), Table 8.7; includes 60 psi static pressure

Source: [1]

Where PEX falls short: sunlight, heat and freezing

Sunlight is PEX’s main weakness. The PPFA guide says PEX should not be stored outdoors in the sun or installed outdoors unless buried or protected, and that even indirect and reflected sunlight carries UV. In an unfinished basement with windows, cover it with a UV-blocking sleeve or pipe insulation the maker approves 1.

Heat is the second limit. The UPC 2012 text quoted in the guide bars PEX in the first 18 inches of piping connected to a water heater, and the National Standard Plumbing Code 2009 text requires metal pipe within 6 inches of a flue or vent connector 1.

Those are older editions, so check the current code your area adopted.

Freezing is the third limit. PEX usually stretches and returns to size when it has room to expand along its length, but it may be damaged if it freezes inside a slab or packed soil 1. Fittings and fixtures can still crack, so a freeze can still cause a burst pipe.

What drives the cost of PEX plumbing

Labor, wall access and fixture count drive the cost of PEX plumbing more than the tubing does. The PPFA guide says PEX systems generally take less installation time and labor than rigid metal systems 1. We do not quote PEX prices here, because fair numbers need dated local quotes.

The drivers are the number of fixtures, how many walls and ceilings must be opened and patched, the fitting system and tools, whether a manifold is used, access (slab, crawlspace or basement), permit and inspection fees, and drywall repair.

In a whole-house repipe, ask whether patching and painting are in the quote or left to you.

Our repipe cost estimator shows how fixture count and access change the total, and the plumbing cost guide covers how quotes are built.

How a PEX installation or repipe usually goes

  1. Plan the layout: Trunk-and-branch, home-run manifold, or a zone layout; PPFA notes parallel (manifold) systems with 3/8-inch lines can cut hot water wait time 1.
  2. Permit: Repiping or new supply lines usually need a plumbing permit and inspection; check your local office.
  3. Run the tubing: Keep it out of sunlight and away from heat sources, protect it where it passes through framing, and support it per code 1.
  4. Make the joints: Use fittings listed for that tubing and the maker’s tools, and check each joint with a go/no-go gauge where the system calls for it 1.
  5. Pressure test: The system is tested before walls are closed, as your code requires; see plumbing pressure test.
  6. Inspect and close: After inspection, the walls are closed and fixtures are set.

Heat, flues and electrical grounding

Do not run PEX against a flue, vent connector or water heater outlet; codes require metal within set distances 1.

If a metal water pipe is being replaced with PEX, the UPC 2012 text quoted by PPFA allows it only where an approved grounding system is in place, so have an electrician confirm the home’s grounding first 1.

How to care for PEX after it is installed

  • Keep exposed PEX covered from window light, and do not leave spare pipe outside 1.
  • Keep solvents, oils and chemicals away from PEX and fittings; the PPFA guide says to store fittings away from oils, solder flux and ammonia 1.
  • In freezing weather, insulate pipe in cold spaces and drain lines in unheated areas.
  • Check exposed joints in basements and crawlspaces for drips once a year.
  • Know where your water meter is so you can check for hidden leaks by watching it with all fixtures off.

Photograph the print line

Before walls are closed, take a photo of the print line on each run. It records the brand, size, standards and ratings for any future repair.

Signs of a PEX problem, and when to call a plumber

  • Chalky, faded or cracked pipe where sunlight reaches it.
  • Water stains on ceilings or walls below PEX runs or near fittings.
  • A fitting that drips or a crimp ring that sits crooked.
  • Pipe that was installed touching a flue or a water heater outlet.
  • Low pressure at one fixture fed by a single home-run line, which can mean a kink.

For an active leak, shut off the main and see our plumbing emergencies guide. Our leak detection and repair service covers hidden leaks.

Codes and standards for PEX

Product standards: ASTM F876 (tubing) and F877 (systems) set PEX requirements, including a minimum 50-year extrapolated life in hot chlorinated water under ASTM F2023, tested at 140°F and 80 psi conditions. Fittings follow ASTM F1807, F1960, F2080, F2159 and F2434 1.

Drinking water: The model codes quoted in the PPFA guide (IPC 2012, UPC 2012) require PEX in drinking water systems to comply with NSF 61 1. Under the Safe Drinking Water Act, “lead free” plumbing means a weighted average of no more than 0.25% lead on wetted surfaces 4.

Model codes: The 2013 PPFA guide quotes PEX provisions from the IRC 2012, IPC 2012, UPC 2012 and NSPC 2009, including the UPC 2012 rule against PEX in the first 18 inches from a water heater 1.

Code editions have moved on since, and states adopt and amend them on their own schedule, so check the code your jurisdiction uses.

Buried services: The UPC 2012 text quoted by PPFA requires a tracer wire of at least 18 AWG alongside buried plastic building supply pipe so it can be located later 1.

PEX vs other water supply pipe

PipeMaterialJoined byKey difference
PEXCross-linked polyethylene 1Crimp, clamp, expansion fittings 1Flexible; UV-sensitive 1
CopperCopper, in Types K, L and M by wall thickness 3Solder, brazing, press fittingsRigid; Copper Development Association notes UV resistance 3
CPVCChlorinated PVCSolvent cementRigid plastic; in PPFA tests, surge pressure between copper and PEX 1
Galvanized steelZinc-coated steelThreadedOlder homes; highest surge in PPFA’s hydraulic shock table 1

Older homes may also have lead pipes. EPA says lead pipes are more likely in homes built before 1986, and estimates about 4 million lead service lines across the U.S., per its 2025 update of the 7th Drinking Water Infrastructure Needs Survey 45. See our pipe materials guide for the full picture.

PEX myths

Myth PEX-A is a higher grade than PEX-B.
Reality The letters name the cross-linking method; all must meet the same standards 1.
Myth PEX never bursts when it freezes.
Reality It usually stretches, but may be damaged frozen in a slab or packed soil, and fittings can still fail 1.
Myth PEX can go outside like garden hose.
Reality PPFA says not outdoors unless buried or protected from UV 1.
Myth Chlorine in city water destroys PEX.
Reality F876 requires a 50-year extrapolated life in hot chlorinated water; PPFA cites research that chloramines are less aggressive than free chlorine 1.
Myth PEX can connect straight to a water heater.
Reality UPC 2012 bars PEX in the first 18 inches of piping connected to a water heater 1.

How climate and local code change the picture

Two regional variables matter for PEX. Sunlight: makers’ PEX UV exposure limits are based on central Arizona, the worst-case North American location for UV energy, so desert job sites should keep pipe covered from day one 1.

Freezing: in cold climates PEX’s ability to stretch helps in walls, but pipe frozen in a slab or packed soil can still fail 1.

Code adoption is the third: states using the UPC and states using the IPC or IRC each set their own rules for PEX near water heaters and flues, so local plumbers work to the local edition.

When PEX is the right pipe, and what to ask your plumber

PEX is a common choice for a repipe in a finished home, because it snakes through walls with fewer openings. It also suits long runs and cold-climate homes. Copper may fit better where pipe is exposed to sunlight, near heat, or where the local market and code favor it.

Ask your plumber which PEX type and fitting system they use, whether the pipe’s chlorine rating fits any recirculation loop, and how they protect pipe near the water heater. The guide below pairs four common situations with what to check.

Decision guide PEX decision guide
If Repiping a finished home
Then PEX is often the least invasive choice
If Hot water recirculation
Then Look for a first print-line digit of 5
If Pipe exposed to window light
Then Sleeve it or choose metal
If Connection at the water heater
Then Use the metal connector your code requires

Questions about PEX Plumbing Pipe

What is PEX pipe used for?

PEX is used for hot and cold water supply lines inside homes, running from the main shutoff or a manifold to each fixture.

The PPFA design guide also lists water service lines, radiant floor heating, residential fire sprinklers, snow melting and geothermal loops.

It is not used for drain lines, which are gravity pipes made of other plastics.

What is the difference between PEX-A, PEX-B and PEX-C?

The letters name the cross-linking method: peroxide for PEX-A, silane for PEX-B and electron beam for PEX-C. The PPFA design guide says pipe made by any of the three must meet the same qualification standards, and the letters are not a rating system. They do affect which fitting systems a maker lists for the pipe.

How long does PEX pipe last?

ASTM F876 requires PEX for drinking water to show at least a 50-year extrapolated life in an aggressive hot chlorinated water test under ASTM F2023. Real life depends on water temperature, chlorine, sunlight exposure, installation and fittings. Keeping PEX out of UV and away from heat sources protects that rating.

Can PEX pipe freeze and burst?

PEX usually stretches when water inside freezes and returns to size when it thaws, according to the PPFA design guide. That works when the pipe can expand along its length, as in a wall.

Pipe frozen in a slab or packed soil may be damaged, and fittings, valves and fixtures can still crack, so insulate and drain lines in cold spaces.

Can PEX be exposed to sunlight?

Not for long. The PPFA guide says PEX should not be stored outdoors in the sun or installed outdoors unless buried or protected, and that indirect and reflected light also carries UV.

Each maker publishes a maximum UV exposure time, shown as the second digit of the print-line code. Cover exposed PEX with a sleeve or insulation the maker approves.

Can PEX connect directly to a water heater?

Often not. The UPC 2012 text quoted in the PPFA guide bars PEX within the first 18 inches of piping connected to a water heater, and the NSPC 2009 requires metal pipe within 6 inches of a flue or vent connector.

Rules vary by code and edition, so your plumber uses the metal connectors your local code requires.

Is PEX better than copper?

Each has strengths. PEX is flexible, needs fewer fittings, does not corrode and showed lower surge pressures than copper in PPFA-reported lab tests. Copper is rigid, handles sunlight and heat better and is fully recyclable. The right choice depends on the job, the local code and where the pipe runs.

What do the numbers printed on PEX mean?

The print line includes the ASTM F876 material designation code, such as PEX 5306. The first digit is the chlorine resistance rating, the second is the UV exposure rating, and the last two give the hydrostatic design stress at 73°F in hundreds of psi. It also lists size, maker, standards and certification marks.

Does PEX contain lead or BPA?

The PPFA design guide states that PEX pipe does not contain lead, harmful VOCs or bisphenol A. The model codes it quotes require PEX in drinking water systems to comply with NSF 61.

Brass fittings are a separate part; under the Safe Drinking Water Act, “lead free” plumbing parts may have no more than a 0.25% weighted average lead on wetted surfaces.

Sources

  1. PPI and PPFA (prepared by Home Innovation Research Labs), Design Guide: Residential PEX Water Supply Plumbing Systems, 2nd ed. (November 2013), retrieved .
  2. HUD PATH, Design Guide: Residential PEX Water Supply Plumbing Systems (1st ed.), retrieved .
  3. Copper Development Association, The Copper Tube Handbook, retrieved .
  4. U.S. EPA, Basic Information about Lead in Drinking Water, retrieved .
  5. U.S. EPA, Lead Service Lines, retrieved .

Expert review

Written by the HyrePlumber Research team. Not yet reviewed by an outside expert. We say so rather than imply a review that has not happened; see our editorial policy.

How the numbers were checked: Material, manufacturing, ratings, print-line codes, UV, freeze, thermal movement, surge test data and quoted code text come from the 2013 PPI/PPFA PEX design guide (an industry publication prepared by Home Innovation Research Labs); the first edition was published with HUD’s PATH program.

Code sections are quoted as that guide reproduced them (IRC/IPC/UPC 2012, NSPC 2009) and are labeled with those editions; current local codes may differ.

Copper facts are from the Copper Development Association; lead facts from EPA. No prices are given.

Suggest a correction. We fix errors and say what changed.