What Legally Counts as a Bedroom — Size, Egress, Light & Heat
The code never uses the word “bedroom” the way listings do. A room qualifies as a sleeping room when it clears five separate IRC thresholds — and a closet is not one of them.
Worth knowing
- No IRC provision requires a closet. Closet-as-bedroom-test is a real-estate convention, not code.
- Passing through one bedroom to reach another is a layout red flag for appraisers but is not prohibited by the IRC; the escape opening rule is what usually kills interior rooms.
- Basement bedrooms are the classic failure: the room is big enough but the window is too small or the sill too high. See the egress windows guide.
- Smoke alarms are required in each sleeping room and outside each sleeping area — adding a bedroom triggers alarm work (R314).
Sections cite the 2021 International Residential Code and 2023 National Electrical Code as model standards. This is BuildSpec’s own summary — not ICC or NFPA text; read the authoritative language at codes.iccsafe.org. Your state may be on a different edition with amendments — check your jurisdiction page or get an Address Report.