You reported the mold. Or the heat that kept failing, or the roaches, or the exposed wiring — you told your landlord, or you called the city, because something in your home was unsafe and you wanted it fixed. And then, a few weeks later, it came: a termination notice, or a refusal to renew your lease, or a sudden rent increase, or eviction papers. On its face, the second thing looks unrelated to the first. The landlord isn't going to say "this is because you complained." They'll give some other reason, or no reason at all, and you're left with a queasy sense that the two events are connected but no obvious way to prove it.
Here's what most tenants in that situation don't know, and what this guide is about: that connection may be a complete defense to the eviction. New York law specifically prohibits a landlord from evicting you, refusing to renew your lease, or substantially changing your tenancy in retaliation for a good-faith complaint about conditions — and, crucially, it doesn't require you to read the landlord's mind or extract a confession. The law does something much more powerful. It looks at the timing. If the adverse action landed within a defined window after your protected complaint, the law presumes it was retaliation and puts the burden on the landlord to prove it wasn't. The proof isn't in what the landlord said. It's in the calendar.
This is the wrongful-eviction defense most tenants miss, and they miss it for a heartbreaking reason: they assume that because the landlord never admitted a retaliatory motive, and because the eviction notice looks official, there's nothing to be done. Both assumptions are wrong. A written, properly delivered notice can still be defeated by a retaliation defense, and the retaliatory motive can be established by the sequence of events rather than a confession. This guide walks through all of it: the recognizable pattern of retaliation, the specific New York law that protects you and how its presumption works, how to build the "retaliation timeline" that proves your case, why you should never assume a notice is valid just because it's written, and the trap where landlords manufacture fake lease breaches after a complaint and bet you won't connect them. This is general information rather than legal advice for your situation — a tenant attorney or legal aid can advise on the specifics and help you raise the defense. Let's start with the pattern, because once you can see it, you can't unsee it.
Retaliation has a shape, and learning to recognize that shape is the first step, because the shape itself is the evidence. The pattern is simple: a tenant asserts a right, and shortly afterward, the landlord takes an adverse action. Complaint, then consequence, close together in time.
The first half of the pattern is the protected act. You report a problem — mold, no heat, pests, a leak, unsafe wiring, a code violation — to your landlord, to the managing agent, or to a government authority like a city housing agency. Or you take some other action to enforce your rights: you assert the warranty of habitability, you demand a repair the law requires, you join with other tenants to organize. These are things you're entitled to do, things a functioning tenancy is supposed to allow without punishment. This is the moment that starts the clock.
The second half is the adverse action, and it arrives soon after. Suddenly there's a termination notice, telling you your tenancy is ending. Or the landlord who would ordinarily renew your lease refuses to. Or your rent jumps, sharply and without ordinary justification. Or you're served with an eviction case. Or the pressure simply intensifies — a new hostility, a campaign to make you leave. The landlord who was indifferent to your complaint becomes, in its aftermath, adversarial and eager to be rid of you.
What makes this pattern so significant is the tight coupling between the two halves. Adverse actions happen in tenancies for legitimate reasons all the time — but when an adverse action lands right on the heels of a tenant's protected complaint, with the complaint being the salient thing that changed, the timing itself suggests a connection. The landlord can dress the adverse action in neutral language — "I'm not renewing, it's a business decision," "the rent's going up to market," "you violated your lease" — but they can't move it in time. It still happened weeks after you called the inspector, and that proximity is exactly what the law treats as meaningful.
So the pattern to watch for is this: did something punishing happen to your tenancy shortly after you complained about conditions or asserted your rights? If so, you may be looking not at a coincidence or an ordinary landlord decision, but at retaliation — which New York law specifically prohibits and provides a defense against. And the defense, as we'll see, is built precisely around the timeline that this pattern creates.
It's worth naming why this pattern is so easy to miss even when you're living it. The two halves of the pattern feel like they belong to different stories. The complaint feels like your story — something you did, weeks ago, about the heat, that you've half moved on from. The eviction notice feels like a new and separate crisis — the landlord's action, about your tenancy, demanding your attention right now. Your mind naturally files them under different headings, and the landlord is counting on exactly that separation. The whole power of recognizing the pattern is refusing that separation — seeing that the complaint and the consequence are not two stories but one, and that the second is very likely a reaction to the first. Once you connect them, the eviction stops looking like an isolated bolt from the blue and starts looking like what it may actually be: retaliation, with your own complaint as the cause and the calendar as the proof.
The protection has a specific source, and understanding what it actually says is what turns your suspicion of retaliation into a usable legal defense. New York Real Property Law § 223-b restricts a landlord from taking adverse action against a tenant in retaliation for the tenant's good-faith complaints about conditions or efforts to enforce their rights. Let's unpack exactly what it covers, because the details are what make it work.
What's protected. The law protects two broad categories of tenant activity. The first is a good-faith complaint — made by the tenant or on the tenant's behalf — to the landlord, the landlord's agent, or a governmental authority, about the landlord's violation of a health or safety law, regulation, code, or ordinance; about the warranty of habitability; or about the duty to repair. In plain terms: if you complained about conditions, whether directly to your landlord or to a government agency, you engaged in protected activity. The second category is the tenant, in good faith, taking action to secure or enforce their rights under the lease, under the warranty of habitability, under repair duties, or under other laws regulating housing. This includes enforcing your lease rights and, as recognized under this protection, organizing or participating in a tenants' union. The protected zone is broad: complaining about conditions, to anyone with authority over them, and asserting your housing rights, are all covered.
What adverse actions it reaches. The law addresses the landlord serving a notice to quit, instituting a proceeding to recover possession (an eviction case), or attempting to substantially alter the terms of the tenancy. That last phrase is important and expansive — it reaches beyond outright eviction to include refusing to renew a lease and imposing an unreasonable rent increase, both of which are recognized as retaliatory acts. So the protection isn't limited to formal eviction; it covers the whole range of ways a landlord might punish a complaining tenant, from termination to non-renewal to an unreasonable rent hike.
The presumption — this is the heart of it. Here is what makes § 223-b so powerful, and so different from what tenants expect. If the tenant establishes that the landlord took one of those adverse actions — served a notice to quit, brought a possession proceeding, or attempted to substantially alter the tenancy — within one year after the tenant engaged in a protected activity, the law creates a rebuttable presumption that the landlord is acting in retaliation. Read that carefully, because it inverts the usual burden. You do not have to prove the landlord's retaliatory motive. You have to establish the timing — that the adverse action came within a year of your protected complaint — and once you do, retaliation is presumed, and the burden shifts to the landlord to prove their action was not retaliatory but had a legitimate, non-retaliatory basis. If the landlord can't rebut the presumption, the retaliation defense stands.
This is why the guide's title says retaliation is about the timeline. The law has built the timeline directly into the protection: the temporal proximity between your complaint and the adverse action is not just persuasive evidence, it is the trigger for a legal presumption that does your arguing for you. You establish the sequence; the law supplies the inference.
What the landlord has to do to overcome it. Because the presumption is rebuttable, it's worth understanding what rebutting it actually requires, since this is where the defense is won or lost once it's raised. The burden shifts to the landlord to come forward with a legitimate, non-retaliatory reason for the adverse action — and not just any reason, but a credible one supported by evidence. A landlord who non-renews a complaining tenant and then claims it was "just business" has to actually substantiate that, and a court weighing the presumption against a thin or shifting explanation can find the presumption unrebutted. The reason this matters to you is that the presumption doesn't merely start the conversation in your favor — it forces the landlord to prove a negative under scrutiny, which is a genuinely difficult position for a landlord whose real motive was retaliation. Many retaliatory actions can't survive that scrutiny, because the honest explanation is the forbidden one and the offered explanation is a pretext that falls apart when tested. Your job is to establish the timing cleanly so the presumption arises; the landlord's much harder job is to explain away a suspiciously-timed action with something that holds up.
Why "good faith" matters. The complaint that triggers the protection has to be a good-faith one — meaning a genuine complaint about a real concern, not a sham manufactured solely to set up a retaliation defense. For the ordinary tenant who actually had mold, or actually lost heat, or actually reported a real code violation, this is not an obstacle; it's simply why documenting the underlying conditions matters, because your dated photos and inspection records demonstrate that your complaint was exactly what the law protects — a real, good-faith report of a genuine problem. The good-faith requirement is there to exclude bad actors, not to trip up tenants with legitimate grievances, but it's a reason to preserve the evidence that your complaint was sincere and substantiated.
How you raise it, and one important limit. Under § 223-b, retaliation is asserted as an affirmative defense in the eviction action or proceeding — meaning it's something you raise to defeat the landlord's case, which we'll return to below. And there's one caveat the statute states explicitly and that you must understand: raising retaliation does not relieve you of the obligation to pay rent you actually owe. The protection is a shield against being punished for complaining; it is not a license to stop paying rent. This matters practically, because a tenant who withholds rent they owe hands the landlord a clean, non-retaliatory ground, which can undercut the defense. Keep your own obligations met, and let the timeline do its work.
Because the defense turns on timing, the single most valuable thing you can do — starting the moment you sense retaliation, and ideally before — is build a retaliation timeline: a dated, documented record of your protected activity and the landlord's adverse action, laid out in sequence so the proximity the law cares about becomes plain and provable. This is the practical core of the whole defense. Here's what to capture.
Your repair requests and complaints, with dates. Every time you reported a condition — to the landlord, the agent, or a government authority — document it: the date, the method, and what you reported. Your written repair requests, emails, texts, and letters are the foundation, because they establish the protected activity and, critically, when it happened. If you complained verbally, note the date and what was said. These dates are the starting point of the timeline — the moment the clock began.
Photos and documentation of the conditions. Dated photos and videos of the mold, the lack of heat, the pests, the unsafe conditions you complained about. These do double duty: they show the complaint was made in good faith about a real problem (which matters, since the protection is for good-faith complaints), and they support the underlying habitability issues that may themselves be a defense.
311 and inspection complaints and records. If you called a government authority — 311, a housing agency — or an inspection resulted, capture it: the complaint number, the date, any inspection report or violation issued. Complaints to a governmental authority are squarely protected activity, and an official record of your complaint, with its date, is powerful timeline evidence that doesn't depend on your say-so.
The landlord's replies. Save the landlord's responses to your complaints — or the absence of response. What they said, when, and how they reacted. A landlord's messages can reveal their awareness of your complaint (which matters, since retaliation requires they knew) and sometimes their attitude toward it.
The notices, court papers, and rent-demand changes. Document the adverse action precisely: the date you received the termination notice, the non-renewal, the eviction papers, or the rent increase, and what each said. If the rent demand or the amount changed, capture that change and its date. This is the second anchor of the timeline — the moment the consequence arrived — and its date, set against the date of your complaint, is the proximity that triggers the presumption.
Any messages threatening consequences. If the landlord ever said or wrote anything connecting your complaint to a threatened consequence — even obliquely, even a "you're going to regret making trouble" — preserve it, because it's direct evidence of retaliatory motive on top of the timing. These are rare, because landlords are usually careful, but when they exist they're gold.
Once assembled, the timeline tells the story the law responds to: here is when I complained, and here is when the landlord moved against me, and look how close together they are. Laid out in dated order, your protected activity and the landlord's adverse action form exactly the sequence that creates the presumption of retaliation — a sequence that a vague memory could never establish but a documented timeline proves cleanly. The timeline is not just helpful; it is the evidentiary form of the entire defense. Build it, keep it current, and keep it somewhere durable, because it is what converts "I think this is retaliation" into "here is the documented proximity that the law presumes is retaliation."
A practical note on how to actually keep it: the timeline doesn't need to be fancy, it needs to be dated and organized. A simple running document — or even a folder of dated screenshots and files backed up somewhere safe — works, as long as every entry carries a date and it's easy to see the sequence at a glance. The two anchors you most need to be able to point to are the date of your earliest relevant protected activity and the date of the adverse action, because the gap between them is what determines whether you're inside the one-year presumption window. Everything else fills in the story between and around those anchors. If you're not sure whether something counts as protected activity or as an adverse action, include it anyway and let an advocate sort it out later — an over-inclusive timeline is easy to trim, but a fact you failed to document may be gone. And start it early: the best timeline is one you began building when you first complained, not one you tried to reconstruct after the eviction papers arrived and the details had already blurred.
One more reason the timeline is worth building even before any eviction: it's protective in itself. A landlord contemplating retaliation against a tenant who has obviously been documenting everything — dated complaints, saved responses, an inspection on record — faces a much less appealing target than one who left no trail. The documentation that proves retaliation after the fact can also deter it beforehand, because it signals that any adverse action will meet a ready-made, well-dated defense.
Here is a mistake that costs tenants their homes, and it flows directly from not knowing about retaliation: assuming that an eviction notice is valid — that it means what it says and there's nothing to be done — simply because it's written down and formally delivered. A notice can be typed on letterhead, served with perfect formality, and still be defeatable, because retaliation is a defense that can invalidate the entire action regardless of how official the paperwork looks.
Understand the distinction. A notice being properly formatted and delivered is about the procedure — did the landlord fill it out right and serve it correctly. Retaliation is about the motive and legitimacy of the underlying action — is the landlord even allowed to do this, given why they're doing it. These are different questions, and a notice can pass the first while failing the second. A landlord can serve a flawless, procedurally perfect termination notice that is nonetheless unlawful because it's retaliatory — and the retaliation defense reaches exactly that situation, defeating an action that looks completely valid on its face.
This is why the appearance of a notice should never make you give up. Tenants routinely see a formal-looking notice and conclude the matter is settled — the landlord has the paperwork, the paperwork looks right, so they must have the power. But the paperwork looking right tells you nothing about whether the landlord's action is lawful in light of your recent complaint. The retaliation defense operates independently of the notice's form: even a technically valid notice can be defeated if the action it initiates was taken in retaliation for your protected activity. So the formality of the notice is not a reason to concede; it's simply the opening move in an action you may have a complete defense to.
And retaliation is asserted as an affirmative defense, which means it comes to life in the eviction proceeding itself — you raise it in your response to the case, and it becomes the landlord's problem to overcome. Which leads to the single most important practical instruction in this entire guide: if you receive an eviction notice or papers after you've complained about conditions, do not assume it's valid and do not simply comply. Do not move out because the notice looks official. Instead, recognize that you may have a retaliation defense, respond to the case within the deadline, raise the defense, and get legal help to do it right. The tenants who lose to retaliatory evictions are very often the ones who took the notice at face value and never raised the defense that would have defeated it. A written notice is a claim, not a verdict — and if the claim is retaliatory, it's a claim you can beat.
It's worth pausing on why an affirmative defense has to be affirmatively raised, because this is where the "most tenants miss it" of the title actually bites. An affirmative defense is not something a court applies for you automatically; it's something you must assert, in your answer or response to the case, or you risk losing the right to raise it at all. This means the retaliation defense — however strong, however clean the timeline — does nothing for a tenant who defaults by not responding, or who responds without raising it. The law can presume retaliation from your timeline, but only once you put the timeline in front of the court by raising the defense. A tenant who receives retaliatory eviction papers and does nothing, or moves out, or answers but never mentions the retaliation, forfeits a defense that might have ended the case. This is precisely the gap this guide exists to close: the protection is real and powerful, but it is inert until a tenant activates it, which is why knowing it exists — before the papers arrive — is what separates the tenant who beats a retaliatory eviction from the one who doesn't.
Now the most insidious version of retaliation, the one that catches even tenants who understand the basic pattern, because it's specifically designed to look like something other than retaliation: the manufactured lease breach. This is where a bad-faith landlord, after a tenant complains, goes hunting for or fabricates a lease violation to use as the pretext for eviction — betting that the tenant will see the new accusation as a separate, unrelated problem rather than recognizing it as part of the same retaliatory campaign.
Here's how it works. The landlord can't very well serve a notice that says "you're evicted for complaining." So instead, after the complaint, they manufacture a reason that sounds legitimate. Suddenly there's a lease violation they never mentioned before — a rule about guests, or pets, or occupancy, or some technicality — cited against you now, for the first time, after years of it never being an issue. Or an accusation of damage, or of being a nuisance, that materializes out of nowhere. The landlord points to this "violation" as the reason for eviction, and it looks, on its surface, like an ordinary lease-enforcement action entirely unconnected to your complaint about the heat.
The trap is psychological as much as legal. The tenant, confronted with the new accusation, tends to engage with it on its own terms — to argue about whether they really violated the guest policy, whether the damage claim is fair — and in doing so, treats it as the separate matter the landlord wants it to appear to be. They don't step back and see that the "violation" surfaced only after they complained, and that its sudden appearance, precisely timed to their protected activity, is itself the tell. The landlord is betting on exactly this: that the tenant will fight the accusation in isolation instead of recognizing it as the pretextual second half of a retaliation pattern.
The defense against this trap is to keep your eye on the timeline rather than getting drawn into litigating the manufactured breach in isolation. Ask the question the landlord doesn't want asked: why now? A lease rule that was never enforced for years, suddenly invoked right after you called the city, is not a genuine enforcement action that happens to coincide with your complaint — its timing is the evidence that it's pretextual. The manufactured breach, far from being a separate matter, is often the clearest sign of retaliation there is, because a landlord who genuinely didn't care about the "violation" until you complained has revealed, through the timing of their sudden concern, that the complaint is the real motive and the violation is the cover.
So when a new accusation appears after you've complained, resist the instinct to treat it as unrelated. Add it to your timeline, note how its appearance lines up with your protected activity, and recognize it for what it may well be: the pretext half of a retaliation pattern, manufactured to give a retaliatory eviction a legitimate-looking face. The presumption under § 223-b still applies — the landlord's adverse action came within a year of your complaint — and the sudden, suspiciously-timed "breach" doesn't defeat that presumption; if anything, its timing reinforces it. Don't let the landlord's costume change convince you the campaign is something else.
There's a specific evidentiary move that defeats the manufactured breach, and it's worth knowing: the absence of prior enforcement. If the landlord tolerated the same conduct for months or years without complaint — the guest who always visited, the pet that was always there, the arrangement that was never an issue — and only "discovered" it as a violation after your complaint, that history of non-enforcement is powerful evidence that the enforcement is pretextual. So part of countering a manufactured breach is documenting that the "violation" is nothing new: that it predates your complaint and was never objected to until now. A landlord who suddenly cares about a long-standing situation has to explain why now, and "right after the tenant complained about the heat" is not an explanation that helps them. Selective, first-time-ever enforcement, precisely timed to protected activity, is close to a signature of retaliation.
It also helps to notice which kind of ground the landlord chose, because manufactured breaches tend to share features. They're often minor or technical — a rule violation inflated into a "substantial" breach. They're often things many tenants do without consequence — so their selective enforcement against you specifically is telling. And they frequently can't be squared with the landlord's own prior conduct — the tolerance that preceded the sudden concern. When an alleged breach has all three features — minor, selectively enforced, and contradicted by the landlord's own history — and it surfaced right after you complained, you are very likely looking at a pretext, and the timeline that shows the sequence is what exposes it.
Let's watch the retaliation defense work — and fail — by following two tenants through the same situation.
Imagine a tenant who spent a winter with unreliable heat. She complained to her landlord repeatedly, in writing, and eventually — when nothing changed — called 311, which generated a complaint and an inspection. A few weeks after the city got involved, her landlord served her with a notice: he was terminating her month-to-month tenancy, and separately, the notice cited a "lease violation" for a long-tolerated situation involving a family member who sometimes stayed over. She'd never heard a word about it before.
Run it the way an unprepared tenant would. She sees two things: a termination notice and a lease-violation accusation, both looking official. She assumes the notice is valid because it's formal and properly served, and she gets drawn into anxiously arguing about the guest situation — was it really a violation, could she explain it — treating it as the problem to solve. Feeling she has no answer to a formal notice, and worn down, she moves out. She never connected the eviction to her heat complaints, never recognized the retaliation, never raised the defense. A retaliatory eviction succeeded because it was never contested as one.
Now run it prepared. She recognizes the pattern immediately: she complained about the heat, escalated to the city, and weeks later got hit with a termination notice and a conveniently-timed "violation" she'd never heard about. She knows that under § 223-b, an adverse action within a year of her protected complaint raises a presumption of retaliation, and that the manufactured breach's suspicious timing is a tell, not a separate matter. She doesn't move out. She builds her timeline: the dates of her written heat complaints, the 311 complaint number and the inspection, the landlord's non-responses, and the date of the termination notice — laying the proximity out plainly. She keeps paying the rent she owes, so the landlord can't point to nonpayment. She takes it all to a legal aid office, and when the landlord files, she answers within the deadline and raises retaliation as an affirmative defense, presenting the timeline. Now the landlord faces a presumption of retaliation he has to rebut, while trying to explain why a "lease violation" he tolerated for years became urgent the moment after she called the city. His procedurally perfect notice is suddenly in serious trouble.
Same tenant, same complaints, same landlord, same notice. In one version, a retaliatory eviction removes a tenant who had a complete defense; in the other, the defense — built on the timeline — puts the landlord on the defensive and may defeat the eviction entirely. The difference is that she recognized the pattern, didn't take the notice at face value, refused to litigate the manufactured breach in isolation, and built the timeline that the law responds to.
A theme runs through this guide: the retaliation defense is powerful, but it's an affirmative defense that you have to actually raise, correctly and on time, which makes knowledgeable help extremely valuable — and in New York, it's often free.
Legal aid societies, tenant-rights organizations, and housing court help desks assist tenants facing eviction, many at no cost, and in New York City tenants facing eviction in housing court have a right to free legal representation. This matters especially for a retaliation defense, because while the presumption does a lot of work for you, raising the defense properly — establishing the protected activity and the timing, presenting the timeline, countering the landlord's attempted rebuttal and any manufactured breach — benefits enormously from someone who does it regularly. An advocate will also make sure you don't inadvertently undercut the defense, for instance by mishandling the rent you still owe.
And get help early, because the defense is time-sensitive in every direction. The window to answer an eviction case and raise your affirmative defenses is short, and a defense not raised can be lost. The timeline evidence is easiest to preserve if you start gathering it early — ideally as soon as you complain about conditions, not after the eviction lands. And the one-year presumption window means the timing of everything matters. The moment you sense that an adverse action may be connected to a complaint you made, start your timeline and reach out for help.
It's also worth knowing that retaliation rarely stands alone as a defense, and a good advocate will look for the others that often accompany it. A tenant retaliated against for complaining about conditions frequently also has a habitability defense — the very conditions you complained about may reduce or offset what you owe, and may be independently actionable. If a manufactured breach is involved, its defects and pretextual nature are their own line of defense. If the notice or service was procedurally flawed, that's another. Retaliation is often the strongest and most fundamental of these because it can defeat the action outright regardless of procedure, but it's rarely the only card in a retaliatory-eviction case, and part of what an advocate does is assemble all of them. That's another reason not to go it alone: the timeline you build for the retaliation defense frequently strengthens several defenses at once, and someone who does this regularly will see connections you might not.
Step back and hold the whole picture. Retaliatory eviction is one of the most common wrongs landlords commit and one of the most commonly missed defenses tenants have — missed because tenants expect retaliation to announce itself, don't get a confession, see an official-looking notice, and conclude there's nothing to be done. But the law didn't build this protection to require a confession. It built it around the timeline. New York's § 223-b presumes retaliation when a landlord moves against a tenant within a year of the tenant's good-faith complaint about conditions or effort to enforce their rights, and it shifts the burden to the landlord to prove otherwise. The proof you need isn't the landlord's secret motive. It's the sequence of dates.
Which means the defense is within reach of any tenant who recognizes the pattern and documents it. Complaint, then consequence, close together in time — that's the pattern. Repair requests, photos, 311 complaints, inspection records, landlord replies, notices, court papers, threatening messages, laid out in dated order — that's the timeline that proves it. A retaliation defense raised in the eviction proceeding, defeating even a procedurally perfect notice — that's the remedy. And the manufactured breach, recognized by its suspicious timing rather than litigated in isolation — that's the trap you now know to avoid. Above all, don't take a notice at face value because it's written and don't move out assuming you have no defense, because the tenant who assumes that is exactly the tenant this protection was designed to save and can't.
So if you complained about your home and then found yourself facing eviction, non-renewal, a sudden rent hike, or a lease violation that appeared out of nowhere, don't accept it as unrelated bad luck or an unbeatable notice. Look at the calendar. Write down when you complained and when the landlord moved against you, and see how close those dates sit. That proximity may be your defense — the wrongful-eviction defense most tenants miss, hiding in plain sight in the timeline. Find out where you stand.