Building permits are generally issued by the local Building or Planning Department. The permits are based on building codes for your area. Building codes are laws and ordinances detailing minimum safety standards that are required both for your personal safety and for others. Building codes vary from one jurisdiction to another, so you will need to check with your local office to find out the exact procedure for obtaining a building permit.