In an eviction case, retaliation can be raised either as an affirmative defense or as a counterclaim, and in most jurisdictions you can raise both in the same Answer. The defense exists to defeat the eviction and keep you in your home; the counterclaim exists to recover money from the landlord for the retaliatory conduct. Whether to use a retaliation defense or counterclaim in eviction cases, or both, depends on what you want out of the case and what your state’s statute allows.
What Each One Does
An affirmative defense is a shield. You are telling the court that even if the landlord’s stated grounds look valid on paper, the real reason for the eviction is retaliation for a protected activity, and that makes the eviction unlawful. If the defense succeeds, the court denies the landlord’s petition for possession. You stay. You do not collect money.
A counterclaim is a sword. You are asserting your own claim against the landlord and asking the court to award damages for what the retaliatory conduct cost you. If the court finds for you on the counterclaim, you can recover money even while the eviction question is being decided.
The two work well together. A landlord facing a credible defense plus a damages claim has more reason to negotiate, drop the case, agree to repairs, or settle on move-out terms you can live with. The tradeoff is that a counterclaim can carry its own filing requirements and fees, and you carry the burden of proving your damages. The defense alone is enough if your only goal is to stop the eviction. Add the counterclaim when the landlord’s conduct actually cost you something you want back, or when you want the leverage.
Procedurally, you raise the affirmative defense in your Answer to the eviction complaint, and you must specifically name retaliation as a defense rather than just denying the landlord’s allegations. Skipping that step can waive the defense. Some courts let you include the counterclaim in the same Answer; others require a separate filing. Check your local rules before you draft.
You Have to Have Done Something the Law Protects
Retaliation protections only apply after you exercise a right the statute shields. Three categories cover most situations.1Calhoun County, Alabama. Alabama Uniform Residential Landlord and Tenant Act
The first is filing a complaint with a government agency responsible for enforcing building or housing codes about a condition that affects health and safety: mold, broken fire escapes, faulty wiring, lead paint, and the like. The complaint has to involve a real hazard, not cosmetic issues.
The second is complaining directly to the landlord about a failure to maintain the property. Written requests for repairs to heat, plumbing, pest problems, or anything else affecting livability all qualify. A text or email creates a record that a verbal complaint will not, and that record becomes central if the landlord later denies you ever asked.1Calhoun County, Alabama. Alabama Uniform Residential Landlord and Tenant Act
The third is joining or organizing a tenant union or similar collective organization.2Yale Law & Policy Review. Tenant Union Law Many state statutes expressly bar eviction proceedings tied to organizing activity.
What the Landlord Did Has to Count as Retaliation
Filing for eviction is the most direct form, and courts scrutinize eviction filings that follow close on the heels of a protected activity. But retaliation is broader than that. A sudden rent increase with no lease provision or market justification can qualify. So can cutting services: shutting off utilities, removing laundry or parking access, or ignoring maintenance requests the landlord previously handled. Threatening eviction, even without filing, violates the statutory framework.1Calhoun County, Alabama. Alabama Uniform Residential Landlord and Tenant Act
What judges look for is a change in the landlord’s behavior that lines up with your protected activity. Two years of a quiet tenancy followed by an eviction notice a month after you called code enforcement tells its own story.
The Timing Presumption
Most states with retaliation protections set a window during which an adverse action is presumed retaliatory. The window varies from three months to one year, with six months common. If the landlord acts within that window after your protected activity, the burden flips: the landlord has to prove a legitimate, non-retaliatory reason.
The presumption is rebuttable. The landlord can defeat it by proving a genuine business reason with evidence: documented lease violations, a real plan to sell or renovate, nonpayment. A vague claim that you were “difficult” will not do it.
Outside the statutory window, you can still argue retaliation, but the burden stays with you. That is a harder case, which is why timing and documentation matter so much.
What Will Sink the Defense
Several situations weaken or destroy a retaliation defense, and knowing them in advance keeps you from building on a shaky foundation.
Unpaid rent. This is where most retaliation defenses collapse. If you owe back rent when the landlord files for eviction or serves a notice to vacate, the defense is typically unavailable. The landlord has an independent, legitimate reason to seek eviction. Across most states that follow the URLTA framework, rent delinquency at the time of filing defeats the defense. For the presumption to work in your favor, your rent has to be current.
Unrelated lease violations. Disturbing neighbors, unauthorized pets, subletting without permission, or other documented breaches give the landlord a non-retaliatory basis for eviction. The landlord still has to prove the violation is real and not pretextual, but genuine violations make retaliation much harder to sustain.
Bad faith complaints. Many statutes require that you acted in good faith. A code complaint you knew was baseless, or complaints made in a harassing manner, can forfeit the protection.
Tenant-caused conditions. If the violation you reported was primarily caused by your own household’s negligence, the defense weakens. A landlord addressing a problem the tenant created is not retaliating.
No statute in your state. A handful of states have no statutory protection against retaliatory eviction. Common-law arguments may still exist, but you lose the statutory presumption and the defined remedies. Check your state’s landlord-tenant code before building a strategy around protections that may not be on the books where you live.
Evidence Carries the Claim
Retaliation cases live and die on documentation. Start with copies of every written complaint you sent the landlord, in any format. Pair those with inspection reports from code enforcement, which independently confirm your complaints were grounded in real safety concerns. Pull together rent receipts, bank statements, or money order stubs showing a consistent payment history. If the landlord claims the case is about unpaid rent, your payment record is the first thing you reach for.
Digital communications matter, and they have to be authenticated to be admissible. Take screenshots that include sender contact information, timestamps, and the full thread. If you print them, be ready to testify or supply an affidavit that the printout accurately reflects the original. A text from your landlord saying “you’ll regret calling the inspector” is devastating evidence, but only if the court accepts it in.
Build a timeline. Plot the dates of your protected activities next to the dates of the landlord’s adverse actions. A code complaint on March 3 and an eviction notice on April 15 is the core of the case. The closer the two sit, the stronger the inference.
Filing the Answer and Counterclaim
Once you are served, your response window is short. Deadlines run from as few as five days to around 30, depending on jurisdiction and the type of eviction. Miss the deadline and you can forfeit the defense entirely. The summons usually states the deadline.
Your response is generally called an Answer, and the form is available from the housing court clerk or the court’s website. In it, identify retaliation as an affirmative defense, describe the protected activity, and state the specific retaliatory action the landlord took. If you are also filing a counterclaim for damages, some courts let you include it in the same document, while others require a separate filing.
Filing fees vary. Some jurisdictions charge nothing for an Answer in an eviction case. Others charge into the low hundreds. If you cannot afford the fee, ask the clerk for a fee waiver application, sometimes called an In Forma Pauperis petition; approval generally requires showing that paying would cause financial hardship.
After filing, you have to serve copies on the landlord or the landlord’s attorney. Most courts require service through a process server or sheriff rather than personal delivery by you. File the proof of service with the court. Defective service can get your defense dismissed or delayed, so do not treat it as a formality.
The court will then schedule a hearing or, in some jurisdictions, a mandatory mediation. Filing the Answer generally lets you remain in the property until the court reaches a final decision.
What You Can Recover
If you prove retaliation, the remedies depend on your state’s statute. Three categories are common.
Actual damages cover out-of-pocket losses: space heaters you bought when the landlord cut the heat, time missed from work for court, moving costs or temporary housing tied to a retaliatory notice.
Statutory damages are fixed or formulaic amounts set by state law and vary widely. Some states cap recovery at one to two months’ rent. Others allow a multiple of actual damages or a flat amount plus one month’s rent.
Attorney fees are recoverable in many states when the tenant prevails, which lowers the financial risk of fighting back and gives the landlord a real reason to settle. Some states tie fee recovery to a fee-shifting clause in the lease itself, so read your rental agreement.