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.

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