Building codes set the safety standards for your home; permits are how your local government confirms you're following them

Building codes are the rules that govern how structures are built — what materials are safe, how deep a foundation must go, how much weight a floor can hold, how electrical wiring must be installed. They exist to protect you from collapse, fire, electrocution, and other hazards. Permits are the government's way of checking that work meets those codes before, during, and after construction.

When you hire a contractor to do major work — a new roof, an addition, rewiring, a foundation repair — your local building department issues a permit. An inspector then visits at key stages to verify the work follows code. If you do unpermitted work and later try to sell, refinance, or file an insurance claim, you may face fines, forced removal of the work, or denial of the claim. The cost of getting a permit is usually far less than the cost of fixing unpermitted work later.

Building codes vary by location. Your city or county has adopted a base code — often the International Building Code (IBC) or International Residential Code (IRC) — and then added local amendments. Some jurisdictions are stricter than others, especially in areas prone to earthquakes, hurricanes, or flooding. Knowing your local code is the contractor's job, but understanding that codes exist and that permits matter is yours.

Key Takeaways

  • Permits are required for most structural work, electrical work, plumbing, HVAC installation, and additions; they are not required for painting, landscaping, or minor repairs.
  • Unpermitted work can prevent you from selling your home, refinancing your mortgage, or collecting insurance after damage.
  • Building codes are set by your city or county and are based on national standards like the International Residential Code, with local variations for climate and hazards.
  • Inspectors visit at specific stages — foundation, framing, electrical rough-in, plumbing rough-in, and final — to verify compliance before work is covered up or finished.
  • The permit process typically takes one to four weeks from process to approval, depending on the scope of work and your jurisdiction's backlog.

What work requires a permit and what doesn't

Most structural, electrical, plumbing, and mechanical work requires a permit. That includes roof replacement, foundation repair, adding a room, installing a new furnace or air conditioner, rewiring a circuit, moving a wall, or replacing windows. The rule of thumb: if the work changes the structure, systems, or safety of the house, it needs a permit.

Work that does not require a permit includes interior painting, landscaping, replacing cabinet hardware, patching drywall, or replacing a faucet with one of the same type. Some jurisdictions allow minor repairs — like fixing a leaking pipe or replacing a damaged board — without a permit, but the definition of "minor" varies. When in doubt, call your local building department and describe the work. They will tell you whether a permit is needed.

Homeowners sometimes skip permits to save money or time, but this creates real risk. If you sell without disclosing unpermitted work, you may face legal liability. If you file an insurance claim for damage to unpermitted work, the insurer can deny it. If you refinance and the lender orders an inspection, unpermitted work can kill the deal. The permit fee is usually a few hundred dollars; the cost of fixing or removing unpermitted work is often thousands.

How the permit process works from start to finish

The process begins when you or your contractor submits an process to your local building department. The process includes plans (drawings of what will be built), a description of the work, the estimated cost, and proof that you own the property or have the owner's permission. For straightforward work like a roof replacement, plans may be minimal. For an addition or major renovation, you may need detailed architectural drawings.

The building department reviews the process to check that the plans comply with local code. This review typically takes one to four weeks, depending on the complexity of the work and how busy the department is. If the plans don't meet code, the department issues a list of corrections. You or your contractor revises the plans and resubmits. Once approved, the department issues the permit and schedules the first inspection.

During construction, inspectors visit at mandatory stages. For a roof, that might be one inspection when the old roof is off and the structure is exposed. For an addition, inspectors check the foundation, the framing, the electrical rough-in (before walls are closed), the plumbing rough-in, and the final result. You or your contractor must call for each inspection; work cannot proceed to the next stage until the previous one passes. Once all inspections pass, the department issues a certificate of occupancy or completion, and the work is officially done.

What building codes actually cover

Building codes address structural safety, fire safety, electrical safety, plumbing and water safety, and accessibility. Structural codes specify how deep footings must be (which depends on soil type and frost depth), how much weight floors and roofs must support, and how to properly frame walls and connections. Fire codes govern the materials used, the spacing of studs, the type of drywall, and the installation of smoke and carbon monoxide detectors.

Electrical codes specify wire gauge, circuit capacity, grounding, the placement of outlets and switches, and how wiring must be protected. Plumbing codes cover pipe materials, slope, venting, and backflow prevention. Energy codes, now part of most building codes, set insulation requirements, window performance, and HVAC efficiency. Accessibility codes require certain features in new construction — grab bars in bathrooms, ramps or step-free entry, accessible routes through the home — though they explore differently to existing homes.

