I Called Code Enforcement and Now My Landlord Is Threatening Not to Renew and Keeps Writing Me Up

By FightLandlords
I Called Code Enforcement and Now My Landlord Is Threatening Not to Renew and Keeps Writing Me Up

You finally had enough. The broken heat, the mold spreading across your bedroom wall, the mice in the kitchen—you asked your landlord to fix these problems for months and got nothing but excuses and delays. So you did what you had the legal right to do: you called code enforcement. An inspector came, documented the violations, and issued citations to your landlord.

Then the retaliation started.

Your landlord knocked on your door the next week saying, "I don't know if I'm going to renew your lease after what you did." A few days later, you got a written "warning" about noise—even though you've never been loud and neighbors have been louder for years without consequences. The week after that, another write-up claiming you left trash in the hallway (you didn't). Then another for a "guest policy violation" because your sister visited for the weekend. The warnings keep coming for things that were never issues before, things other tenants do without getting written up, minor infractions that your landlord suddenly cares about deeply.

Each time, your landlord mentions not renewing your lease. The message is clear: "You shouldn't have called the city. Now you're going to pay for it."

You're scared. You think: "They're going to build a case against me with all these write-ups. Then they'll refuse to renew and say it's because I'm a problem tenant, not because I called code enforcement. How can I prove it's really retaliation? Can they do this? Do I have any protection?"

This scenario—threatening non-renewal combined with a sudden campaign of documenting minor or fabricated violations after you report code issues—is one of the most sophisticated and pernicious forms of landlord retaliation.

Here's the truth: What your landlord is doing is exactly the kind of conduct that New York retaliation and harassment laws are designed to prohibit. Threatening non-renewal, actually refusing to renew, and creating a pattern of write-ups to justify that non-renewal after you call code enforcement is illegal retaliation.

The law doesn't just protect you from direct retaliation—it protects you from this exact pretextual pattern. The write-ups are being created to manufacture a fake paper trail justifying retaliation disguised as "legitimate business decision not to renew a problem tenant."

Let me show you exactly why this is illegal, how the one-year retaliation presumption protects you, how courts analyze patterns like this, and what you need to do right now to protect yourself.

Why This Pattern Is Textbook Retaliation

Before we get to the legal framework, let's understand the retaliation tactic your landlord is using:

The Sophisticated Retaliation Strategy

Crude retaliation (that landlords know is obviously illegal):

Sophisticated retaliation (what your landlord is doing):

  1. You call code enforcement
  2. Landlord starts "documenting" violations
  3. Multiple write-ups for minor or fabricated issues
  4. Landlord creates paper trail showing you're "problem tenant"
  5. Landlord refuses to renew citing "pattern of lease violations"
  6. Landlord claims it's "not about the code complaint—look at all these violations"

Why landlords use this tactic:

Why it's still illegal retaliation despite the sophistication:

Courts are not fooled by this tactic. The law specifically accounts for pretextual retaliation disguised as legitimate lease enforcement.

Why Landlords Think This Will Work

Landlords believe:

What landlords don't understand:

Why You're Scared This Might Work

You're worried:

What you don't know:

What New York Law Says About This Type of Retaliation

Let's establish the legal framework:

The Core Anti-Retaliation Statute: RPL § 223-b

Real Property Law § 223-b prohibits landlords from:

Evicting you, OR Refusing to renew your lease, OR
 Attempting to substantially alter the terms of the tenancy, OR Otherwise retaliating against you

Because you:

Made good-faith complaints about health, safety, or code violations to government agencies (code enforcement, HPD, housing inspectors, health department, building department, etc.)

"Otherwise retaliating" explicitly includes:

How the Law Applies to Your Situation

Your protected activity: ✓ You called code enforcement about health/safety/code violations ✓ This is explicitly protected under RPL § 223-b

Landlord's retaliatory actions: ✓ Threatening not to renew (verbal threats) ✓ Pattern of write-ups that started after your code complaint ✓ Write-ups appear pretextual (minor issues, fabricated issues, previously tolerated conduct, selective enforcement)

Legal analysis: This is prohibited retaliation. Both the threats and the write-up pattern constitute "otherwise retaliating" under the statute.

The One-Year Retaliation Presumption

This is your most powerful protection:

If within approximately one year after your good-faith complaint to code enforcement, landlord:

The law creates a rebuttable presumption that the action is retaliatory.

What "rebuttable presumption" means:

Presumption: Court assumes landlord is retaliating based on timing alone

Rebuttable: Landlord can try to disprove presumption by proving legitimate non-retaliatory grounds

Burden shifts to landlord: Landlord must prove they have genuine, non-retaliatory reasons for non-renewal/eviction

If landlord can't meet this burden: Action is deemed retaliatory and blocked

How Presumption Applies to Threats and Write-Ups

Even before formal non-renewal notice:

Threats of non-renewal after code complaint:

Pattern of write-ups after code complaint:

If/when landlord actually serves non-renewal notice:

How Courts Analyze Write-Up Patterns as Retaliation

