Water heater plumbing

I’m sure this one has been beaten to death, but I’ve gotten conflicting responses. CPVC to the hot and cold on water heater (standard electric tank heater)?

CPVC is fine in that application (and very common in these parts, BTW.)


Check with a licensed plumber in your area, some AHJ will require 12 to 18 inches of metallic pipe before CPVC is allowed