The short answer
Your odds: Often a good claimUsually the contractor, if the work failed because it was not done to code or to the contract. Doing work that passes inspection is part of what you paid for, so the fix and the re-inspection are normally on the contractor. The main exception is when the failure came from something outside the contractor's work, such as a hidden condition in your house or a design choice you insisted on.
What to know
- When the contractor's own work fails inspection, the contractor normally fixes it at its own cost.
- Hidden conditions, your own design choices or materials you supplied can shift some of the cost to you.
- Get the inspector's written correction notice; it is your best evidence of what failed and why.
- You may be able to hold back a fair amount for the failed portion while it is corrected, depending on your contract and state.
- Some states treat code violations as grounds for license discipline or consumer protection claims.
On this page
The law, in detailTap a topic to open it.
Do you have a case?
Start with why the job failed. The inspector's correction notice (sometimes called a correction list or failed inspection report) should list each item. Read it with one question in mind: is this a problem with how the contractor did the work, or with something the contractor could not control?
Who usually pays depends on the cause:
- Workmanship or code mistakes by the contractor or its subcontractors: the contractor.
- Work left out that the plans or contract required: the contractor.
- A hidden condition no one could reasonably see before opening walls, such as old wiring: often you, through a written change order, depending on your contract.
- A design you insisted on, or materials you bought yourself, that did not meet code: often you.
- An inspector reading the code differently than a reasonable contractor would: it depends, and you may need to negotiate.
The legal claims that usually apply
Breach of contract. Most home improvement contracts promise work that meets code, either in so many words or because the job requires a permit and inspection. Failing inspection on the contractor's own work is usually a breach, and you can recover the reasonable cost to bring it up to code if the contractor will not.
Breach of implied warranty. Many states imply a promise that repair and remodel work will be done in a good and workmanlike manner. The Texas Supreme Court, for example, held that this promise comes with any job repairing or modifying existing property and that consumers can sue for its breach under the Texas Deceptive Trade Practices Act[1]. Work that does not meet the building code is hard to call workmanlike.
Consumer protection laws. In New Jersey, breaking the state's home improvement regulations, including working without required permits, is an unlawful practice under the Consumer Fraud Act even without intent to deceive, and a homeowner who proves a money loss gets triple damages plus attorney fees[2]. Other states' consumer laws differ, and many do not make triple damages automatic.
License discipline. In Arizona, the Registrar of Contractors can suspend or revoke a license for materially violating building codes[3]. That does not pay you directly, but it gives a contractor a strong reason to fix the work.
What courts have said
The New Jersey case above involved an 82-year-old homeowner whose kitchen remodel was poorly done and done without required permits. The repair cost of $6,830 was tripled to $20,490, plus attorney fees[2]. It is a New Jersey result under a New Jersey law, but it shows how seriously some states treat code and permit violations in home improvement work.
In New York, a contractor that stopped work on an unfinished renovation lost its own claim for more money, and the homeowners were awarded $329,565 for the cost of completing the job and correcting defective work, measured by the fair and reasonable market price[4]. That decision turned on its facts and evidence, but it reflects the usual measure: what it reasonably costs to make the work right.
Not every flaw earns full repair cost. In a Wisconsin case the builder won most of its claim for the unpaid balance: the owners were credited for missing items, but for a wall built in the wrong place they got only the drop in the home's value, which the court found was none, rather than the cost of moving it[5]. Courts there generally allow repair costs for defects that can be fixed without tearing out much finished work. Code failures usually must be fixed to pass inspection, which may help the case for repair cost.
How it works in your state
Who must pull the permit matters, because the permit holder answers to the inspector. In Massachusetts, the contract must list needed permits and say the contractor is responsible for getting them, and it warns that homeowners who pull their own permits are excluded from the state Guaranty Fund. Our page on who is responsible for permits covers this in more detail.
Some recovery funds cover code problems. Virginia's Contractor Transaction Recovery Fund can pay after a court judgment against a licensed contractor for, among other things, intentional building code violations on your home, up to $30,000 per claim. A plain breach of contract does not qualify there.
Pick your state below to see your licensing board, any recovery fund and your small claims limit.
Paying while the work gets fixed
Many contracts tie payments to completed work, so you may not owe payment for failed work until it is corrected. In California, a contractor may not collect payment for work not yet done, and later payments must not exceed the value of the work and materials provided[6]. Other states have their own payment rules, and your contract's payment schedule matters too.
Hold back only a fair amount tied to the failed items, put your reason in writing, and keep paying for work that passed. Holding back far more than the problem is worth can give the contractor grounds to claim you breached first. Our page on withholding payment explains how to do it safely.
If the contractor answers your holdback with a lien threat, stay calm and keep your paper trail clean. A lien claim generally has to match work actually done and money actually owed, and lien rules and deadlines vary by state. Our page on a contractor threatening a lien walks through your options, and a short, factual letter listing the failed items usually helps more than an angry phone call.
Your state's rules, with sources
Pick your state to see the rules that matter here, each linked to its official source.
What to gather
Tick things off as you collect them. Your list stays on this device only.
What to do, step by step
- 1
Get the correction notice in writing
Ask the building department for the written list of failed items and any code sections cited. Keep a copy of the full inspection history.
- 2
Send the list to the contractor in writing
Ask the contractor to correct each item and schedule re-inspection by a specific date at no cost to you. Keep proof of delivery.
- 3
Hold back a fair amount
Pause payment for the failed portion only, and explain why in writing. Keep paying for work that passed.
- 4
Document before anything is covered
Photograph and video the failed items before walls are closed or work is redone, so the record survives the fix.
- 5
Get independent estimates if the contractor refuses
Have another licensed contractor price the corrections in writing. That number becomes the basis of your claim.
- 6
Demand payment and file a complaint
Send a written demand for the correction cost and file with your state licensing board. OwnersBack Dispute Prep can turn your records into a dated timeline, an evidence index and a demand letter you send in your own name.
- 7
Sue for the cost of correction
If the contractor still refuses, you can sue for the reasonable cost to bring the work up to code, in small claims court if it fits your state's limit.
When to talk to a lawyer now
- The failed items involve structure, fire safety, gas or major electrical work.
- The contractor claims the failure was your fault or a hidden condition and refuses to share the cost.
- The permit was pulled in your name as an owner-builder.
- The correction cost is far above your state's small claims limit.
- The contractor has threatened a lien over the money you are holding back.
Turn this into a plan you can act on
We turn your paperwork, photos and messages into a dated timeline, an evidence index, a step-by-step plan and a demand letter. A person on our team checks every one.
Hiring someone new to finish the job? Check their bid for free before you sign.
Common follow-up questions
Who pays the re-inspection fee?
If the work failed because of the contractor's mistakes, re-inspection fees are usually treated as part of the contractor's cost to make the work right. Check your contract, since some address inspection fees directly. If it is silent, ask the contractor in writing to cover them.
What if the permit is in my name?
If you pulled the permit as an owner-builder, the building department may look to you to fix the work, and some state protections may not apply. You can still have a contract claim against the contractor whose work failed. See our page on a permit pulled in your name.
The inspector found an old problem the contractor did not create. Who pays?
Usually you, if the problem existed before the job and was not part of the contractor's scope. The fix is often handled by a written change order with an agreed price. Get that in writing before the extra work starts.
Can I fire the contractor if the work keeps failing?
Repeated failures can be a serious breach, but firing a contractor carries risk if you do it without proper notice. Give written notice, a reasonable chance to correct, and keep records. See code violations in contractor work for more on building your record.
Laws and cases on this page
Each one was read on its source and checked on November 19, 2026.
- 1
Court decision · TX · Supreme Court of Texas
Melody Home Manufacturing Co. v. Barnes, 741 S.W.2d 349 (Tex. 1987)
What it says
The Texas Supreme Court held that when someone is hired to repair or modify existing property, the law implies a promise that the work will be done in a 'good and workmanlike manner,' and consumers can sue for breach of it under the Texas Deceptive Trade Practices Act. It defined good and workmanlike as the quality of work of someone with the needed knowledge, training or experience, done in a way people able to judge such work would consider proficient.
Keep in mind: Texas case decided under the Texas Deceptive Trade Practices Act. The opinion said this warranty may not be waived or disclaimed, but in Gonzales v. Southwest Olshan Foundation Repair Co. (2013) the Texas Supreme Court held it can be superseded when the contract itself spells out how the work will be done or its quality. Other states may differ.
- 2
Court decision · NJ · Supreme Court of New Jersey
Cox v. Sears Roebuck & Co., 138 N.J. 2, 647 A.2d 454 (1994)
What it says
An 82-year-old homeowner hired a large retailer to remodel the kitchen, and the work was poorly done and done without required permits. The New Jersey Supreme Court held that breaking the state's home improvement regulations is an unlawful practice under the Consumer Fraud Act even without intent to deceive, and a homeowner who proves a money loss gets triple damages plus attorney fees; even without a provable loss, the homeowner may recover reasonable attorney fees and costs.
Keep in mind: New Jersey case under the New Jersey Consumer Fraud Act and its home improvement regulations. Here the repair cost of $6,830 was trebled to $20,490. Other states' consumer laws differ, and many do not make triple damages automatic.
- 3
Statute · AZ
Ariz. Rev. Stat. § 32-1154
What it says
In Arizona, the Registrar of Contractors can suspend or revoke a license for abandoning a contract without legal excuse, for departing from plans or specifications in a material way without the owner's consent, and for materially violating building codes. A complaint that a contractor failed to work in a professional and workmanlike manner can trigger an investigation.
Keep in mind: This section is about license discipline by the state, not a private lawsuit for money. The Registrar can suspend or revoke a license and, for some violations, impose civil penalties. Deadlines for filing a complaint are not in this section, so check the Registrar's complaint rules (A.R.S. § 32-1155) before relying on it.
- 4
Court decision · NY · New York Supreme Court, Appellate Division, Second Department
Home Construction Corp. v. Beaury, 2017 NY Slip Op 02628 (App. Div. 2d Dept. 2017)
What it says
A contractor renovating a house worked without a signed contract, then stopped work with the job unfinished. The court dismissed the contractor's claim for more money because it did not prove the value of its work, and it awarded the homeowners $329,565 for the cost of completing the work and correcting defective work, measured by the fair and reasonable market price.
Keep in mind: New York intermediate appellate decision that turned on its facts and the evidence each side presented. New York General Business Law section 771 requires home improvement contracts to be in writing, but the court noted a contractor may still try to recover the reasonable value of its work. Other states may differ.
- 5
Court decision · WI · Supreme Court of Wisconsin
Plante v. Jacobs, 10 Wis. 2d 567, 103 N.W.2d 296 (1960)
What it says
A builder sued homeowners for the unpaid balance on a new house. The court held that 'substantial performance' of a house contract does not require perfection, so the builder could recover the contract price minus the owners' damages, and for a living-room wall built in the wrong place the owners' damages were measured by any drop in the home's value rather than the cost of moving the wall.
Keep in mind: Wisconsin Supreme Court case, and the builder won. It turned on its facts: missing items such as kitchen cabinets and gutters were credited to the owners, while the wall, built more than a foot out of place, was found to cause no loss in market value, and the owners had not asked for it to be fixed during construction. Repair costs are generally allowed for defects that can be fixed without tearing out a substantial part of the finished work; where a fix would mean major demolition, the owner may get only the drop in value. If the contract makes every detail essential, a stricter standard may apply. Other states may differ.
- 6
Official guidance · CA
CSLB Industry Bulletin #22-14, Progress Payment Restrictions (Cal. Bus. & Prof. Code § 7159.5)
What it says
In California, a contractor may not collect payment for work that has not been done yet or for materials that have not been delivered; later payments must not exceed the value of the work and materials provided. The licensing board says a violation of section 7159.5 on down payments and progress payments is punishable as a misdemeanor and can also lead to board discipline.
Keep in mind: This is the licensing board's 2022 bulletin explaining the law, not the statute text itself. It describes home improvement contracts; check the current statute for exact wording and exceptions.
Read next
Legal information, not legal advice
This page explains the law in general terms so you can understand your options. It isn't legal advice for your situation, and reading it doesn't create an attorney-client relationship. Laws change and differ by state, and the facts of your case matter. OwnersBack isn't a law firm. Before you sue, sign a settlement, or miss a deadline, talk to a licensed attorney in your state.