In Hampton, the fire department is charged with enforcing building, occupancy and fire prevention codes. This involves enforcing the laws that prohibit the existence of conditions deemed to be a hazard to public health, safety, and welfare. Code enforcement officials conduct inspections to ensure that a building is in compliance with local and state ordinances.