What Fails a Building Inspection? The Real Reasons, by Trade
A code inspection is not a home inspection. Here are the real reasons permitted work fails an AHJ inspection, by trade, and how to pass a re-inspect.
I spend a lot of my life walking into buildings on the worst day they'll ever have. As a firefighter here in Kansas City, I've pulled apart enough burned-out walls and sagging porches to know that most of what goes wrong was decided years earlier, by somebody who cut a corner nobody ever checked. That's a big reason I built PermitDeck. The inspection everyone dreads is honestly one of the cheapest forms of insurance you'll ever get, because a stranger with a clipboard is looking at your work with fresh eyes before it disappears behind drywall forever.
So when people ask me what fails a building inspection, I want to answer it straight, by trade, using real reasons real inspectors write up. But first I have to clear up the biggest mix-up I hear, because it trips up almost everybody.
Quick Answer: A building (code) inspection is the check an inspector from your local building department, the authority having jurisdiction (AHJ), does on permitted work to confirm it meets the electrical, plumbing, and structural codes your area has adopted. It is NOT a real-estate home inspection. Homes fail most often for a short list of repeat offenders: electrical (GFCI/AFCI protection missing, sub-panel ground and neutral not separated, breakers not labeled), plumbing (no pressure or DWV test, bad pipe bedding, missing tracer wire, reverse-pitched vents), and framing/fastening problems. Failing is common and fixable. You get a correction notice, fix the item, and schedule a re-inspection.
A code inspection is not a home inspection
This is the content gap nobody explains, so let me be blunt about it. The home inspection you pay for when you buy a house and the code inspection your building department does on a permit are two completely different animals.
A home inspector at a sale is giving the buyer a condition report. They tell you the water heater is old or the roof has maybe five years left. What they are specifically NOT doing is judging whether the house meets code. That isn't me guessing. InterNACHI, the big home-inspector association, spells it out in their Standards of Practice: the inspector is not required to determine "compliance with codes or regulations." You can read it yourself at nachi.org.
So here's the trap. A house can sail through a home inspection at closing and still be full of work that would never pass an AHJ permit inspection, because nobody was ever checking it against the code in the first place. When your city inspects permitted work, they are checking one thing: does this meet the adopted code, yes or no. Different job, different standard, different person. If you want the full picture of how the permit process fits together, we walk through it in our guide on how to get a building permit.
What fails electrical inspections
Electrical is where I get personally invested, because bad wiring is one of the leading causes of the house fires my crew responds to. The good news is that inspectors fail the same handful of things over and over, and every one of them is preventable.
Here are the repeat offenders documented by real building departments:
If you're pulling an electrical permit, do yourself a favor and walk the job against a real list before you call it in. We keep an electrician inspection checklist for exactly this. And this is one trade where I strongly push people toward a pro. Our directory of licensed electricians is there so you can find someone who does this every day and knows your local amendments.
What fails plumbing inspections
Plumbing failures are sneaky because most of the work ends up buried, either underground or inside walls. Inspectors know that, which is why so much of a plumbing inspection is about proving the system before it gets covered. The documented fail items look like this:
None of these are exotic. They're the boring fundamentals, and boring fundamentals are exactly what gets skipped when someone is rushing.
What fails building and framing inspections
The framing inspection is the structural one, and it usually happens at the rough stage, before insulation and drywall go up, while the bones of the building are still visible. Inspectors are looking at whether the structure will actually carry its loads and whether everything is fastened the way the code and the plans call for.
In practice, the framing write-ups I see cluster around a few themes:
Decks are their own high-stakes version of this, and I've stood on too many that were one bad connection away from collapse. If you're building or replacing one, read our deck code and permit guide before you frame anything, because the ledger connection and the footings are where deck inspections live and die.
What actually happens when you fail
Here's the part that takes the fear out of it: failing an inspection is normal, and it is not the end of the world. It's a step, not a verdict.
When work doesn't pass, the inspector writes a correction notice listing exactly what needs to change. You fix those items and schedule a re-inspection. Depending on your jurisdiction, a re-inspection may come with a fee, which is a real reason to get it right the first time. But the process is designed to get you to compliant, not to punish you.
Two things make the whole thing go smoother:
The bottom line
Inspections exist for one reason, and it's the same reason I put on the gear: to keep the people inside safe from the stuff they can't see. The list of what fails is short and repetitive precisely because these are the fundamentals, and fundamentals are what get rushed. Know the repeat offenders for your trade, schedule at the right stage, and treat a correction notice as a checklist rather than a failure.
Ready to get it done right? Find a licensed electrician to fix and re-inspect so your permitted work passes clean and stays safe for the long haul.
Frequently Asked Questions
Is a code inspection the same as a home inspection?
No. A home inspection at a sale is a condition report for the buyer, and InterNACHI's own standards say the inspector is not required to determine compliance with codes. A code inspection by your local building department checks permitted work against the adopted code. A house can pass one and fail the other.Who actually does the building inspection on my permit?
An inspector from your local authority having jurisdiction, the AHJ, which is usually your city or county building department. They inspect the permitted work at set stages against the codes your area has adopted. It is a government function tied to your permit, not a service you shop for like a home inspection.What is the most common reason electrical work fails?
Missing GFCI or AFCI protection where the code requires it is one of the most frequent write-ups, along with sub-panel grounds and neutrals not being separated and breakers not being labeled. All three are safety items, and all three are preventable if you check your work against a list before you call for inspection.What happens right after I fail an inspection?
The inspector issues a correction notice listing exactly what to fix. You correct those items and schedule a re-inspection, which in many jurisdictions carries a re-inspection fee. Failing is common and fixable. Treat the notice as a to-do list, fix each item, and get back on the schedule.Why do inspectors care so much about testing plumbing?
Because most plumbing ends up buried underground or inside walls, so a pressure or DWV test is the only honest way to confirm there are no leaks before the work disappears. No test performed is a straight fail. Once it's covered, a hidden leak becomes an expensive tear-out instead of a quick fix.Can I cover work with drywall before it's inspected?
No, and this is the costliest mistake people make. Rough electrical, rough plumbing, and framing are inspected while they're still open and visible. If you drywall over an uninspected rough-in, you may have to cut it back out so the inspector can see the work. Always schedule the inspection at the stage the code expects.Stay safe out there.
Keep reading
The 30% EV Charger Tax Credit Expires June 30, 2026 — What Homeowners Need to Know
The federal Section 30C credit pays 30% of a home EV charger install (up to $1,000) — but only if it is "placed in service" by June 30, 2026. There is also a census tract gotcha that disqualifies a lot of addresses. Here is the straight version.
Cottage Food Laws by State: The Complete 50-State Guide (2026)
Every state now allows some form of cottage food sales — but the rules vary wildly. Wyoming lets you sell $250,000 of homemade dairy and cheesecake. Rhode Island limits you to baked goods. Here's what you can sell, where, and how much in all 50 states.
Do You Need a Permit to Build a Fence? (2026)
Fence permit requirements vary wildly by location. Here's exactly when you need one, when you don't, and what happens if you skip it.
Get weekly cost & permit updates
Join homeowners who get free insights on project costs, permit changes, and money-saving tips. No spam — unsubscribe anytime.
Free forever. No credit card. Unsubscribe in one click.
Get a personalized estimate
Use our free calculators to see what your project will cost in your area — adjusted for your state.
View All Calculators