Contact your local government to find out which building codes apply to homes and businesses in your area. Note: different communities may handle building regulations within different departments, such as building, engineering, fire, or planning. In addition to these departments, other safety codes, such as fire or wildfire codes, may be managed by emergency management or fire departments.