When landlords use manufactured violations to justify retaliation, courts look at specific factors:

Factor 1: Timing of When Write-Ups Started

Courts compare:

Before code complaint:

After code complaint:

Red flag patterns suggesting retaliation:

Sudden enforcement after complaint:

Example:

Analysis: Clear pattern. Zero enforcement in 3 years, then sudden campaign of write-ups immediately following code complaint. Timing proves retaliation.

Increased frequency after complaint:

Example:

Analysis: Dramatic increase in frequency after complaint. Pattern shows retaliatory campaign.

Factor 2: Nature of Alleged Violations

Courts examine whether violations are:

Real vs. Fabricated

Real violations:

Fabricated violations:

Example of fabricated write-up:

Substantial vs. Minor

Substantial violations:

Minor violations:

Example of minor violations used pretextually:

Analysis: These are trivial matters that don't justify non-renewal. Landlord is documenting minutiae to create appearance of problem tenant.

Previously Tolerated vs. Newly Enforced

Courts look at landlord's enforcement history:

Previously tolerated conduct:

Newly enforced after complaint:

Example:

Factor 3: Selective Enforcement

Courts examine whether violations are enforced uniformly or selectively:

Uniform enforcement:

Selective enforcement against complaining tenant:

Example:

Analysis: Selective enforcement proves retaliation. If violations were truly about lease enforcement, all violators would be written up. Targeting only the complaining tenant reveals retaliatory motive.

How to prove selective enforcement:

Factor 4: Pretextual Nature of Violations

Courts assess whether violations are genuine enforcement or pretextual:

Pretextual indicators:

Vague or subjective allegations:

Violations that can't be verified:

Inconsistent allegations:

Violations immediately following each other:

Example of pretextual pattern:

Analysis: Rapid-fire write-ups for unrelated issues, some fabricated, some trivial, some previously tolerated. Pattern shows landlord is documenting anything possible to build case, not legitimately enforcing lease.

Factor 5: Landlord's Statements Revealing Motive

Direct evidence of retaliation (landlord says the quiet part out loud):

Explicit connections between code complaint and consequences:

Threats tying write-ups to code complaint:

Example:

Analysis: Landlord's statement explicitly connects increased scrutiny/documentation to code complaint. Proves retaliatory motive.

Even without explicit statements, pattern speaks for itself:

Real Example: How Courts See Through This Tactic

Let's examine a detailed scenario:

The Case

Background:

The Code Complaint:

The Retaliation Campaign:

February 20: Landlord knocks on door, says "I don't think this is working out. I probably won't renew your lease."

February 25: First write-up - "Unauthorized pet" (the dog landlord knew about for 4 years)

March 5: Second write-up - "Excessive noise complaint from neighbor"

March 15: Third write-up - "Trash left in hallway"

