Building codes are established by most cities, towns and counties and vary considerably from one jurisdiction to another. A building permit generally is required whenever structural work is involved or when the basic living area of a home is to be changed. Do not obtain your own building permit. In most jurisdictions, the individual obtaining the permits is considered to be the contractor and is, therefore, liable if the work does not comply with the local building codes.