Water heater tune-up and safety inspection. A 40 gallon gas water heater requires a 3” smoke pipe and a 50 gallon gas water heater requires a 4” mole pipe. All water heaters require an electrical ground between to hot and cold water lines.