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.
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.
To be recorded as living space, a room also needs the following.
There are three separate costs, and they are paid to three different parties.
| Cost | Paid to | What sets it |
|---|---|---|
| Measuring, drawings, the energy report and the permit application | Your architect | Ceiling 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 permit | The city | The city sets these, and they rise with the value of the construction. |
| Construction | Your contractor | The 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.
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.
Filing puts the room in front of the city, and three things can follow.
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.
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.
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 →