Yes, you can connect PEX directly to an electric water heater using appropriate fittings, ensuring proper temperature ratings and codes are followed.
Connecting PEX tubing to an electric water heater is a common question among homeowners and DIYers. While PEX offers flexibility and cost savings, proper installation is critical for safety and longevity. This guide covers everything you need to know about PEX-to-water-heater connections.
SharkBite
SharkBite 1/2 Inch Straight Stop x 1/2…
- SHARKBITE BRASS PUSH CLICK SEAL FAUCET CONNECTOR: Faucet water line connector ensures a watertight and leak-free connection; featu…
- VERSATILE: SharkBite Click Seal faucet water supply connectors work well with PEX, CPVC, PE-RT, SDR-9 HDPE, and copper pipes
- EASY TO INSTALL: The SharkBite push-to-connect faucet coupling allows for quick and easy installation, with no tools, crimping, gl…
Is Direct PEX Connection Allowed?
The short answer is yes, but with important considerations. Unlike gas water heaters that require 18″ of metal piping, most electric water heaters can accept PEX directly. However, you must:
- Check local plumbing codes (varies by jurisdiction)
- Verify the water heater manufacturer’s requirements
- Use dielectric unions to prevent galvanic corrosion
- Maintain proper clearances from heat sources
Why Dielectric Unions Matter
Electric water heaters have brass or steel nipples that can react with PEX fittings. A dielectric union creates a barrier between dissimilar metals, preventing corrosion that could lead to leaks. This is especially important in areas with hard water.
PEX Types for Water Heater Connections
Not all PEX is created equal for hot water applications:
| PEX Type | Max Temp | Flexibility | Best For |
|---|---|---|---|
| PEX-A | 200°F | Highest | Best choice for direct connections |
| PEX-B | 180°F | Medium | Acceptable with precautions |
| PEX-C | 180°F | Lowest | Not recommended |
Installation Best Practices
Step-by-Step Connection Guide
- Turn off power and drain the water heater
- Install dielectric unions on heater nipples
- Connect PEX using appropriate fittings (expansion or crimp)
- Support pipes within 12″ of connections
- Leave service clearance for future maintenance
Critical Safety Considerations
Even with electric water heaters:
- Maintain 6″ clearance from electrical components
- Never run PEX through ceiling joists near heater
- Install an expansion tank if required by code
- Consider a thermostat-controlled system for better temperature regulation
When to Use Alternative Materials
While PEX works for most electric water heaters, consider copper or stainless steel flex connectors when:
- Manufacturer specifically requires metal piping
- Water temperatures exceed 180°F
- Local codes prohibit direct PEX connections
- You need rigid piping for vertical runs
For commercial applications or high-temperature systems, professional plumbers often recommend copper for the first 18 inches.
Long-Term Maintenance Tips
To ensure your PEX connections last:
- Inspect dielectric unions annually for corrosion
- Check for kinks or stress on the tubing
- Monitor water pressure (keep below 80 PSI)
- Flush the heater regularly to prevent sediment buildup
For optimal performance, pair your PEX installation with a quality anode rod to protect the water heater tank.
Related pick: Check today's price on Amazon
Related guides
Should Your Water Heater Be On Pilot Or On?
You walk past the water heater in the basement and notice the control knob. It has three positions:…
Top Picks Revealed: Best Suburban Hot Water Heater Anode Rods
Looking for the best suburban hot water heater anode rod? These premium options ensure your RV's water heater…
Water Heater Permit Rules: Same-Size Replacement Guide
Yes, you typically need a permit for installing a new water heater, even if it’s the same size,…
