How to Fight an Eviction: Defenses, Evidence & Hearings

To fight an eviction, you file a written answer with the court before the deadline on the summons, raise every legal defense that fits your situation, and show up to the hearing with documents that prove what you say. A landlord cannot lock you out, cut your utilities, or remove your belongings without a court order, and the court process gives you several openings to challenge the case. What follows is how to use them.

Read the Notice Before You Do Anything Else

Every eviction begins with a written notice from the landlord, and that notice is not the eviction itself. It is a legal prerequisite, and if the landlord got it wrong, the whole case can be dismissed later.

Check three things on the notice. First, the type. A pay-or-quit notice gives you a set number of days (often three to five, depending on the state) to pay the full back rent or leave. A cure-or-quit notice covers lease violations other than rent and gives you time to fix the problem. An unconditional quit notice demands you leave with no chance to cure and is reserved for serious situations like illegal activity or repeated violations. If the landlord used the wrong type for your situation, that is a defense.

Second, the deadline. Count the days yourself. If the landlord filed the court case before the notice period ran out, the case can be dismissed.

Third, how it reached you. Most states require personal delivery, or a specific backup method such as leaving the notice with another adult in the household and mailing a copy. A paper slipped under the door or taped to a window, without following your state’s procedure, may not count as valid service. Improper delivery is one of the most common reasons eviction cases get thrown out.

File Your Answer On Time

Once the landlord files the lawsuit, sometimes called an unlawful detainer action, you will be served with a summons and complaint. The summons tells you when and where to appear. The complaint lists what the landlord is asking the court to do. Your clock starts the day after service, and it is short. Depending on the jurisdiction and how you were served, you may have as few as five days or as many as 20 to file a written response called an answer.1California Courts. Summons-Unlawful Detainer-Eviction

The answer is a court form. You respond to each of the landlord’s claims and list every defense you plan to raise. Most court websites let you download the form. Be thorough. If you leave a defense off the answer, you may not be able to raise it later at the hearing. After you file with the clerk, deliver a copy to the landlord or the landlord’s attorney.

Missing this deadline is the single most common way tenants lose cases they could have won. If you do not answer in time, the landlord can request a default judgment and the court rules for the landlord automatically, without a hearing. In many jurisdictions you cannot undo a default judgment after the fact.

If you cannot afford the filing fee, ask the court to waive it. You file a fee waiver application, sometimes called a motion to proceed in forma pauperis, stating under oath that you lack the income or resources to pay. Submit the waiver and your answer at the same time. Do not let the fee stop you from responding on time.

Defenses That Can Win Your Case

You do not need to prove the landlord is completely wrong. You need a recognized legal defense. Some defenses attack the landlord’s process, others attack the landlord’s reasons, and either kind can win.

Procedural Defects

Mistakes in the paperwork or process can end the case before the judge weighs the merits. The wrong type of notice, an incorrect deadline, improper service, or filing suit before the notice period expired are all grounds for dismissal. A dismissal on procedure usually forces the landlord to start over.

Uninhabitable Conditions

Landlords are legally required to keep rental units safe and livable. This obligation, the implied warranty of habitability, exists in nearly every state. If your unit has serious problems (no heat, no running water, a pest infestation), and you notified the landlord and repairs never came, you can argue that withholding rent was justified. This defense is strongest when you have written proof that you reported the problem and gave the landlord a reasonable chance to fix it.

Retaliation

A landlord cannot evict you as punishment for exercising your rights. Reporting a code violation to a government agency, requesting legally required repairs, or organizing with other tenants are protected activities. Most states presume retaliation if the eviction comes within a set window after protected activity, often 90 to 180 days. The burden then shifts to the landlord to prove some other motivation.

Discrimination

The federal Fair Housing Act makes it illegal for a landlord to evict you because of race, color, religion, sex, national origin, familial status, or disability.2Office of the Law Revision Counsel. 42 USC 3604 – Discrimination in the Sale or Rental of Housing and Other Prohibited Practices If the stated reason for the eviction is a pretext and a protected characteristic is the real motive, you can raise a discrimination defense. Complaints go to the Department of Housing and Urban Development, and the Department of Justice enforces the statute.3Department of Justice. The Fair Housing Act Many state and city laws add protections for characteristics like sexual orientation or source of income, so check local rules too.

Waiver by Accepting Rent

A landlord who accepts rent after the deadline on a pay-or-quit notice has passed may have waived the right to evict on that notice. Taking the money restarts the tenancy. Gather your proof: cashed check, bank transfer, written acknowledgment. Many landlords accept a partial payment out of habit without realizing the legal consequence.

Gather Your Evidence Now

