
In New York City, any gate or grille on a window that opens onto a fire escape must be an approved type that a person inside can release without a key, a tool, or any special knowledge. Fixed bars, padlocks, chains and keyed gates do not belong on those windows. They block the exit the fire escape exists to provide, they draw violations from the Fire Department and HPD, and in a fire they are the reason people cannot get out. Everything else about window security in a New York apartment follows from that one rule.
New Yorkers put gates on windows for good reasons. Ground-floor apartments, rear windows facing a yard, windows onto a shared airshaft or a low roof - these are genuine weak points. The City does not prohibit window gates. What it prohibits is a gate that turns an exit into a trap.
If the window serves a fire escape, the gate over it has to be an approved releasable type: the release works from the inside, by hand, with no key and no hunting for a tool. That is the whole test. A gate that satisfies it still deters anyone climbing the fire escape, because from the outside it is simply a locked grille. The difference is entirely which side the release lives on.
The practical consequence is that you cannot improve a releasable gate by adding a padlock to it. People do this all the time, usually after a break-in on the block, and the moment the padlock goes on, an approved gate becomes an obstruction.
Not every window in a New York apartment is an exit, and the rules are not the same for all of them. Before you buy hardware, work out which category each window falls into.
If you are not certain which of your windows serves the fire escape, go outside and look up at the building, or step onto the balcony and see which opening it serves. Guessing is the wrong move, and so is relying on what a previous tenant installed.
These two get confused constantly, and they do opposite jobs. A window guard is a child safety device: a low barrier that stops a small child falling out of an open window. In New York City the owner of a multiple dwelling is required to install approved window guards in an apartment where a child ten years old or younger lives, and in the building's public hallway windows, and tenants are asked every year whether a child lives in the unit. That is a landlord obligation, not a tenant expense.
A window gate is a security device: a grille that stops a person climbing in. Guards keep children in; gates keep intruders out. On a window that gives access to a fire escape, a standard window guard is not what goes there, because the opening has to stay usable as an exit - that window is handled with approved hardware made for the purpose.
If you have a child in the apartment and the window also serves the fire escape, do not improvise with hardware-store parts. Ask the owner or managing agent what approved product the building uses there, and confirm the current requirement with HPD or the Fire Department rather than taking a neighbor's word for it.

Inspectors are not looking for exotic problems. The same handful of situations come up over and over.
If you inherited any of these from a previous tenant, the fix is not complicated and it is worth doing before an inspection forces it. The same visit that removes an unapproved grille can fit a proper releasable gate, so you are not left with an open window overnight.
We work on window gates, window locks and apartment door security across the five boroughs, and we will tell you plainly when a window needs a releasable gate rather than the hardware that is on it. Licensed NYC locksmith, NYC DCA #1362785-DCA.
A window gate that does not release is a safety problem, not an inconvenience. The usual causes are dull rather than dramatic: paint across the hinge and latch, rust from rain coming through an open window, a bent slide bolt, or a gate that was never installed square and has been binding since day one.
Do not attack it with a pry bar - bending the frame usually ends with a gate that is both stuck and unsalvageable, and on a fire escape window that leaves you with an opening you cannot secure that night. Paint can be scored off a release mechanism, hinges and slides can be freed and lubricated, and a gate that is past saving can be replaced with an approved one. The lubrication habit that keeps a door cylinder healthy applies here too - see lock maintenance for NYC doors, because household oil attracts grit and makes the next seizure worse. If the window serves a fire escape, treat a stuck gate as a same-day call and say so when you phone.
On windows that are not part of an exit path, keyed gates are common - basement windows, airshaft windows, grilles on a rear kitchen window. Their keys are small, rarely used and easily lost, and the cylinder is often a cheap one that has sat in the weather for a decade, so a seized cylinder is as likely as a genuinely lost key.
A locksmith can usually open and re-key or replace that cylinder without damaging the gate. If the window turns out to serve the fire escape, the right outcome is a releasable gate rather than a new key for hardware that should not be there. See also lost apartment keys and why a key stops turning.

A gate is not the only tool, and on some windows it is not the best one. Several layers raise the difficulty without putting steel across the opening.
Window guards for a child ten or under are the owner's responsibility in a multiple dwelling, along with the annual notice asking whether a child lives in the apartment. Security gates are different: a gate you want for peace of mind on a non-egress window is usually a tenant request, and the cost follows whoever asked. A gate that is broken, painted shut or of an unapproved type is closer to a repair and a building condition, and that is worth raising with the owner or managing agent in writing. In a co-op or condo, check the house rules before anyone drills into the facade. See who pays for locksmith work, tenant or landlord, and if a break-in prompted all this, what to do after a break-in.
One note on the law: this is general information about how window gates work in New York City, not legal advice or a substitute for an inspection. Requirements are enforced by the Fire Department and HPD and can change, so confirm anything that matters for your specific window with the agency, your managing agent or a licensed installer.
Yes on windows that are not part of an exit path, and only in an approved releasable form on a window that gives access to a fire escape. The test for an egress window is whether someone inside can release the gate without a key, a tool or special knowledge. Fixed bars, chains and padlocks on those windows are not permitted.
Not on a window that serves a fire escape. Adding a padlock converts an approved releasable gate into an obstruction and is one of the most common window violations in New York City. On a window that is not part of an exit path a keyed gate may be acceptable, subject to your lease and your building's rules.
A window guard is a child safety barrier that stops a small child falling out of an open window, and in NYC the owner of a multiple dwelling must install approved guards where a child ten or younger lives. A window gate is a security grille that stops someone climbing in. They are different products with different rules.
On a fire escape window, yes, and it is a same-day problem rather than a maintenance item. A gate that cannot be released is the same as no exit at all. Paint can usually be cleared from the release and hinges and the gate freed without replacing it, but do not force it with a pry bar.
Window guards for a child ten or under are the owner's obligation. A security gate requested by the tenant for extra peace of mind is normally a tenant expense. A gate that is broken, seized or of an unapproved type is closer to a repair, and that is worth raising with the owner or managing agent in writing.
Usually yes. On a non-egress window with a keyed gate, the cylinder can generally be opened and then re-keyed or replaced without damaging the gate, and seized cylinders are as common as genuinely lost keys. Call (718) 412-1332 and tell us which window it is so we arrive with the right parts.