After-the-Fact Permit Cost: How to Legalize Unpermitted Work
By Marcus Reeves, Head of Permit Research at PermitGrab · Updated daily from official city records · Last permit filed: today
An after-the-fact permit (also called a "permit to legalize" or "retroactive permit") typically costs 2-4× the normal permit fee, plus inspection costs to verify the existing work, plus any rework needed to bring it up to current code. A $300 permit becomes $1,000-$1,500. Worst case (where the work has to be partially torn out to inspect): tens of thousands of dollars. This guide covers when after-the-fact permits are an option, when they're not, and how to budget for them.
What is an after-the-fact permit?
It's a permit you apply for after the work is already done. The city issues it retroactively, certifying that the completed work complies with code. Most homeowners pursue an after-the-fact permit in one of three situations:
- Buying a property with unpermitted work. Home inspection reveals an addition, a finished basement, a converted garage, or an enclosed patio that was never permitted. To close the sale (or to insure the property fully), you legalize it.
- Selling a property with unpermitted work. Discovered during pre-listing inspection. The seller decides to clear the permits before listing to avoid scaring buyers.
- City discovery during another permit. You file a permit for new work; the plan reviewer spots that the existing setup was never permitted. The new permit gets held up until the old work is legalized.
How after-the-fact permit fees are structured
Most cities charge a "penalty multiplier" on top of the normal permit fee. Typical structures:
| City | After-the-fact multiplier | Notes |
|---|---|---|
| Los Angeles, CA | 2× normal fee | Plus separate Building & Safety violation closeout |
| San Jose, CA | 2× normal fee | Investigation fee added if Code Enforcement was involved |
| Phoenix, AZ | 2-3× normal fee | "Investigation fee" on top |
| Austin, TX | 3× normal fee | "Investigation fee" same as permit fee |
| Miami-Dade, FL | 4× normal fee | Hurricane code re-review required |
| Chicago, IL | 2× normal fee | Plus separate Code Enforcement penalty if applicable |
| NYC | Variable | DOB ECB violations + ALT-1 filing; can be $5K-$50K+ |
The hidden cost: inspection of existing work
Beyond the multiplied permit fee, the city has to verify that the as-built work complies with code. Three scenarios:
- Best case — finishes intact, work visible: Inspector can verify electrical/plumbing/structural from accessible vantage points. No additional cost.
- Common case — selective demolition required: Inspector needs to see specific elements that are now hidden (e.g., framing behind drywall, plumbing under finished tile). You hire a contractor to expose the work, get inspections, then re-finish. Cost: $500-$5,000 per area.
- Worst case — work was non-compliant: Inspector finds something not to code (insufficient framing, wrong electrical wiring, missing structural connector). You have to fix it before legalization is approved. Cost: thousands to tens of thousands depending on what's wrong.
When after-the-fact legalization isn't possible
Some unpermitted work can't be legalized. Common dead ends:
- Setback or zoning violations. If the addition was built within the required setback (e.g., 5 feet from property line where city requires 10), no permit will be issued. The unpermitted work has to be removed.
- Lot-coverage exceedance. If the as-built structure pushes the property over its allowed lot coverage or floor-area ratio, you can't legalize without a zoning variance (which can take 6-18 months and isn't guaranteed).
- Habitable space without legal egress or ceiling height. A basement bedroom without a code-compliant egress window can't be legalized as habitable space. You can demote it to "storage" or build the egress.
- Habitability in a non-residential zone. Converting a garage to a guest unit in a zone that doesn't allow ADUs — no path forward without re-zoning.
What happens if you skip the after-the-fact permit?
Three real outcomes:
- Insurance claim denied. If the unpermitted work is the source of damage (electrical fire from unpermitted wiring, plumbing flood from unpermitted bathroom), most carriers deny the claim.
- Home sale falls apart. Most buyers' lenders require all material work to be permitted. Title-insurance underwriters increasingly flag unpermitted work. Some markets (California, NYC) see 15-30% of sales delayed or fall through because of unpermitted issues.
- City discovery. Aerial imagery, neighbor complaints, or routine assessments can flag unpermitted work years after completion. The city issues a violation; you legalize or remove. The earlier you legalize voluntarily, the less the penalty.
How long does the after-the-fact permit process take?
Routine cases: 2-4 months. Cases requiring zoning review or significant rework: 6-18 months. Cases involving the city's code enforcement division because of an open violation: depends on the violation hearing schedule.
How do I find a contractor experienced in legalization work?
Look for contractors who pull legalization-flag permits regularly. In most cities, the permit record indicates "after-the-fact" or "permit to legalize" as the permit type. PermitGrab indexes permits across 1,000+ cities — filter for after-the-fact or legalization permit types to see contractors with relevant experience. Browse cities or start your 14-day Pro trial ($0 today, cancel anytime).
For the bigger picture on permit costs and city-by-city comparisons, see Building Permit Fees by City — 2026 Comparison.
Get the Full After-the-Fact Permit Cost Database
Every contractor. Every permit. Every violation. Every property owner. Updated daily.
Start Free Trial — $149/mo Browse all cities →More Building Permit Reports
- Solar Leads from Building Permits: FAQ
- Insurance Leads from Building Permits: FAQ
- Building Permit Data for Real Estate Investors: FAQ
- Contractor Leads from Building Permits: FAQ
- Construction Supplier Leads from Building Permits: FAQ
- Lead Generation from Building Permits: The Complete FAQ
- Are Building Permits Public Record? How to Look Them Up Free
- How to Find Contractors Who Pulled Building Permits
- Do I Need a Permit to Replace My Roof?
- How Much Do Contractor Leads Cost?
- Permit Data 101: How to Read and Use Building Permit Records
- Building Permit Fees by City — 2026 Comparison
- How Much Does a Certificate of Occupancy Cost in NYC?
- San Jose Building Permit Fees: 2026 Guide
- BuildZoom vs Shovels vs Construction Monitor vs PermitGrab
- How Much Do Solar Leads Cost in 2026? (Full Pricing Breakdown)
- Exclusive vs Shared Solar Leads — Which Actually Converts Better?
- Permit-Based Solar Leads vs Form-Fill Leads — A 2026 Comparison
- How Much Do HVAC Leads Cost in 2026?
- How Much Do Roofing Leads Cost in 2026?
- Storm Damage Leads for Roofers — The Permit Playbook
- Every HVAC Lead Source Compared in 2026
- Every Solar Lead Source Compared in 2026