A room counts as a legal bedroom in New York City only if it meets minimum standards for size, ceiling height, window area, ventilation, egress, and heat, and only if the building’s Certificate of Occupancy actually approves the space for sleeping. The legal bedroom requirements in NYC come from three overlapping sources: the Building Code, the Housing Maintenance Code, and the state Multiple Dwelling Law. The most common dealbreaker is windows. A room without a window opening directly to a street, yard, or court cannot be a legal bedroom, no matter how large or well-finished it is.
Minimum Size
Every habitable room must contain at least 80 square feet of floor area, with no horizontal dimension shorter than 8 feet. A room measuring 7 by 12 feet fails even though its total area exceeds 80 square feet, because one side falls under the 8-foot minimum.1New York City Administrative Code. NYC Administrative Code 27-751 – Minimum Dimensions of Habitable Rooms
Apartments with three or more bedrooms get one break. Up to half the bedrooms may be as small as 60 square feet, with a minimum horizontal dimension of 7 feet. In a four-bedroom apartment, two rooms could be 60 square feet; the other two still have to hit 80.1New York City Administrative Code. NYC Administrative Code 27-751 – Minimum Dimensions of Habitable Rooms
Older multiple dwellings built before April 1929 fall under the Housing Maintenance Code, which sets the same 80-square-foot floor for rooms with 8-foot ceilings. Where ceilings reach 9 feet, a bedroom in one of those buildings can be as small as 70 square feet.2UpCodes. NYC Administrative Code 27-2074 – Minimum Room Sizes
Ceiling Height
Habitable rooms need a ceiling height of at least 8 feet, measured from finished floor to finished ceiling. Hallways can drop to 7 feet 6 inches, and kitchens and bathrooms to 7 feet.3New York City Administrative Code. NYC Building Code 1208.2 – Minimum Ceiling Heights
Basements get slightly different treatment. In a one- or two-family home, a habitable basement room needs only 7-foot ceilings. In a multiple dwelling, a basement room may have up to four ceiling beams crossing it, provided no beam is wider than 12 inches or drops more than 6 inches below the ceiling line.3New York City Administrative Code. NYC Building Code 1208.2 – Minimum Ceiling Heights
Windows and Ventilation
This is where the largest number of rooms fail. The Multiple Dwelling Law requires every bedroom to have at least one window opening directly onto a street, a legal yard, or a court. A window facing an enclosed airshaft or opening into another room does not count.4New York State Legislature. New York Consolidated Laws, Multiple Dwelling Law – MDW 30 – Lighting and Ventilation of Rooms
The total glazed area of the room’s windows must equal at least one-tenth of the floor area, and each window must be at least 12 square feet. For an 80-square-foot bedroom, that means a minimum of 8 square feet of total glass, with no individual window smaller than 12 square feet. At least half of the required window area must open, giving the room operable ventilation equal to at least 5 percent of its floor area.4New York State Legislature. New York Consolidated Laws, Multiple Dwelling Law – MDW 30 – Lighting and Ventilation of Rooms
A room that depends entirely on mechanical ventilation or on a skylight generally does not qualify. The law assumes sleeping spaces need direct outdoor air, not conditioned airflow from an HVAC system.
Egress and Fire Safety
Every room must have a clear, unobstructed path to at least one exit or to a corridor leading to two exits. No room can be arranged so that reaching a corridor forces you through another room, with one exception: within a single dwelling unit, a room may open into another room if that second room leads directly to a corridor or exit.5New York City Administrative Code. NYC Administrative Code 27-365 – Egress from Rooms and Spaces
Where a fire escape serves as a secondary exit, the window leading to it must be large enough for an adult to pass through and easy to reach. Any window gate or security bar on a fire escape window needs a certificate of approval from the FDNY and must open from inside with a single motion, without a key, tool, or special knowledge.6UpCodes. NYC RCNY Title 3 – Fire Department 1025-01 – Fire Escape Window Gates and Similar Security Devices
Landlords in multiple dwellings must install at least one working smoke detector in every apartment. In Class A buildings (three or more units), each detector must sit within 15 feet of every sleeping room’s entrance. Carbon monoxide detectors follow the same placement rules in any building with a fuel-burning appliance like a gas stove or boiler. The landlord installs the devices; tenants in Class A buildings reimburse the owner up to $25 for a standalone detector, $50 for a combined smoke and carbon monoxide unit, or $75 for a triple-combined unit. After installation, the tenant is responsible for monthly testing and battery replacement.7Housing Preservation and Development. Detectors – HPD
Heat
A room without adequate heat is not habitable, and a room that is not habitable cannot be a legal bedroom. The Building Code requires residential heating systems to maintain at least 70 degrees Fahrenheit in every habitable room when outdoor conditions hit 5 degrees Fahrenheit with 15 mph winds. Portable space heaters do not satisfy the requirement.8New York City Administrative Code. NYC Administrative Code 27-740 – Heating Requirements
The heat source does not have to be inside the bedroom. Radiators, baseboard heaters, or central forced-air systems all count, so long as the room actually reaches and holds the required temperature. A bedroom with no heat source that relies on warmth drifting in from adjacent rooms is a common violation in older buildings.
Layout and Access
A bedroom should be reachable from a common area like a hallway without walking through another person’s sleeping space. Classic railroad apartments run into trouble here. In a railroad layout, the middle room has no access except through the front or back room, and that middle room might meet every size, window, and ceiling standard while still failing as an independent legal bedroom because it lacks private access.
A bathroom must also be reachable without passing through a bedroom. If the apartment’s only bathroom sits behind a bedroom door, every resident has to enter that bedroom to use it, which creates both a privacy and an egress problem.
One persistent myth: New York City does not require a closet for a room to count as a bedroom. Nothing in the Building Code or Housing Maintenance Code conditions bedroom status on closet space. Closet rules do appear in state regulations for publicly subsidized housing, but those apply only to that specific housing type, not to NYC apartments generally.9New York Codes, Rules and Regulations. 9 CRR-NY 1610.4 – Dwelling Units
Basements and Cellars
Whether a below-grade space can ever be used for sleeping turns on whether it is a basement or a cellar. A basement has at least half its height above the curb level. A cellar has more than half its height below curb level. Cellars in one- and two-family homes can never be lawfully occupied for sleeping, eating, or primary living.10Housing Preservation and Development. NYC Housing Preservation and Development – Basements and Cellars
Basements can potentially serve as legal bedrooms, but only if they meet every above-grade standard plus stricter rules on ceiling height above curb level, window area, and moisture-proofing of walls and floors. New law tenement basement rooms, for example, need 9-foot ceilings, and their window area must reach at least one-eighth of the floor area.11New York State Senate. New York Consolidated Laws, Multiple Dwelling Law – MDW 34 Both HPD and the Department of Buildings can inspect for illegal basement or cellar occupancy, issue violations, and order occupants to vacate. Property owners get liened for any costs the city incurs, including emergency housing for displaced tenants.10Housing Preservation and Development. NYC Housing Preservation and Development – Basements and Cellars
The picture changed in December 2024, when the City Council adopted the City of Yes for Housing Opportunity zoning reform. That reform formally defined accessory dwelling units and lets owners of detached, semi-detached, or semi-attached one- or two-family homes convert basement space into a legal dwelling unit, provided the space already meets ceiling height requirements before conversion and sits outside FEMA’s Special Coastal Risk District. Homes must also be free of existing housing or building code violations, or the owner must commit to resolving them before construction finishes. The program offers a formal path to legalize basement apartments, but any converted space still has to meet every bedroom standard covered above.12Housing Preservation and Development. Plus One Ancillary Dwelling Unit (ADU) Program
How to Verify a Legal Bedroom
The most reliable way to check whether a room is a legal bedroom is to pull the building’s Certificate of Occupancy. The CO states the approved use and permitted occupancy for each floor. If the CO lists an apartment as a one-bedroom and the landlord is advertising two, one of those rooms was never approved for sleeping. You can search by address in the Department of Buildings’ Building Information System for older records, or in DOB NOW for COs issued on or after March 1, 2021.13NYC Department of Buildings. Certificate of Occupancy – Buildings
No one may legally occupy a building until DOB has issued a CO or a Temporary Certificate of Occupancy. If a landlord cannot produce a CO or the CO does not match the advertised layout, treat it as a red flag. Brokers sometimes describe a living room as a “flex” bedroom or an alcove as a “junior fourth,” but those labels carry no legal weight. What matters is what the CO says and whether the room meets every code requirement.
What Happens if a Bedroom Is Not Legal
Tenants living in an illegal bedroom face real consequences. If HPD or DOB inspects and finds an illegal occupancy, the agency can issue a vacate order. The city may provide temporary relocation services, including emergency housing, but those costs get liened against the owner.10Housing Preservation and Development. NYC Housing Preservation and Development – Basements and Cellars
For a landlord, renting out an illegal bedroom means exposure to housing code violations, vacate orders, and the full cost of relocating displaced tenants. Repeat or hazardous conditions can escalate to hazardous-class violations with daily penalties that accumulate until the condition is corrected.
If you are already renting an apartment where a bedroom turns out not to be legal, you can file a complaint with HPD online or by calling 311. Rent-stabilized tenants who lose habitable space to code violations can apply to the Division of Housing and Community Renewal for a rent reduction, which stays in place until the landlord corrects the condition and DHCR restores it.