San Francisco Code Enforcement Guide for Homeowners and Sellers

California Cash Home Buyers
Cash Offer in 24 Hours
  • 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.

Call or Text  (424) 435-2326


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 itDepartment of Building Inspection (DBI), Code Enforcement and Inspection Services
What can be reportedConstruction, electrical, plumbing, living conditions and disability access problems
First step if a violation is foundA Notice of Violation describing the violation and the corrections needed
Time to fixStated on your Notice of Violation
If the problem continuesA Director’s Order of Abatement
Who to call with questionsThe inspector named on your Notice of Violation
Check statusThe 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.

Got a notice from the city?
You do not have to fix everything before you sell. A cash buyer takes the house as it is, violations included.
Get My Cash Offer →

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

  1. Read the Notice of Violation and note the deadline. It states the time you have to correct the problem.
  2. Check the complaint status. Confirm what the city shows as open.
  3. Get repair costs. Compare fixing it, selling with a credit, and selling as-is.
  4. 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

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