San Francisco Code Enforcement Guide for Homeowners and Sellers
- Code violations, notices, abatement orders: we buy it as-is
- Zero fees, zero commissions, zero closing costs
- No obligation: turn the offer down and owe us nothing
Violation on Your San Francisco House? Sell As-Is for Cash
A notice from the city does not have to stop a sale. Tell us about the house and get a written cash offer.
Last updated November 13, 2026. Reviewed by the Cash Home Buyers CA team. Information comes from SF.gov and the San Francisco Department of Building Inspection; sources are listed at the end.
In San Francisco, the Department of Building Inspection’s Code Enforcement unit investigates complaints of building and housing code violations and compels building owners to fix them. If an inspector has found a problem at your house, the process starts with a Notice of Violation.
San Francisco code enforcement at a glance
| Who handles it | Department of Building Inspection (DBI), Code Enforcement and Inspection Services |
| What can be reported | Construction, electrical, plumbing, living conditions and disability access problems |
| First step if a violation is found | A Notice of Violation describing the violation and the corrections needed |
| Time to fix | Stated on your Notice of Violation |
| If the problem continues | A Director’s Order of Abatement |
| Who to call with questions | The inspector named on your Notice of Violation |
| Check status | The DBI permit tracking system covers building permit applications and property complaints |
How does a San Francisco Notice of Violation work?
A Notice of Violation, or NOV, can follow a complaint about a building or an inspection. It describes the violation and lists the corrections you need to make, with a deadline stated on the notice.
Read it carefully, note the deadline and contact the inspector named on the notice if you have questions. The city says that if there is still a problem after that, the matter can escalate to a Director’s Order of Abatement.
How do I check a violation or complaint on a San Francisco property?
DBI’s permit tracking system lets you look up both building permit applications and property complaints. Before you list a house, run the address there, and pair it with a permit history check, since a complaint often points to work done without a permit. Our San Francisco building permits guide covers the record tools.
How code violations affect selling a house in San Francisco
An open violation does not legally block a sale, but it stays with the property. Buyers’ inspectors can find it, lenders may want it resolved, and in California sellers generally have to disclose known problems.
Fixing violations before listing costs money and time, and a traditional buyer may still ask for a discount. A cash buyer can purchase the house with the violation open and price the repair into the offer.
How to sell a house in San Francisco with a code violation
- Read the Notice of Violation and note the deadline. It states the time you have to correct the problem.
- Check the complaint status. Confirm what the city shows as open.
- Get repair costs. Compare fixing it, selling with a credit, and selling as-is.
- Disclose honestly. A cash offer does not change what you must disclose, but it removes repairs and inspections from the timeline.
We buy San Francisco houses as they are, with no repairs, cleaning or showings. Read how selling a house as-is in San Francisco works, or see our San Francisco cash-offer process. For extra units see our San Francisco zoning and ADU guide.
Dealing with a city notice and a deadline? Call (424) 435-2326 or request a cash offer. There is no cost and no obligation.
From complaint to Director’s Order: how a San Francisco case escalates
The Department of Building Inspection describes a simple ladder. A complaint or inspection leads to a Notice of Violation that describes the problem and the corrections required, with a deadline written on the notice.
If the problem continues after that deadline, the matter can escalate to a Director’s Order of Abatement. For a seller, the practical lesson is that the Notice of Violation is the cheapest moment to act.
Once a case reaches an abatement order, the file becomes more visible to buyers, title companies and lenders.
DBI’s Code Enforcement and Inspection Services unit handles complaints about construction, electrical, plumbing, living conditions and disability access. That range means a notice at a San Francisco house can come from many directions: a neighbor reporting work without a permit, a tenant reporting a habitability problem, or an inspector who saw something while on site for another reason.
Running the address before a buyer does
DBI’s permit tracking system covers both permit applications and property complaints, so one search shows whether there is an open complaint, a notice or a permit that was never closed. Do this before you list, and print the results.
Buyers’ agents in San Francisco routinely pull the same records, and a seller who already knows what is on file can explain it, price for it and avoid a renegotiation after inspection.
If the record shows a complaint you did not know about, call the inspector named on the Notice of Violation. The inspector can tell you what correction would close the case and whether the deadline can be discussed. Get any answer in writing, because a verbal assurance does not help an escrow officer.
Selling with an open San Francisco violation: a checklist
- Copy the Notice of Violation and highlight the deadline.
- Look up the address in DBI’s permit tracking system for complaints and open permits.
- Identify whether the violation involves unpermitted work, living conditions or access.
- Get a contractor estimate for the correction named on the notice.
- Disclose the open matter on the Transfer Disclosure Statement and in any addendum your agent or escrow requires.
- Decide whether to correct it, sell with a credit, or sell as-is for cash.
Tenant-occupied buildings add a layer, because living-condition complaints often come from occupants. The statewide tenant-occupied sale guide explains how tenancy continues through a sale.
More San Francisco seller questions
Does a Notice of Violation stop me from selling?
No law prevents a sale because a notice is open, but the notice stays on the property record and will be found during escrow. Plan for how you will address it rather than hoping it goes unnoticed.
Who do I ask about a deadline on my notice?
DBI says to contact the inspector named on your Notice of Violation. Ask for any extension or clarification in writing.
San Francisco code enforcement FAQ
What is a Notice of Violation in San Francisco?
It is the written notice DBI issues when an inspector finds a building or housing code violation. It describes the violation and the corrections you need to make.
What happens if I do not fix a San Francisco code violation?
If there is still a problem after the Notice of Violation, DBI can issue a Director’s Order of Abatement. Contact the inspector named on your notice if you have questions.
Can I sell a house in San Francisco with an open violation?
Yes. An open violation does not legally stop a sale, but it can slow a traditional one. A cash buyer can purchase the house as-is.
What problems can I report to San Francisco DBI?
The city accepts complaints about construction, electrical, plumbing, living conditions and disability access.
Sources
- SF.gov: Code Enforcement at DBI
- SF.gov: Notice of Violation (NOV)
- SF.gov: Fix your building and housing code violation
- SF.gov: Report a building problem
This guide is general information, not legal advice. Rules and penalties change; confirm requirements with the San Francisco Department of Building Inspection.
From the Blog
Latest guides for California home sellers
-