March 25: Fourth write-up - "Guest staying more than two weeks" (tenant's sister visiting 4 days)

April 1: Non-renewal notice citing "pattern of lease violations as documented"

How Court Analyzes This

Protected activity: ✓ Code enforcement complaint February 1

Timeline analysis:

Timing creates presumption: ✓ All adverse actions within one-year window

Nature of violations analysis:

"Unauthorized pet":

"Noise complaint":

"Trash in hallway":

"Guest overstay":

Selective enforcement:

Pattern analysis:

Court's conclusion:

Landlord is clearly retaliating.

Non-renewal is blocked as retaliatory.

Tenant stays.

What You Must Do Right Now

If you're experiencing this pattern, immediate action is critical:

Action 1: Document Your Code Complaint

Gather and save proof of your protected activity:

Code enforcement complaint:

Inspection records:

Your prior repair requests:

Why this matters: Proves you engaged in protected activity (code complaint). Establishes the "before" timeline for comparing landlord's treatment of you before vs. after complaint.

Action 2: Create Comprehensive Timeline

Make detailed chronological document:

Format:

[Date]: [Event]

 

Example:

 

January 15, 2024: First noticed mold in bedroom, photographed

January 20, 2024: Emailed landlord requesting mold remediation

January 25, 2024: Landlord responded "will look into it"

February 1, 2024: No action from landlord, called code enforcement, complaint #123456

February 10, 2024: Code enforcement inspector came, found violations

February 15, 2024: Violations issued to landlord

February 20, 2024: Landlord knocked on door, said "probably won't renew your lease after what you did"

February 25, 2024: Received first write-up (unauthorized pet - dog landlord approved 4 years ago)

March 5, 2024: Received second write-up (noise - fabricated)

March 15, 2024: Received third write-up (trash - I was out of town, impossible)

[Continue with each write-up and threat]

Why this timeline is crucial:

Action 3: Document Every Write-Up in Detail

For each write-up, create a file containing:

The write-up itself:

Your rebuttal evidence:

If violation is fabricated:

If violation is exaggerated:

If violation is previously tolerated:

If violation is selectively enforced:

Example documentation for one write-up:

Write-up: "Tenant left trash in hallway March 15"

Rebuttal file:

Organize all write-ups: Create master document listing each write-up with your rebuttal for each. This shows pattern when all violations are false/exaggerated/pretextual.

Action 4: Document Landlord's Threats and Statements

Record every threat and retaliatory statement:

If in writing (text, email):

If verbal:

Particularly important statements:

Example documentation:

"March 20, 2024, 6:30pm: Landlord came to door. Said: 'You really screwed up by calling code enforcement. I'm watching everything you do now, and I'm documenting it all. Don't expect me to renew your lease.' Witness: My roommate was present and heard this."

Action 5: Document Your Tenancy History

Prove you were "good tenant" before code complaint:

Rent payment history:

Prior enforcement history (or lack thereof):

Lease compliance:

Comparison evidence:

Why this matters: Shows sudden change in landlord's treatment after code complaint. Undermines landlord's claim you're "problem tenant"—if you were problem tenant, why no write-ups for 4 years until after code complaint?

Action 6: Respond to Each Write-Up in Writing

Don't let write-ups go unchallenged:

Send written response to each write-up:

Template:

"[Date]

Dear [Landlord],

I received your notice dated [date] alleging [violation]. I dispute this allegation for the following reasons:

[Explain why allegation is false/exaggerated/previously tolerated/selectively enforced]

[Provide evidence: "I was out of town that day, see attached airline ticket" or "You approved this conduct four years ago, see attached email" or "Other tenants engage in same conduct without consequences"]

I note that this write-up follows my code enforcement complaint filed [date] and is part of what appears to be a retaliatory pattern prohibited under New York Real Property Law § 223-b.

I request that this write-up be removed from my file and that you cease retaliatory conduct.

[Your name]"

Why written responses matter:

Action 7: Get Legal Help IMMEDIATELY

Don't wait until you get non-renewal notice:

Contact legal services now:

NYC:

Outside NYC:

Tell intake: "My landlord is retaliating against me for calling code enforcement. They're threatening not to renew my lease and they've started writing me up for fabricated violations. I need help defending against retaliation under RPL § 223-b."

What lawyers will do:

Evaluate your evidence:

Send cease and desist letter:

Prepare for potential non-renewal or eviction:

Consider affirmative legal action:

Action 8: If You Receive Non-Renewal Notice, Act IMMEDIATELY

CRITICAL: Do not ignore non-renewal notice

If landlord actually serves written non-renewal or lease termination:

Step 1: Contact your lawyer immediately (or get one if you don't have one yet)

Step 2: Do NOT move out

Step 3: Prepare retaliation defense

Step 4: Challenge write-ups as pretextual

What happens in court:

Landlord's argument: "This isn't retaliation. Tenant has pattern of lease violations. See all these write-ups."

Your argument: "These write-ups are part of the retaliation. They were created after my code complaint to manufacture justification for retaliatory non-renewal. [Present timeline, evidence of fabrication, selective enforcement, etc.]"

Court's analysis: Examines timing and pattern. If write-ups started after complaint, are fabricated/pretextual, and target only you—court concludes write-ups are part of retaliation scheme, not legitimate grounds.

Likely outcome: Non-renewal blocked as retaliatory. You stay in apartment. Landlord may face penalties.

Special Considerations: Harassment Law Also Applies

Your situation may violate both retaliation law AND harassment law:

NYC Harassment Law

NYC harassment rules specifically identify as harassment:

"Course of conduct that interferes with tenant's comfort, peace, or quiet for purpose of forcing tenant out or surrendering rights"

Creating false violation claims qualifies:

You can:

Harassment claim is additional to retaliation claim:

Combining Retaliation and Harassment Claims

In court, you can argue:

Retaliation (RPL § 223-b):

Harassment:

Two legal theories, same factual pattern, stronger case.

The Truth About This Retaliation Tactic

Here's what you need to know:

This is a common and well-recognized retaliation pattern. Courts see it frequently. Judges know landlords create fake paper trails to disguise retaliation.

The law specifically protects against this. One-year presumption and retaliation analysis account for pretextual enforcement.

Timing is your strongest evidence. Sudden enforcement after years of no issues, immediately following code complaint, proves retaliation.

Write-ups strengthen your case, not landlord's. Each fabricated/exaggerated write-up is evidence of retaliation, not evidence against you.

You don't have to prove landlord's subjective intent. Circumstantial evidence (timing, pattern, selective enforcement) proves retaliation.

Landlords rarely overcome the presumption when pattern is this clear.

Free legal representation is available. Right to Counsel (NYC eviction cases) or legal services.

You have the right to call code enforcement without retaliation. This right is legally protected specifically because lawmakers knew landlords would try exactly this tactic.

Fighting back sends a message to landlord and other tenants that retaliation has consequences.

If you don't fight:

The law exists to prevent this outcome. Use it.

Document everything. Timeline, write-ups, threats, evidence of fabrication. Get lawyer. Fight the retaliation. Win your case. Stay in your home.

Your right to safe housing and your right to report code violations are both legally protected.

Defend them.

Find out if you have a case in 30 seconds →