The rule
Section 507.26 sets the principle: appliances and their vent connectors go in with clearances from combustible material so their operation doesn't create a hazard to persons or property. The minimum clearances for various appliance types and their vent connectors are in the venting tables under Section 509.0.
For water heaters, Section 504.3 gives the working rule. A listed water heater is installed per its listing and the manufacturer's installation instructions, and the clearances can't interfere with combustion air, draft hood clearance and relief, or servicing access.
An unlisted water heater has to be approved by the Authority Having Jurisdiction before it goes in. It needs at least 12 inches of clearance on all sides, and a combustible floor under it has to be protected in an approved manner.
On a changeout, Section 507.6 sends you back here. When you add or replace an appliance, or convert one to gas from another fuel, you recheck combustion air, these clearances and the venting, and upgrade whatever isn't adequate.
On the job
- Read the label and the manual for the clearances on the back, sides, top and front before you set the heater. For a listed heater, the listing governs, not the 12 inch number.
- Vent connectors have their own clearances to combustibles, so check the connector's path through the closet or attic, not only the heater's jacket.
- On a changeout, look at what has been built or stored next to the old heater since it went in: shelving, framing, insulation, boxes. The new unit has to meet the clearances where it sits today.
The inspector and your city's adopted edition have the final word.