A permit required in most jurisdictions for new construction , or adding on to pre-existing structures, and in some cases for major renovations. Generally, the new construction must be inspected during construction and after completion to ensure compliance with national, regional, and local building codes . Failure to obtain a permit can result in significant fines and penalties, and even demolition of unauthorized construction if it cannot be made to meet code.