Situations

Selling a house with code violations or unpermitted work

Applies to United States and Canada

By Sell My House Fast Editorial Team

Published Updated Last reviewed

Checked by our editorial process. How we write and check our guides.

The short answer

In the United States and Canada, a house with code violations or unpermitted work can be sold, but a registered order, a related lien or past work without a permit can surface in the land records and on disclosure forms. Whether past work can be approved later depends on the rules where the house is.

Key takeaways

  • In Ontario, the council of each municipality enforces the Building Code Act, and no one may build or demolish without a permit from the chief building official.
  • In Ontario, an order to comply with the building code can be registered on title, and a later buyer is treated as having been served with it.
  • In Ontario, if a property standards order is not complied with, the municipality may have the work done and then has a priority lien on the land for the amount spent.
  • The Texas disclosure notice asks about work done without necessary permits and about notices of violations of governmental ordinances.
  • The City of Toronto says work started without a needed permit can bring an extra fee, a stop to the work and impacts on selling the property later.

What are code violations and unpermitted work?

They are two different problems that often travel together. Unpermitted work is building work done without a permit the law required. A code violation is a finding by an official that a property breaks the building code or a local property standard, which can lead to an order to fix it.

Ontario’s Building Code Act shows both in statute form. The council of each municipality is responsible for enforcing the Act. No person may construct or demolish a building, or cause one to be built or demolished, unless the chief building official has issued a permit. An inspector who finds a breach of the Act or the building code may order compliance, either immediately or within a time the order sets. 1

Permit rules, fees and procedures differ from place to place, so the examples in this guide are named by place.

How does an open order or violation show up in a sale?

Through the land records, the disclosure form, or both. Ontario’s law shows the first. An order to comply with the building code may be registered in the land registry office. Anyone who later acquires an interest in the land is then treated as having been served with the order on the day it was first served. A property standards order works the same way, and when its requirements are met the municipal clerk registers a certificate that discharges it. 1

Disclosure forms are the second route. The City of Toronto also lists impacts on selling a property among the possible consequences of work done without a needed permit. 2

Other liens on a house, such as judgments and tax liens, are covered in the guide to selling a house with liens or judgments. The guide to title and escrow explains how a US title search finds them.

Can unpermitted work be permitted after the fact?

In some places, through the local building department and on its terms. The City of Toronto, for example, says building permits will only be issued for work that is allowed under the laws and regulations that apply. It lists what can follow when work that needed a permit has already started: 2

  • an extra “work without permit” administrative fee, equal to 50 percent of the permit fees for the project, with a minimum and maximum that the city updates;
  • a delay while the permit application is processed, during which all work must stop;
  • possibly having to undo work, or to do more work than planned, such as additional structural or mechanical work;
  • possible legal or financial issues later, such as impacts on selling the property or making an insurance claim.

Toronto adds that the homeowner is responsible for these fees and penalties, even if a contractor said no permit was needed. 2 Other cities set their own process and fees. Toronto’s list shows that some work may have to be undone rather than approved.

What must a seller disclose about permits and violations?

Where a disclosure form applies, it often asks. In Texas, the seller’s disclosure notice is given for a home with one dwelling unit. It asks whether the seller is aware of room additions, structural modifications or other alterations or repairs made without necessary permits or not in compliance with building codes in effect at the time. It also asks about notices of violations of deed restrictions or governmental ordinances affecting the condition or use of the property. 3

Other states have their own forms and rules. The guide to seller disclosures explains them.

In Canada

Disclosure in Quebec and Ontario

In Quebec, the mandatory form a broker uses for the seller’s declarations asks whether the seller has ever received a notice of non-compliance from an insurer, a municipality or a government, and whether the situation was remedied. For major work or renovations, it asks whether the necessary permits were obtained. 4

In Ontario, the Real Estate Council of Ontario says a seller must disclose latent defects that would make a property unfit for habitation, dangerous or potentially dangerous. 5 A building code order registered under Ontario’s Building Code Act binds a later buyer, who is treated as having been served with it. 1 Whether other unpermitted work must be disclosed is a question for a lawyer licensed in Ontario.

Do code violations affect insurance or a buyer’s mortgage?

They can. The City of Toronto lists problems making an insurance claim among the possible consequences of work done without a permit. 2 The policy’s own terms decide what is covered.

A buyer’s lender looks at the house too. Under FHA rules in the United States, the lender decides which repairs must be made for a property to be eligible for an FHA-insured loan. It must reject the property when defective conditions exist and correction is not feasible. 6 The guides to appraisals and selling a house as-is explain how lender standards can shape a sale.

Can the city fix the problem and charge the owner?

