San Francisco homes · Updated November 26, 2026

How to legalize an unpermitted room in San Francisco

You legalize an unpermitted room by obtaining a building permit for it and passing the city's final inspection. The city reviews the room as if you were proposing to build it today, so the room must meet the code for living space.

What are the steps?

  1. Find out what the city has on record.Look up the Assessor's room count and the permit history for your address. Our address lookup does this for free. A 3R report from the Department of Building Inspection gives the official version.
  2. Measure the ceiling.Measure from the finished floor to the finished ceiling at each corner, at the center, and under every beam and duct. The lowest number is the one that counts.
  3. Check the other tests.A room needs more than height to be living space. The list is below.
  4. Have the room measured and drawn.The city reviews drawings of the room as it stands and as it will be when the work is done. The permit also requires a Title 24 energy report.
  5. File a building permit application.The application goes to the Department of Building Inspection. This is the moment the city first learns about the room.
  6. Answer the city's plan check.City reviewers send written comments, and the drawings are revised until the permit is approved and issued.
  7. Do the construction.A licensed contractor builds whatever the approved drawings call for. In some rooms that is very little, and in others it is a new window, heat or a fire-rated wall.
  8. Pass the inspections.A city inspector checks the work and signs off the permit. From that day the room is on the record.

How high does the ceiling need to be?

From December 5, 2026, a living room or bedroom in an existing San Francisco building needs a ceiling at least 7 feet high, down from 7 feet 6 inches. Baths, laundries and storage rooms need 6 feet 8 inches. The change is Ordinance 234-26, which amends Housing Code Section 503(a). Read the rule in plain English.

What else does the room need?

To be recorded as living space, a room also needs the following.

  • light and air from a window
  • permanent heat
  • for a bedroom, an escape opening
  • separation from the garage
  • insulation and energy forms
  • smoke and carbon monoxide alarms

What does it cost?

There are three separate costs, and they are paid to three different parties.

CostPaid toWhat sets it
Measuring, drawings, the energy report and the permit applicationYour architectCeiling Check charges a fixed fee, from $3,900 to $9,800. See the fees.
Permit and plan-check fees, and any fee for work done without a permitThe cityThe city sets these, and they rise with the value of the construction.
ConstructionYour contractorThe work the room needs. A room that already has a window, heat and alarms needs far less than one that does not.

Structural engineering is a fourth cost when the work or the city calls for it.

How long does it take?

It depends mostly on the city. We tell you on the call how long the drawings will take for your room. The city's review comes next, and it sets its own pace. Construction and inspections follow the permit.

What are the risks of filing?

Filing puts the room in front of the city, and three things can follow.

  • The city may charge a fee for work that was done without a permit.
  • An inspector may ask to see inside walls or ceilings that were closed without inspection, which adds to the construction.
  • A permitted room goes on the public record, and the Assessor may raise the assessed value.

What if the room is really an in-law unit?

Then a different city process applies. A space with its own entrance and kitchen is a dwelling unit, and the city has a separate program for legalizing units. See how to tell a room from a unit.

What is not settled yet?

One question is open. The ordinance amends the Housing Code, but permits are reviewed under the Building Code, which still lists 7 feet 6 inches for habitable rooms. The Department of Building Inspection has told us it is preparing an information sheet on how the new heights apply when an existing room is converted to living space. We will update this page the day the sheet is published.

Sources

  1. San Francisco Ordinance 234-26, Board File 260623, amending Housing Code Section 503(a)
  2. City and County of San Francisco: Request a Report of Residential Building Record (3R report)
  3. City and County of San Francisco: Legalize a unit in your home

Find out whether your room is a candidate.

Walk an architect through the room on your phone and get a plain answer. The call is free, and nothing is sent to the city.

Book a free 15-minute call →
Ceiling Check, 306 Precita Avenue, San Francisco, CA 94110. Call 415-867-5357. Ceiling Check is a private service and is not part of the City and County of San Francisco. This page gives general information. It is not legal advice.
Privacy. This page asks you for nothing. Bookings are handled by Cal.com. This site uses Google's advertising tag, which sets cookies to measure whether our ads lead to bookings and requests. Our host, WordPress.com, keeps ordinary visit statistics.