Codes change every few years as standards evolve and new hazards are understood. Your home was built to the code that was in effect when it was built, not the current code. You are not required to retrofit your entire home to meet today's standards. However, when you do work, that work must meet current code. If you replace your roof, the new roof must meet current code. If you add a room, the new room must meet current code. This is called the "scope of work" rule — only the work being done must comply with current standards.

How codes vary by location and climate

Building codes are adopted at the state or local level, not federally. Most jurisdictions adopt the International Building Code (IBC) or the International Residential Code (IRC) as their base, then add amendments. Some jurisdictions adopt the code as-is; others modify it significantly. A few states have their own code.

Climate and hazards drive local amendments. Coastal areas add requirements for wind resistance and flood protection. Earthquake zones require stronger connections between the foundation and frame, and between the frame and roof. Areas with heavy snow loads require steeper roof pitches or stronger framing. Areas prone to wildfires may require fire-resistant materials and defensible space around the home. Areas with poor soil may require deeper or reinforced foundations.

This is why a contractor licensed in one state may not be licensed in another, and why a design that works in one place may not work in another. When you hire a contractor, they should know your local code. If they don't, that's a red flag. You can also contact your local building department to ask what code applies to your work and what the key requirements are.

Dealing with unpermitted work already in your home

If you discover that previous owners did unpermitted work — an addition, a finished basement, rewired circuits, a new bathroom — you have a few options. The safest is to bring the work into compliance by hiring a licensed contractor to inspect it, identify any code violations, and fix them. Once fixed, you can request a retroactive permit and final inspection. This costs money and time, but it removes the liability.

If the work is minor and not visible (like interior wiring that's hidden in walls), some homeowners choose to leave it alone and disclose it to future buyers. This is risky — the buyer may demand it be fixed before closing, or may sue you after purchase if it causes damage. If you plan to refinance or file an insurance claim, the lender or insurer may discover it and deny the transaction or claim.

If you are buying a home and the inspection reveals unpermitted work, negotiate with the seller to either fix it before closing or credit you the cost of fixing it. Do not assume the work is safe just because it's been there for years. Unpermitted work is unpermitted because it was never inspected; you don't know if it meets code.

Hiring a contractor who handles permits correctly

A licensed contractor should handle the permit process as part of their bid. They should include the permit fee in their estimate, submit the process, coordinate inspections, and may support the work passes. Some contractors charge a separate permit fee; others roll it into the labor cost. Either way, it should be clear in writing.

Before hiring, ask the contractor whether they have obtained permits for similar work in your jurisdiction. Ask for references from recent jobs and contact those homeowners to confirm the work was permitted and inspected. If a contractor tells you they can save money by skipping the permit, do not hire them. That's a sign they cut corners elsewhere too.

If you are doing the work yourself, you are responsible for obtaining the permit. Some jurisdictions allow homeowners to pull permits for their own homes; others require a licensed contractor. Call your building department to ask. If you pull the permit yourself, you must be present for inspections and must sign off that the work is complete and meets code. If you later sell the home and the work is found to be defective, you may be liable.

Frequently Asked Questions

Do I need a permit to replace my roof?

Yes, in most jurisdictions. Roof replacement is considered structural work and must meet current code for wind resistance, snow load, and fire rating. The permit process is usually straightforward — the building department reviews the roofing material and installation method — and the inspection is typically one visit after the old roof is removed and the structure is exposed.

What happens if I do work without a permit and don't tell anyone?

If the work is hidden and never discovered, nothing happens. But if you sell the home, refinance, file an insurance claim, or a future owner discovers it, you may face fines, forced removal of the work, or denial of the claim. The risk is not worth the small savings on a permit fee.

Can I get a permit after the work is already done?

Yes, this is called a retroactive permit. You hire a contractor or engineer to inspect the work, document what was done, and verify it meets code. If it does, you can request a retroactive permit and final inspection. If it doesn't, you must fix it before the permit is issued. This is more expensive than getting a permit before work starts.

How long does a permit take?

The review period typically ranges from one to four weeks, depending on the complexity of the work and your jurisdiction's backlog. straightforward work like roof replacement may be approved in a few days. Complex work like an addition may take several weeks. Once approved, inspections are scheduled as work progresses, usually within a few days of your request.

Who pays for the permit and inspections?

The property owner pays for the permit. The fee is usually based on the estimated cost of the work and ranges from a few hundred dollars for straightforward work to thousands for major projects. Inspections are included in the permit fee; you do not pay separately for each inspection visit.