PEX connections at water heater

Can PEX supply lines be attached directly to an electrical water heater or is a minimum clearance recommended by manufacturer due to heat (cannot figure out how to attach photo to post). Thx.

Not allowed within 18 inches of water heater.

PS… only members can attach photos.

The Design Guide states “PEX tubing may be directly connected to residental electric water heaters, if the local code or manufacturer’s instructions allow” (Ch. 9, p.78)

Code guys here don’t say much about it.

PEX allows a direct connection to an electric water heater in Canada but not in the US last time I checked…

Use water heater manufacturer’s instructions as a guideline.

Hi James,

I just looked at Giant and GSW installation instructions and no mention of pex or for that matter any piping material.