Start the day you get the notice, not the week of the hearing. Cases turn on what you can prove with documents and photos, not what you remember.

  • For habitability problems, take dated photos and videos. Wide shots of the room and close-ups of the defect. Save every message where you reported the problem.
  • For retaliation, collect your written repair requests, code complaints, and correspondence with any agency. Line up the dates against when the landlord issued the notice or filed suit.
  • For rent history, pull bank statements, receipts, money order stubs, and canceled checks. If the landlord took rent after the notice deadline, that is your key exhibit.
  • Save every text, email, voicemail, and letter from the landlord. Casual exchanges sometimes reveal motive or show the landlord acknowledged a problem.

Put everything in chronological order. Judges in eviction court handle dozens of hearings a day and respond to a clean timeline.

Settle If the Terms Work for You

Most eviction cases do not go to trial. A negotiated outcome often serves both sides better than a ruling.

If the case is about unpaid rent and you can raise the money, many jurisdictions allow a pay-and-stay resolution: you pay the full amount owed plus court costs, and the landlord drops the case. Some courts build this into the judgment itself, giving you a set window after the ruling to pay and stop the eviction. Get any agreement in writing and keep proof of payment.

You and the landlord can also sign a stipulated agreement that the court adopts as an order. A common version gives you extra time to move out in exchange for dropping your defenses. Another creates a payment plan with a clause that the eviction proceeds automatically if you miss a payment. Read these carefully. Once the court adopts the agreement, violating it can trigger immediate eviction without a new hearing.

A landlord may offer cash for keys: money in exchange for you leaving voluntarily. You avoid an eviction judgment on your record, the landlord avoids trial. Get the amount, the move-out date, and a clear promise to dismiss the case in writing. Money paid this way may be treated as taxable income.

A growing number of courts offer mediation, where a neutral third party helps you and the landlord reach a voluntary agreement. Once signed, it becomes enforceable. Mediation works when both sides have room to move, like a tenant who can pay part of the back rent or a landlord willing to extend a deadline.

At the Hearing

Eviction trials are usually scheduled within 10 to 20 days after the answer is filed and tend to be short. In most eviction proceedings you present to a judge, not a jury.

Bring every document you gathered, organized, with an original plus a copy for the landlord’s side. When the judge asks you to explain your defense, be direct and stick to the facts. “I reported the roach infestation in writing on March 3rd, and the landlord filed this eviction on March 18th” carries more weight than a long story about how unfair the situation feels.

The landlord has the initial burden of proving the eviction is legally justified. If the landlord’s case is thin (missing notice, filed too early), point that out first. If the landlord clears the basic case, the burden shifts to you to prove your defense. The judge weighs the evidence from both sides and often rules the same day.

If You Lose

A ruling against you produces an eviction judgment, usually an order to vacate along with a money judgment for unpaid rent, late fees, and the landlord’s court costs. You are not removed that day. The landlord must obtain a writ of possession, and law enforcement carries out the removal after a waiting period that varies by jurisdiction.

You generally have the right to appeal, but the window is tight, often 10 days or less. An appeal moves the case to a higher court for review of legal errors, not a fresh look at the evidence. If you want to stay in the unit during the appeal, most courts require you to deposit rent into escrow, sometimes called a supersedeas bond, typically a few months’ rent or the amount of the judgment, whichever is less.

Rent keeps coming due while the case is pending. Some courts require you to pay ongoing rent into escrow, especially if the trial is postponed or you request a jury trial. Missing those payments can hand the case to the landlord regardless of your other defenses. Paying rent during the case, when you can, also strengthens your good-faith position.

Get Help Before You File Anything

Tenants represented by an attorney fare far better in eviction court than those who go alone. Most tenants cannot afford one, and a growing number of jurisdictions have created right-to-counsel programs that provide free representation to tenants who meet income limits. Five states, 19 cities, and two counties have adopted these programs as of recent counts.4Eviction Lab. Disrupting the Eviction System: Tenant Right to Counsel

Even without a right-to-counsel program, legal aid organizations serve low-income tenants in housing cases, and many courthouses have self-help centers where staff help you complete forms. Find your local legal aid office through your state bar association or call 211 for a referral. Having someone review your answer before you file can decide the case.

One boundary worth knowing before you start: winning does not always erase the paper trail. An eviction filing can appear on tenant screening reports for up to seven years from the filing date, and that window applies to court cases generally, not only cases the landlord won.5Consumer Financial Protection Bureau. How Long Can Information, Like Eviction Actions and Lawsuits, Stay on My Tenant Screening Record Some states allow tenants to seal records when the case was dismissed or decided in the tenant’s favor, so ask about sealing if you win. Fighting the case still matters, both for keeping the home and for what shows up on the record, but it is worth knowing what a victory does and does not clear.