How to Answer an Eviction Lawsuit (Unlawful Detainer)

✓ Law Verified June 10, 2026

How to answer an eviction lawsuit is something every tenant should understand before walking into court. If your landlord has filed an unlawful detainer case against you, the clock is already ticking. Filing a written answer is your chance to tell the court your side. It puts your defenses on record. It stops the landlord from getting an automatic win. In most cases, learning how to answer an eviction lawsuit is the single most important step you can take to protect your housing.

The short answer: When you get served with an eviction complaint (also called an unlawful detainer), you must file a written “answer” with the same court that issued the summons — usually within 5 to 10 days, depending on your state. Your answer denies the landlord’s claims, lists your legal defenses, and asks the court to dismiss the case. File it at the court clerk’s office, keep a copy for yourself, and serve a copy on your landlord or their attorney. If you do not file an answer, the court can rule against you automatically — without ever hearing your side.

When and Why You Need to Know How to Answer an Eviction Lawsuit

You need to file an answer as soon as you receive eviction court papers. These papers are different from the initial notice your landlord taped to your door. The court summons and complaint are the official lawsuit. Ignoring them leads to a default judgment. That means the judge rules for the landlord without a hearing. You could lose your home in days.

Advertisement

Understanding how to answer an eviction lawsuit matters because your answer is your only chance to raise defenses. For example, if your landlord never fixed a broken heater, that is a habitability defense. If your landlord is retaliating because you reported a code violation, that is a retaliation defense. However, if you do not put these defenses in your answer, many courts will not let you bring them up later.

Filing an answer also buys you time. Instead of an automatic loss, you get a court hearing. A judge will listen to both sides. Many tenants who file answers are able to negotiate better outcomes — more time to move, reduced amounts owed, or even a dismissal of the case.

What to Include in Your Answer (and What to Leave Out)

Your answer needs four main parts. First, the caption — this is the header that matches the court papers you received. Copy the court name, case number, and party names exactly. Second, a general denial — a statement that you deny the landlord’s claims. Third, your affirmative defenses — the legal reasons the eviction should fail. Fourth, a signature under penalty of perjury.

Common defenses include improper notice (the landlord’s notice had the wrong date or amount), breach of habitability (the unit has serious repair issues), retaliation (the landlord filed after you complained), and discrimination (the eviction targets you because of a protected characteristic). You can list multiple defenses. In fact, you should list every defense that applies. Defenses you leave out may be waived permanently.

Your deadline to file depends on your state. Missing it by even one day can result in an automatic loss. Check your summons for the exact date and count carefully — some states count court days (skipping weekends), while others count calendar days.
State Deadline to File Answer Day Type Key Statute
California 10 days Court days CCP § 1167 (as amended by AB 2347, eff. Jan. 1, 2025)
Florida 5 days Calendar days (excl. weekends/holidays) Fla. Stat. § 83.56
New York 10 days Calendar days RPAPL § 743
Washington 7 days Court days RCW 59.18.365
Nevada 5 judicial days Business days NRS 40.253
Georgia 7 days Calendar days OCGA § 44-7-51
Colorado By hearing date (5–10 days from summons) Calendar days CRS § 13-40-111

Leave out personal attacks on your landlord. Leave out long stories. The answer is a legal document, not a letter. Keep it factual. Stick to defenses the law recognizes. If you are unsure which defenses apply to you, contact a local legal aid office for guidance.

Sample Template You Can Adapt

Below is a general template for how to answer an eviction lawsuit. Every state’s courts are different, so check your local court’s self-help website for any required forms. In California, for example, you would use form UD-105 instead of a freeform answer.

Sample template — adapt to your state and your situation. This is an informational sample, not legal advice.

[Name of Court, e.g., Superior Court of the State of ______, County of ______]

[Landlord Name], Plaintiff
v.
[Your Name], Defendant
Case No.: [Case Number from Summons]

DEFENDANT’S ANSWER TO COMPLAINT FOR UNLAWFUL DETAINER

Defendant [Your Name] answers Plaintiff’s complaint as follows:

GENERAL DENIAL
Defendant denies each and every allegation in Plaintiff’s complaint.

FIRST AFFIRMATIVE DEFENSE — Defective Notice
The notice served on Defendant was legally defective because [state the specific defect, e.g., “it failed to state the correct amount of rent owed” or “it did not allow the full [exact statute days] days required by [state statute]”].

SECOND AFFIRMATIVE DEFENSE — Breach of Habitability
Plaintiff failed to maintain the rental unit in a habitable condition. Specifically, [describe conditions, e.g., “the unit has had no working heat since [Date]” or “there is an unrepaired water leak in the bathroom since [Date]”]. Defendant notified Plaintiff of these conditions on [Date].

THIRD AFFIRMATIVE DEFENSE — Retaliation
Plaintiff filed this eviction in retaliation for Defendant’s exercise of a legal right, specifically [describe protected activity, e.g., “reporting code violations to the city housing department on [Date]”].

