You finished the basement — drywall, carpet, a queen bed — and then the appraiser refuses to count it as a bedroom. Or the city inspector, walking your remodel, tapes a correction to the window in the new guest room. Both are pointing at the same rule: in California, a room people sleep in must have a way out that doesn't depend on the hallway being passable in a fire.
The rule is § R319.1 of the 2025 California Residential Code: basements, habitable attics, rooms open to a sleeping loft, and every sleeping room need at least one operable emergency escape and rescue opening — a window or door big enough to escape through, opening directly to the street side, a yard, or a court that reaches the street. If a basement contains bedrooms, each bedroom needs its own.
The rooms the rule catches
The list in § R319.1 is short but it covers precisely the rooms people improvise:
- Every sleeping room — no matter what the floor plan calls it. Put a bed and a door on a den and it's a sleeping room in the eyes of the inspector.
- Basements — the whole basement needs an opening even without bedrooms, and each basement bedroom needs its own.
- Habitable attics and any room a sleeping loft opens onto.
The opening must lead directly outside — into a public way, or a yard or court that opens to one. An escape route that dumps into the garage doesn't count.
The exceptions worth knowing
§ R319.1 lists five, and three of them matter for typical homes:
- Low basements — a basement with a ceiling under 80 inches isn't required to have an escape opening (it also isn't habitable space you could legally sleep in).
- A door instead — a basement or sleeping room with its own exit door straight to the outside doesn't need a separate escape window.
- Small utility basements — non-habitable basements of 200 square feet or less are exempt.
Exceptions 4 and 5 cover storm shelters and sprinklered homes: where the dwelling has a full automatic sprinkler system, a basement sleeping room can substitute alternative escape-route combinations (one code-compliant exit route plus one escape opening, or two exit routes) under Exception 5. That's a design decision to make with your plans examiner, not a loophole to discover after framing.
"Operable" is half the rule
An opening that exists but can't be used fails. § R319.1.1 requires escape openings to be:
"operational from the inside of the room without the use of keys, tools or special knowledge." — § R319.1.1
That single sentence decides a lot of real-world cases. Child-safety window devices are allowed — but only devices meeting the ASTM F2090 standard, mounted no more than 70 inches above the floor, with the release kept working. Security bars are allowed only with a compliant inside release, plus an approved exterior release for firefighters where the local authority requires it; bars installed since mid-2000 must meet the state's security-bar standards. Painting a window shut, screwing it closed, or padlocking a grille converts a legal bedroom into a violation.
Remodels and additions
Additions get their own subsection: § R319.6 requires an escape opening in each new sleeping room of an addition, and in a new basement — unless the new basement connects to an existing one that already has an opening, or itself contains a bedroom that has one. Smoke-alarm upgrades ride along with remodels too: under the Existing Building Code's § 307.1, most alterations and additions to a home trigger bringing smoke alarms up to current requirements.
Apartment and condo buildings follow the Building Code's parallel rule at § 1031 rather than this one.
What about the size of the window?
The famous minimum dimensions — net clear opening area, height, width and the maximum sill height — live in § R319.2, together with window-well and ladder requirements in the sections that follow. If you're choosing a window for a bedroom conversion, read them before ordering the unit: a slightly-undersized opening is one of the most common (and most expensive) corrections, because the fix is usually a bigger rough opening, not a different latch.
One last reminder: this is the state floor. Cities can amend these rules, and your plan reviewer's reading controls your permit — when a room's status is worth money, ask the building department early.
Sources
- 2025 California Residential Code § R319.1 — Emergency escape and rescue opening required
- 2025 California Residential Code § R319.6 — Dwelling additions
- 2025 California Existing Building Code § 307.1 — Smoke alarms in existing buildings
- 2025 California Building Code § 1031 — Emergency escape and rescue (other buildings)