An illegal eviction in New York City is any attempt to remove a tenant without a court order β and it happens far more often than most renters realize. The short answer every tenant should know: in New York, only a city marshal or sheriff, acting on a warrant of eviction issued by a court, can lawfully remove you from your home. Anything else β a landlord changing the locks, removing your belongings, or cutting off your heat to force you out β is a “self-help” eviction, and it is illegal.
One of the most common calls we get starts the same way: “I came home and my key doesn’t work.” If that has happened to you, you are not powerless. New York law treats an unlawful lockout seriously, and a tenant who has been illegally evicted can go to court to be restored to the apartment. Below is what actually counts as an illegal eviction, and what you can do about it.
What Makes an Eviction “Illegal” in New York?
An eviction is illegal in New York whenever a landlord bypasses the court process required by Article 7 of the Real Property Actions and Proceedings Law. The law reserves the power to remove a tenant to the courts and to city marshals alone β never the landlord directly.
That means the only lawful path is a court case, a judgment, a warrant of eviction, and a 14-day notice to vacate served by a marshal before removal. A landlord who skips any of that and takes matters into their own hands has committed an illegal eviction, regardless of whether the rent is unpaid or the lease has ended.
What Are the Most Common Forms of Illegal Eviction?
The most common illegal evictions are lockouts, utility shutoffs, and the removal of a tenant’s belongings β quiet tactics meant to make a tenant leave “voluntarily.” Recognizing them is the first step to stopping them.
They typically look like this: changing or removing the lock on your door; shutting off heat, hot water, gas, or electricity; removing the apartment door or your possessions; or threatening and harassing a tenant to force them out. In New York City, this conduct is not only grounds for a civil case β it can also violate the City’s unlawful eviction law, which carries penalties against the landlord.
What Can You Do If You Are Locked Out?
If you have been illegally locked out, you can bring an illegal lockout proceeding in Housing Court and ask the judge to order the landlord to restore you to the apartment immediately. Courts can and do issue orders returning tenants to their homes, sometimes the same day.
You should also call 311 or the police to report an unlawful lockout, document everything with photos and dates, and keep any proof that you live there β a lease, mail, or utility bills. The faster you act, the faster a court can intervene, and the stronger your record if you later seek damages.
Can You Recover Money After an Illegal Eviction?
Yes. A tenant who has been illegally evicted in New York may be entitled to damages, and in some cases to enhanced damages for a willful violation. The law is designed to deter landlords from using self-help precisely because it is so disruptive to a tenant’s life.
Beyond being restored to the apartment, a tenant may recover for property that was damaged or lost and for other harm caused by the lockout. An attorney can evaluate what your specific situation is worth and whether the landlord’s conduct rises to the level that supports enhanced damages.
How Is a Legal Eviction Different?
A legal eviction always runs through the court and ends with a marshal β never with the landlord’s own hands on the lock. It begins with a required written notice (for nonpayment, a 14-day rent demand under RPAPL Β§ 711(2)), followed by a petition, the tenant’s right to answer and raise defenses in Housing Court, and, only if the landlord prevails, a warrant of eviction under RPAPL Β§ 749 executed by a city marshal after a 14-day notice to vacate.
The difference matters because it means a tenant almost always has time and a place to be heard. If your landlord is skipping those steps, that is the clearest possible sign something is wrong.
When Should You Call a Lawyer?
Call a lawyer the moment you are locked out or threatened with a lockout β this is one of the few housing situations where hours genuinely matter. A prompt court application can get you back into your home before a bad situation becomes a permanent one.
An attorney can file the lockout proceeding, press for an immediate restoration order, and pursue damages for what you have lost. If you are facing an eviction you believe is improper, the same early advice protects your rights before a deadline slips by.
Frequently Asked Questions
Is it illegal for a landlord to change the locks in NYC? Yes. Changing the locks to keep a tenant out, without a court order and a marshal’s execution of a warrant, is an illegal self-help eviction in New York. The tenant can seek a court order restoring access and may recover damages.
Can a landlord shut off my heat or electricity to make me leave? No. Shutting off essential services to force a tenant out is a form of illegal eviction and also breaches the warranty of habitability under Real Property Law Β§ 235-b. It can expose the landlord to penalties and damages.
What should I do the day I’m locked out? Report it to 311 or the police, document the lockout with photos and dates, gather proof you live there, and contact a tenant attorney immediately to file an illegal lockout proceeding in Housing Court seeking restoration to the apartment.
Who is the only person allowed to physically evict me? Only a New York City marshal (or a sheriff), acting on a warrant of eviction issued by the court after a case under RPAPL Article 7, may remove a tenant β and only after serving a 14-day notice to vacate.
Can I sue my landlord for an illegal eviction? Yes. Beyond being restored to your home, you may be entitled to damages, and in cases of willful violation, enhanced damages. An attorney can assess your claim.
By Gary J. Wachtel, Esq., a New York City real estate and landlord-tenant litigation attorney. General information, not legal advice.