In some places, yes. Under Ontario’s Building Code Act, if a property standards order is not complied with, the municipality may have the property repaired or demolished. It then has a lien on the land for the amount spent, with priority lien status under Ontario’s municipal law. 1 Whether a US city can do the same, and how its charge is collected, depends on state law and the local code.

How long does it take to clear a violation before selling?

No government source that we found publishes a typical time. It depends on the building department’s process, on any inspection or repair it requires, and, for a lien, on the payoff amount and the steps the municipality sets.

Frequently asked questions

Who pays a code enforcement lien when the house is sold?

The sale contract sets it. The Texas resale contract, as one example, provides that at closing there will be no liens, assessments or security interests against the property that will not be satisfied out of the sale proceeds, apart from loans the buyer assumes. In Ontario, a municipality that has work done under an unmet property standards order has a lien on the land for the amount spent, with priority lien status. The guide to selling a house with liens or judgments covers other liens.

The contractor told me no permit was needed. Am I still responsible?

In Toronto, yes. The City of Toronto says the homeowner is responsible for paying the fees or penalties for work done without a permit, even if a contractor said permits were not needed. Other cities set their own rules, and whether the owner can recover the cost from the contractor depends on the contract and the law where the house is.

In Quebec, does a seller have to mention a municipal notice of non-compliance?

When a broker acts for the seller, the mandatory seller declarations form asks whether the seller has ever received a notice of non-compliance from an insurer, a municipality or a government, and whether the situation was remedied. It also asks whether the necessary permits were obtained for major work or renovations. The Civil Code's warranty against latent defects applies whether or not a broker is involved.

In Ontario, how is a registered property standards order removed from title?

Under Ontario's Building Code Act, when the requirements of a registered property standards order have been satisfied, the clerk of the municipality must register a certificate saying so, and that certificate operates as a discharge of the order. Until then, anyone who acquires an interest in the land is treated as having been served with the order.

How each selling option fits this situation

Each rating is a general one, with the reason for it. Whether an option suits a particular sale depends on facts this page cannot know.

  • The cash buyer guide names a house that needs major repairs the owner cannot pay for. A buyer who pays without a loan meets no lender property standards, but one offer has not been tested against others.

  • Reaches buyers on the open market. A buyer who needs a mortgage may be held up, because lender property standards such as FHA's can require repairs before the loan is approved.

  • Saves a listing commission, but the for-sale-by-owner guide says it does not suit an owner unsure what the law requires them to disclose, and permits and violations appear on forms such as the Texas notice.

  • The wholesaler guide names a house in poor repair that the owner cannot or will not fix. The contract may be assigned, and the sale may not close if no end buyer is found.

Sources

The documents this page relies on, in the order they are first used, with the date each was last checked.

  1. Building Code Act, 1992, S.O. 1992, c. 23. Government of Ontario, e-Laws. S.O. 1992, c. 23. Primary source. Checked .
  2. Working without a permit. City of Toronto. Primary source. Checked .
  3. Texas Property Code § 5.008, Seller's Disclosure of Property Condition. Texas Legislature. Tex. Prop. Code § 5.008. Primary source. Checked .
  4. Order C-73.2-2022-09 of the Minister of Finance, with the mandatory real estate brokerage forms attached to it. Éditeur officiel du Québec (Gazette officielle du Québec). M.O. 2022-09, (2022) 154 G.O. 2, 1591. Primary source. Checked .
  5. RECO Bulletin 7.4, Facts a seller has a legal obligation to disclose. Real Estate Council of Ontario. Primary source. Checked .
  6. Handbook 4000.1, FHA Single Family Housing Policy Handbook (update published August 12, 2026). U.S. Department of Housing and Urban Development. Handbook 4000.1. Primary source. Checked .
  7. One to Four Family Residential Contract (Resale), TREC Form 20-19. Texas Real Estate Commission. TREC Form 20-19, paragraphs 5, 6, 7 and 9. Primary source. Checked .
  8. Civil Code of Québec. Éditeur officiel du Québec (LégisQuébec). CQLR, c. CCQ-1991. Primary source. Checked .

Please note

General information, not legal or financial advice

This page describes the rules in general terms as they stood on November 16, 2026. It does not apply them to your circumstances, and the rules can change. For a decision about your own sale, speak to a lawyer licensed in the state or province where the property is, or a licensed financial adviser. Read the full disclaimer.

Key facts

Applies to
United States and Canada
Last reviewed
November 16, 2026
Sources cited
8
Listed above, each with the date it was last checked.

Get connected with a local investor

Not sure which route fits?

Choose where the property is and what best describes your situation. On the next page you can ask to be put in touch with a local real estate investor, who may contact you about buying your home.