Home › Code Library › CPC 508.4

CPC 508.4 · Water heaters

Water heater in an attic or under-floor space: access, passageway, platform, power and light

An attic or crawl space that holds a heater needs an access opening and passageway at least 22 by 30 inches and larger than the heater's biggest part, solid flooring at least 24 inches wide, a 30 by 30 inch level work platform, plus a receptacle and a light.

2025 California Plumbing Code, Chapter 5 (Water Heaters) · Applies to: Homes and commercial buildings

A side view of an attic with a 22 by 30 inch access opening, a 24 inch wide solid walkway, a 30 by 30 inch work platform, a heater in a pan, a receptacle and a light with the switch at the entrance.
22 by 30 inch access, solid 24 inch walkway, 30 by 30 inch platform, and a receptacle and light near the heater. Diagram: Hoffman & Sons Plumbing (hoffmanandsons.com), CC BY 4.0. Free to share with credit. PNG · SVG · All diagrams

The rule

The opening and passageway have to be larger than the largest component of the appliance, and no smaller than 22 inches by 30 inches. If you can't get the old heater out through it, you can't change it out.

Distance from the access to the appliance is limited. Where the passageway is lower than 6 feet, the limit is 20 feet measured along the centerline. Where it's 6 feet or higher, the limit is 50 feet.

The passageway has to be unobstructed and have solid flooring at least 24 inches wide from the opening to the appliance. In front of the service side there's a level working platform at least 30 inches by 30 inches.

A permanent 120 V receptacle and a light go near the appliance, and the switch for the light is at the entrance to the passageway.

On the job

  • Measure the hatch against the new heater before you order it, not after. The opening has to be bigger than the largest piece of the appliance, so a tank that won't pass through the hatch is a problem before the job starts.
  • Flooring is not just a couple of boards. It has to be solid, at least 24 inches wide, all the way to the platform.
  • A heater in an attic also needs the drain pan under Section 507.5. Check the pan, its drain and the T&P discharge when you check the access.

The inspector and your city's adopted edition have the final word.

Give us a call

Call (760) 912-9831