What is a railroad apartment in NYC?
A railroad apartment is an NYC layout where the rooms sit in a straight line, each opening directly into the next with no hallway. To reach the rooms at the far end, you walk through the ones in between. The word describes the floor plan and has no legal definition.
Checked against city housing code, state law and NYC Buildings Department pages on November 20, 2026
- No legal definition of "railroad"
- 1 window what most rooms used for sleeping need
- 80 sq ft of livable floor area per person under the city's occupancy limit
How do I spot one in a listing?
Check the floor plan first, because a railroad is long and narrow with doorways lined up straight through the middle. Windows usually sit only at the front and back ends. Some listings say "railroad" outright, while others call the unit a two- or three-bedroom and leave you to spot the pass-through rooms on the plan or at the viewing.
What does it mean for roommates?
Living with roommates in a railroad usually means someone has to walk through another person's room to reach theirs, the kitchen or the bathroom. Before you agree on who takes which room, check:
- Which rooms have doors that close, and which only have open doorways.
- Where the bathroom is, and whose room you pass through to reach it.
- Which rooms lie on the way to the front door.
The city also caps how many people may live in an apartment. The Housing Maintenance Code allows one person for each 80 square feet of livable floor area. The kitchen counts toward that area, while halls, foyers and bathrooms don't.
Splitting rent with people you haven't lived with before? See how to find a room.
Is a bedroom without a window legal?
A windowless bedroom is usually illegal in NYC, since state law counts any room used for sleeping as a "living room" that needs a window. The exact rule depends on how the building was built:
| Building type | What a room used for sleeping needs |
|---|---|
| Put up after April 18, 1929 | A window onto a street, a yard or a court |
| Old law tenement (existing before April 12, 1901) | A window onto a street, a yard, a court or a shaft, or onto open air above a neighboring roof |
| Converted dwelling, such as a former single-family house | A window, or else an unbroken opening of at least 32.5 square feet into a room that has a proper window |
Required windows generally must add up to at least a tenth of the room's floor area. A door into a room that has a window doesn't count as the room's own light. The Department of Buildings tells renters to avoid apartments with rooms that have no windows or very small ones.
What should I check at the viewing?
Walk the full length of a railroad apartment during your tour and verify four things before you apply.
- Stand in each room meant for sleeping and find its own window to the outside. An interior window onto another room isn't the same thing.
- Check whether anyone has added doors or walls to close off a middle room. The Department of Buildings says a wall built without proper permits is illegal.
- Walk the route from the back room to the front door. The Department of Buildings flags locked doors inside an apartment as a warning sign.
- Look up the building's certificate of occupancy and violations on the building check page.
What should I ask the broker?
Ask upfront which rooms have real outside windows and closing doors so you don't waste a trip.
Text to send:
Hi, is this apartment a railroad layout? Which of the rooms listed as bedrooms have a window to the outside and a door that closes?
The broker questions page has more to ask before you apply.
This is general information, not legal advice.
Sources
- NYC Housing Maintenance Code (§§ 27-2004, 27-2058, 27-2059, 27-2061, 27-2075): the old law tenement date, window rules for buildings put up after 1929, old law tenements and converted dwellings, the 32.5 square foot opening, the 80 square foot per person occupancy limit and what counts toward it
- NY Multiple Dwelling Law § 4: any room used for sleeping is a "living room"
- NY Multiple Dwelling Law § 30: window to a street, yard or court and window area of at least a tenth of the floor
- NYC Department of Buildings, Spot an Illegal Conversion: avoid rooms without windows, walls without permits are illegal, locked doors inside a unit