California’s Judicial Foreclosure Redemption Right: The One-Year Window Most Owners Never Hear About
California's rarer judicial foreclosure process comes with a statutory right to redeem the property for up to a year after the sale…
Read the guide → -

Santa Clara County’s Tax-Defaulted Property Auction: How to Claim the Excess Proceeds
When a Santa Clara County home isn't redeemed within the state's deadline, the county can sell it at public auction — and…
Read the guide → -

Pomona’s Rent Stabilization Ordinance Just Became Permanent: What Landlords Must Do Before Selling
Pomona's Ordinance No. 4359 became permanent on January 1, 2026, replacing the city's prior urgency ordinances and capping most rent increases at…
Read the guide → -

Compton’s Substandard Building Ordinance, Explained
Compton can order a dangerous or substandard house secured, repaired, or demolished under Municipal Code Chapter 14, and if the owner misses…
Read the guide → -

Chico’s RECO Inspection: What Sellers of Older Homes Must Fix Before Closing
Chico requires sellers of homes built before July 1, 1991 to pass a RECO energy and water retrofit inspection — or transfer…
Read the guide → -

Emeryville’s Just Cause Eviction Ordinance: Relocation Pay Under Municipal Code 5-40
Emeryville had its own just-cause eviction and relocation-assistance ordinance years before California’s statewide AB 1482 existed, and the local rule is still…
Read the guide → -

Malibu’s Six-Year Rebuild Deadline After the Palisades Fire: Municipal Code 17.60.020(C)
Malibu homeowners rebuilding after the January 2025 Palisades Fire have a hard deadline most residents outside the city have never heard of:…
Read the guide → -

California’s Security Deposit Cap: How AB 12 Limits What Landlords Can Collect
AB 12 caps most California security deposits at one month's rent, with a narrow exception for small landlords — plus new 2025…
Read the guide → -

California Civil Code §4525: The 11 HOA Documents You Must Hand a Buyer Before Closing
California Civil Code §4525 requires sellers inside an HOA to hand buyers 11 specific documents before closing — a list that just…
Read the guide →