[Add or remove defenses as needed for your situation.]

PRAYER FOR RELIEF
Defendant requests that Plaintiff’s complaint be dismissed, that Defendant be awarded costs, and any other relief the court deems just.

I declare under penalty of perjury under the laws of the State of [State] that the foregoing is true and correct.

Date: [Date]
Signature: ___________________________
Printed Name: [Your Name]
Address: [Your Address]
Phone: [Your Phone Number]

📨 Get Free Tenant Rights Guides Alerts

Free · No spam · Unsubscribe anytime

How to Send It So It Counts

File your answer in person at the court clerk’s office listed on your summons. Bring at least three copies — one for the court, one for the landlord, and one for yourself. Ask the clerk to stamp all copies with the filing date. In many states, filing fees for tenants answering an eviction are low or free.

Colorado, for example, prohibits courts from charging tenants any fee to file an answer in eviction cases. If you cannot afford the fee, ask for a fee waiver form and file it at the same time.

After filing, you must serve a copy on your landlord or their attorney. Typically, you can mail it by first-class mail to the address listed on the complaint. In some states, you can hand-deliver it. As a result, keep proof of how and when you served it — a certificate of mailing or a signed receipt. This proof matters if the landlord later claims they never got your answer.

Some courts now allow e-filing. Check your court’s website. However, do not rely on email alone unless your court specifically allows it. If you are running close to your deadline, file in person to be safe. Many courts close at 4:00 or 5:00 p.m. — arriving at 4:55 p.m. on your last day is risky. Plan to file at least one day early if possible.

Frequently Asked Questions

What happens if I miss the deadline to file my answer?

The landlord can ask the court for a default judgment. That means you lose without a hearing. However, you may be able to file a motion to set aside the default if you had a valid reason for missing the deadline — like improper service or a medical emergency. In California, you typically have 30 days to file this motion under CCP § 473(b). Act fast and contact a legal aid office immediately.

Do I need a lawyer to file an answer?

No. You can file an answer on your own. Many tenants do. However, having a lawyer improves your chances significantly. As of 2026, Washington state provides free attorneys to low-income tenants facing eviction under RCW 59.18.365. New York City, San Francisco, Philadelphia, and over 20 other cities also have right-to-counsel programs. Check with your local legal aid office to see if free help is available in your area.

Can I raise defenses if I actually owe rent?

Yes. Owing rent does not mean you have no defenses. For example, if your apartment has serious habitability problems, the court may reduce the amount you owe. If the landlord’s notice had the wrong amount or did not give you enough days, the case may be dismissed entirely. Knowing how to answer an eviction lawsuit lets you put these issues in front of a judge even when rent is past due.

Can I file an answer if I already moved out?

Yes. You should still file an answer if the landlord is seeking a money judgment for unpaid rent. Without an answer, the court may award the landlord the full amount they claim — plus attorney’s fees and court costs. Filing an answer lets you dispute the amount and raise any defenses you have.

Will an eviction show up on my record even if I win?

In many states, the filing itself can appear on tenant screening reports. However, some states now allow you to seal or expunge eviction records if the case was dismissed or decided in your favor. Knowing how to answer an eviction lawsuit and getting the case dismissed is the best way to protect your rental history.

Bottom line: Learning how to answer an eviction lawsuit is the most important thing you can do when you get served with court papers. File your answer before the deadline, list every defense that applies, and keep copies of everything. You may be able to get the case dismissed, win more time, or reduce what you owe — but only if you show up and respond. If you are facing eviction right now, contact your local legal aid office or tenant rights organization as soon as possible.

Protect your stuff while you sort this out

A landlord’s insurance does not cover your belongings — renters insurance does, often for a few dollars a month. Compare options before your next move.

Compare Renters Insurance →

Find Your State’s Exact Rules

Notice periods, deposit caps, and the eviction timeline all change from state to state. Pick your state to see the exact days, dollar limits, and steps that apply where you live.

See Tenant Rights in All 50 States →

Sources & How to Verify

The rules on this page are drawn from official government and legal-aid sources. Tenant law changes, so always confirm the exact rule with your state’s statute or a local legal-aid office.

  • HUD: hud.gov — federal renter protections and fair housing
  • Legal Services Corporation: lsc.gov — find free legal aid in your state
  • Cornell Legal Information Institute: law.cornell.edu/wex — plain-English legal definitions
  • Your state statute & court self-help portal: search “[your state] landlord tenant act” and “[your state] court self-help eviction” for the exact law and forms

Content last reviewed June 2026. If you notice outdated information, please contact us.

Related Guides

Renting? Protect your belongings — compare renters insurance at Home Insure Guide. Divorce involving a lease? See Divorce Help Guide. Unsafe housing / toxic mold injury? Some cases qualify — see Mass Tort Info.