Away from the water heater and 6 in.
Water heater to pex.
Away from single wall flues on gas water heaters.
And stay well clear of furnace flues wood burning stove pipes and any other item that gets hot.
Codes commonly require pex to be at least 18 in.
So keep your pex pipes away from hot stuff.
Although this was hooked up without soldering this will have to be addressed down the road.
One at the manifold and another at the fixture end.
Water flows silently through pex eliminating the water hammer.
According to the irc you must have 18 inch clearance from the top of the water heater to your pex connection.
How to connect pex tubing to a water heater.
Step 2 connect the metal connector to the water heater.
It is so much easier than using copper to join a water heater to pex pipe.
Diy how to hook up a hot water tank with pex tubing.
Shut down the water supply first before working with the connection.
This system uses more tubing but is fast and only requires two connections.
Step 4 prepare the pex tubing.
Pex does not corrode which can happen with both copper and steel pipes leading to leaks and contamination of the water supply.
When you want to connect pex to a water heater but need an 18 inch separation then use this.
Step 1 shut down the water supply.
With the home run system you install a manifold in the utility room or some area that s close to the main water line and water heater and run a separate pex tube to each fixture as shown above.
Step 3 solder the copper stub to the water heater.