Do I need a water heater pan?
Water heater pan requirements vary by location, but most building codes require pans for water heaters installed in attics, upper floors, or above finished living spaces. Even when not required by code, water heater pans are highly recommended to protect against water damage from leaks, condensation, or tank failures.