What Is an Unlawful Detainer? The Eviction Lawsuit Explained
The Summary Suit for Possession · What It Is · What a Landlord Must Prove · The Defenses · Timeline · How a Judgment Follows a Tenant
An unlawful detainer is the lawsuit a landlord files to take back possession of a rental when a tenant stays past a valid, expired notice. Put plainly: the unlawful detainer is the eviction lawsuit. The eviction notice you serve first is only a demand; it does not remove anyone. The unlawful detainer is the court case that turns that demand into a judgment, a writ of possession, and a sheriff who returns the keys. This guide explains what the action is, where it sits in the eviction sequence, why it moves faster than an ordinary lawsuit, exactly what a landlord must prove, the defenses that defeat it, how it differs from small claims and ejectment, its timeline and cost, and how a judgment follows a tenant into every future screening report.
The word “detainer” is old legal English for wrongfully holding on to something. An unlawful detainer, then, is a tenant unlawfully holding on to possession of a home after the right to be there has ended. The lawsuit gets its name from the wrong it corrects. In roughly half the states the eviction case is literally captioned “unlawful detainer.” In the rest it goes by a different label — forcible entry and detainer, summary process, summary ejectment, or a dispossessory warrant — but the machinery is the same in every state: a fast, possession-focused court case that only a judge can decide and only a sheriff can enforce.
Below, a short overview video summarizes the action; the sections that follow break down each piece in depth — the definition, the full eviction sequence, why it is “summary,” the landlord’s burden of proof, the tenant defenses, the neighboring legal actions it is often confused with, the terminology by state, the timeline and costs, and the lasting mark a judgment leaves on a tenant’s record.
Unlawful Detainer at a Glance
What It Is
The eviction lawsuit itself
Decides
Possession — who may occupy
Why “Summary”
Expedited, short deadlines
Filed After
The notice period expires
What an Unlawful Detainer Actually Is
An unlawful detainer is the formal civil lawsuit a landlord or property owner files to recover possession of a rental unit from a tenant or occupant who no longer has a legal right to remain. It is the eviction case — the courtroom stage of the eviction process — and it is the only lawful route to force a tenant out. The name describes the wrong being remedied: the tenant is detaining (holding) the property unlawfully (without a present right to be there) after a valid notice has expired.
People often use “eviction” and “unlawful detainer” as if they were the same thing, but they name different scopes. Eviction is the whole arc, from the first missed rent payment to the sheriff handing back the keys. The unlawful detainer is one specific link in that chain: the lawsuit a landlord files after serving a notice and before a judge orders the tenant out. You cannot be evicted directly by a landlord; you are evicted through the judgment that an unlawful detainer produces. Our full walkthrough of how to evict a tenant covers the surrounding steps in detail.
Possession, Not Money, Is the Point
The defining feature of an unlawful detainer is that it decides possession — who has the legal right to occupy the unit right now. It is not primarily a lawsuit about money. A judge in an unlawful detainer answers one core question: should the tenant stay or go? Many states let the same judge also award the back rent owed, but the possession question is the heart of the case, and it is what makes the action move so quickly. Everything about the procedure — the short notice, the tight answer deadline, the narrow issues, the quick hearing — exists to resolve possession without letting the dispute drag on for months.
A Court Case, Never a Do-It-Yourself Removal
Because the unlawful detainer is a lawsuit, it runs entirely through the court and the sheriff. A landlord may never skip it and remove a tenant personally. Changing the locks, taking off a door, removing belongings, or shutting off utilities to force a tenant out is an illegal “self-help” eviction in every state, and it exposes the landlord to damages, penalties, and the tenant’s attorney fees. The unlawful detainer exists precisely so that a neutral judge — not the landlord — decides whether a person loses their home.
The Notice Is Not the Lawsuit
A common and costly misunderstanding: serving an eviction notice does not start the unlawful detainer, and it does not remove the tenant. The notice is a pre-lawsuit demand that gives the tenant a set number of days to pay, cure the problem, or leave. Only when that period expires without compliance may the landlord file the unlawful detainer. Filing before the notice period ends — even by a single day — is the fastest way to get the whole case dismissed.
Takeaway
An unlawful detainer is the eviction lawsuit itself — the court case that decides possession after a notice expires. It is the only lawful way to remove a tenant, it is about who may occupy rather than money, and it must run through a judge and a sheriff, never through the landlord’s own hands.
Where the Unlawful Detainer Fits in the Eviction Sequence
The unlawful detainer does not stand alone. It is the middle stage of a fixed sequence that every lawful eviction follows, in the same order, in every state. Understanding the whole chain shows exactly where the lawsuit begins and ends — and why each earlier step has to be perfect for the lawsuit to succeed.
Valid grounds
A legally recognized reason to end the tenancy: unpaid rent, a lease violation, illegal activity, or a lawful end of tenancy. No valid ground, no case.
Written notice
The landlord serves the correct notice — pay or quit, cure or quit, unconditional quit, or notice to vacate — and waits out its period. This precedes the lawsuit.
Unlawful detainer complaint
Once the notice period expires without compliance, the landlord files the unlawful detainer complaint at the local court. This is where the lawsuit begins.
Summons served
The tenant is formally served with the summons and complaint by a process server or sheriff — a separate step from the eviction notice.
Tenant’s answer
The tenant has a short window — often only five days — to file a written answer raising any defenses. No answer can mean a default judgment.
Hearing or trial
If the tenant answers, the court holds a fast hearing focused almost entirely on possession and the landlord’s documentation.
Judgment
The judge rules. A judgment for possession ends the lawsuit stage and entitles the landlord to remove the tenant.
Writ of possession
The landlord asks the clerk for the writ — the order directing the sheriff to remove the tenant and restore possession.
Sheriff lockout
The sheriff posts a final deadline and, if the tenant has not left, physically removes them and returns the keys. Only now is the eviction complete.
The unlawful detainer proper is steps three through seven: from filing the complaint to the judgment. Everything before it — the grounds and the notice — is the foundation the lawsuit rests on, and everything after it — the writ and the lockout — is enforcement of the judgment the lawsuit produced. A weakness anywhere in the chain flows straight into the lawsuit. A defective notice, for example, is not a notice problem at the hearing; it is a fatal hole in the unlawful detainer itself. When a tenant simply refuses to engage with any of it, our guide on what to do when a tenant won’t leave covers how to keep the case moving.
Takeaway
The unlawful detainer is the lawsuit stage — complaint through judgment — sandwiched between the notice that precedes it and the writ and lockout that enforce it. Because each earlier step feeds the lawsuit, a flaw in the grounds or notice becomes a flaw in the unlawful detainer.
Why an Unlawful Detainer Is a “Summary” Proceeding
An unlawful detainer is what lawyers call a summary proceeding — a court case deliberately stripped down and sped up. That single design choice explains almost everything unusual about how these cases behave, and why they move so much faster than an ordinary civil lawsuit that can take a year or more.
Short Deadlines Throughout
In a normal lawsuit, a defendant may have thirty days or more to respond. In an unlawful detainer, the tenant’s window to file an answer is often just five days after personal service, sometimes a little longer for other service methods. The hearing follows quickly — frequently within one to three weeks of the answer rather than months out. Every deadline is compressed because the law treats the question of who lives in a home as urgent for both sides.
A Narrow Set of Issues
A summary proceeding also limits what the court will consider. The judge is focused on possession: did the landlord have grounds, was the correct notice properly served, did the period expire, and does the tenant still occupy the unit? Claims that would belong in an ordinary lawsuit — a sprawling dispute over unrelated damages, for instance — are usually pushed out of the unlawful detainer and into a separate case, so the possession question can be answered fast. This narrowness cuts both ways: it speeds the landlord’s case, but it also means a tenant’s valid, on-point defense (a bad notice, say) gets full attention because there is little else to distract the court.
Priority on the Court’s Calendar
Courts generally give unlawful detainers priority scheduling. Because housing is at stake, these cases are set ahead of much of the ordinary civil docket. The hearing itself is short — commonly ten to thirty minutes — because the issues are narrow and the decision rests on documents. Preparation, not eloquence, decides the outcome.
Summary Speed Cuts Both Ways
The expedited timeline is designed to protect the landlord’s right to possession, but it protects the tenant too: a tenant with a genuine defense can raise it and win quickly, without a year of litigation. And the same short deadlines that pressure the tenant also pressure the landlord — miss a service requirement or a filing deadline, and the whole compressed process resets to the beginning.
Takeaway
“Summary” means fast and narrow: short deadlines, a possession-only focus, and priority scheduling. The speed serves both sides — it lets a landlord recover the unit quickly and lets a tenant with a real defense defeat the case without drawn-out litigation.
What a Landlord Must Prove
An unlawful detainer is not won by simply asserting that a tenant should leave. The landlord carries the burden of proof and must establish each required element with documents. Miss or mis-prove any one and the judge dismisses the case — sending the landlord back to serve a fresh notice and start over.
| Element | What the Landlord Must Show | Usual Proof |
|---|---|---|
| Landlord-tenant relationship | That the parties have a rental relationship over this unit | Signed lease or evidence of a tenancy |
| A valid ground | A legally recognized reason: unpaid rent, a lease violation, illegal activity, or a lawful end of tenancy | Rent ledger, photos, incident reports, lease terms |
| Correct notice, properly served | The right notice type, the right number of days, the right amount, delivered by an approved method | Copy of the notice plus a signed proof of service |
| The period expired | That the full notice period passed without the tenant paying, curing, or leaving | Dated service record and a calendar count |
| Continued occupancy | That the tenant still holds the unit despite the expired notice | Observation, mail, utilities, testimony |
The element landlords fail most often is the notice. It is the foundation of the whole case: if the notice named the wrong amount, gave too few days, omitted a tenant, or was served in a way the court will not accept, the unlawful detainer collapses no matter how much rent is genuinely owed. For nonpayment cases specifically, our guide on how to deal with a non-paying tenant details how to demand exactly the right amount and avoid the partial-payment traps that void a notice.
Judges Decide These Cases on Paper
An unlawful detainer is won or lost on documentation, not on how compelling a story sounds. The landlord who arrives with the signed lease, the served notice, a clean proof of service, and a complete rent ledger has proven the case; the one who arrives with only an account of what happened usually has not. If it is not documented, to the court it did not happen.
Takeaway
A landlord must prove a tenancy, a valid ground, a correct and properly served notice, an expired period, and continued occupancy — all with documents. The notice element fails most often, and a notice defect sinks the whole case regardless of how much rent is owed.
The Tenant Defenses That Defeat a Case
Because the unlawful detainer turns on precise procedure, most winning tenant defenses attack the landlord’s own paperwork and conduct rather than deny the underlying facts. A tenant does not have to prove they paid to win; they only have to show the landlord failed to do something the law requires. Here are the defenses that come up most, and the landlord conduct that invites each one.
| Defense | What It Argues | How a Landlord Avoids It |
|---|---|---|
| Defective notice | Wrong notice type, wrong number of days, or an inflated rent amount | Serve the exact correct notice; demand base rent only; count days carefully |
| Improper service | The notice or summons was not delivered by an approved, provable method | Use personal, substituted, or post-and-mail service and keep proof |
| Retaliation | The filing punishes a repair request, code complaint, or tenant organizing | Document a legitimate, contemporaneous reason; do not file right after a complaint |
| Discrimination | The eviction targets a protected class under fair housing law | Apply rules consistently; never act on a protected characteristic |
| Breach of habitability | The unit was uninhabitable and the landlord ignored serious repairs | Answer every maintenance request in writing and fix defects promptly |
| Acceptance of rent | The landlord took rent after serving the notice, waiving it | Return post-notice payments or document a written reservation of rights |
| Payment / cure | The rent was actually paid, or the violation was timely cured | Keep a complete ledger and honor a valid, timely cure |
Why the Notice Defenses Dominate
The first two rows — a defective notice and improper service — account for more dismissals than every other defense combined. Courts are strict about them because the notice is what gives the tenant a fair chance to fix the problem before losing their home. A notice that overstates the rent, gives one fewer day than the law requires, or was slid under a door with no proof of service is not a technicality to a judge; it is a failure to give the legally required warning, and it dooms the case.
The Conduct-Based Defenses
Retaliation and discrimination are different in kind: they attack the landlord’s motive, not the paperwork. A tenant who was current on rent until they reported a code violation, then received an eviction filing days later, has a natural retaliation argument. A landlord defeats these defenses by acting consistently, documenting a legitimate business reason contemporaneously, and never letting a protected characteristic or a tenant’s exercise of a legal right factor into the decision to file.
Takeaway
Most winning defenses attack procedure and motive, not the facts. Notice defects and improper service defeat more cases than anything else, while retaliation and discrimination attack the landlord’s reason for filing. A landlord beats all of them the same way: correct paperwork, provable service, consistent conduct, and a documented, legitimate ground.
Unlawful Detainer vs. Other Legal Actions
Landlords frequently confuse the unlawful detainer with neighboring court actions that look similar but do very different work. Choosing the wrong action wastes time and can put a landlord in a court that cannot give the relief they actually need. Here is how the unlawful detainer compares with the two it is most often mixed up with.
| Action | What It Decides | Can It Return the Unit? |
|---|---|---|
| Unlawful detainer | Possession — the right to occupy the unit | Yes — this is the only action that produces a lawful removal |
| Small claims | Money only — unpaid rent, damages up to a cap | No — it cannot order a tenant out |
| Ejectment | Possession where there is no tenancy (e.g. a title dispute or a holdover with an ownership claim) | Yes, but it is a slower ordinary lawsuit, not a summary one |
Unlawful Detainer vs. Small Claims
The single most important distinction: an unlawful detainer decides possession, and small claims decides money. A landlord who is owed back rent but also needs the unit back cannot get the property returned in small claims — that court can only enter a money judgment. The unlawful detainer is the action that returns the unit. In many states the judge in the unlawful detainer can also award the back rent as part of the same case, but where that is not available, a landlord recovers possession through the unlawful detainer and pursues the money separately.
Unlawful Detainer vs. Ejectment
Ejectment is the action for recovering possession when the occupant is not a tenant — there is no landlord-tenant relationship, often because the dispute involves ownership, title, or a person who was never a lawful tenant at all. Ejectment is an ordinary civil lawsuit, not a summary proceeding, so it is slower and more involved. For most residential landlords with a signed lease and a tenant who overstayed, the correct action is the unlawful detainer, not ejectment. One neighboring edge case — occupants who never had a lease at all — is covered in our squatter rights guide.
Takeaway
Match the action to the relief you need. Unlawful detainer returns the unit; small claims recovers money; ejectment handles possession where there is no tenancy. Only the unlawful detainer — a fast summary proceeding — produces a lawful eviction of an actual tenant.
What It Is Called in Your State
The same lawsuit goes by different names depending on where the property sits. The label changes; the function does not. Knowing your state’s term matters because it is what you will search for in court forms, local rules, and filing instructions. These are examples of the common terminology — always confirm the exact caption used by your local court.
| Term | Where You’ll See It | Meaning |
|---|---|---|
| Unlawful Detainer | California, Virginia, and many other states | The eviction lawsuit to recover possession |
| Forcible Entry and Detainer (FED) | Texas, Colorado, Oregon, Illinois, and others | The same summary possession action, older name |
| Summary Process | Massachusetts, Connecticut | The expedited eviction case |
| Summary Proceeding | New York | The special possession proceeding in housing court |
| Dispossessory | Georgia | The dispossessory warrant and hearing |
| Summary Ejectment | North Carolina | The small-claims eviction action |
Do not be thrown by the variety. Whether the paperwork says unlawful detainer, forcible entry and detainer, summary process, or dispossessory, you are looking at the same animal: a fast, possession-focused court case filed after a notice expires. For a state-by-state look at the underlying notice rules that trigger each of these actions, see the eviction notice laws by state reference, and for how a tenancy ends in the first place, the lease termination laws by state guide.
Takeaway
The eviction lawsuit is called unlawful detainer in many states, forcible entry and detainer, summary process, summary proceeding, or dispossessory in others — different names for one thing. Learn your state’s term so you can find the right forms and rules.
How Long It Takes and What It Costs
An unlawful detainer is fast by lawsuit standards, but “fast” still spans a wide range depending on your state and whether the tenant contests. Use these ranges to set expectations, then confirm your own state’s specifics.
| State Type | Answer Window | Filing to Judgment | Total Through Lockout |
|---|---|---|---|
| Fast (Texas, Georgia, Arizona) | A few days | Two to three weeks | Three to five weeks |
| Average (Florida, North Carolina, Ohio) | Five to ten days | Three to five weeks | Four to eight weeks |
| Tenant-protective (California, New York, New Jersey) | Five to thirty days | Six to sixteen weeks | Two to six months |
The timeline balloons the moment anything goes wrong. A contested case adds a hearing and often weeks of delay; a defective notice or bad service forces a full restart, which can cost more time than the original filing. That is why precision at the notice stage is the single biggest lever on how fast an unlawful detainer resolves.
What an Unlawful Detainer Costs
Think of the cost in buckets, and remember that the out-of-pocket court fees are usually the smaller part.
- Filing fee. A court cost that generally runs from about one hundred to a few hundred dollars, depending on the state and the amount claimed.
- Service fee. A process server or sheriff typically charges roughly fifty to a hundred and fifty dollars to serve the summons and complaint.
- Attorney fee. Optional for a simple, uncontested case, but a contested unlawful detainer can add anywhere from a thousand to several thousand dollars in legal fees.
- Lost rent and turnover. Almost always the largest cost — the rent never collected while the case runs, plus cleaning, repairs, and re-renting afterward. On a multi-month case this dwarfs every court fee.
The Real Cost Is the Time
Add it up and even a smooth, uncontested unlawful detainer commonly costs the equivalent of one to two months’ rent once lost income is counted; a contested one in a slow state can run to several months’ rent plus legal fees. That total is the number to weigh against the modest, one-time cost of screening an applicant thoroughly before move-in — the comparison is not close.
Takeaway
A clean unlawful detainer resolves in weeks; a contested one in a slow state takes months. The court fees are small — the real cost is lost rent and turnover, which is why avoiding the case entirely through screening is the cheapest outcome of all.
How a Judgment Follows the Tenant
An unlawful detainer does not end when the sheriff hands back the keys. For the tenant, the case leaves a lasting record that can shape their housing options for years — and for the next landlord considering that same applicant, that record is a warning worth reading.
The Record It Creates
Unlawful detainer filings and judgments are public court records. Eviction-history databases used in tenant screening pull directly from these court files, so an unlawful detainer can surface on a screening report long after the case closes. In many states, even a filing that did not end in a judgment can appear for years. A judgment for possession is among the most damaging single items on a rental application: it signals to a prospective landlord that this applicant was, at least once, on the losing end of an eviction lawsuit.
Why the Next Landlord Cares
Past behavior is the best available predictor of future behavior. An applicant with a prior unlawful detainer judgment has demonstrably reached the point where a landlord had to go to court to recover the unit — usually over unpaid rent or a serious violation. That does not automatically disqualify anyone, and fair-housing and fair-credit rules require that such information be weighed consistently and fairly. But it is exactly the kind of red flag a careful landlord wants surfaced before handing over the keys, not discovered after the next unlawful detainer has already begun.
The Screening Connection
This is where the whole subject loops back to prevention. The surest way never to file an unlawful detainer is to avoid renting to an applicant whose history predicts one. A thorough tenant screening report surfaces prior eviction filings and judgments, unpaid collections, a pattern of late payments, and income that does not support the rent — the very signals that precede most unlawful detainer cases. Reviewed consistently and in compliance with fair-credit and fair-housing rules, that information lets a landlord approve strong applicants with confidence and decline the ones most likely to end up as the defendant in the next case.
Takeaway
An unlawful detainer leaves a public court record that follows the tenant into future screening for years. For the next landlord, that record is a red flag — and catching it through thorough screening before move-in is how you avoid becoming the plaintiff in the next case.
Catch the Red Flags Before You Ever File
A prior unlawful detainer shows up in screening. Comprehensive credit, criminal, and nationwide eviction history — so you approve strong applicants and decline the ones headed for court.
Frequently Asked Questions
What does unlawful detainer mean?
Unlawful detainer is the legal name for the lawsuit a landlord files to recover possession of a rental from a tenant who no longer has the right to stay. The phrase literally means holding possession of property unlawfully — continuing to occupy after a valid notice has expired. In many states the eviction lawsuit itself is called an unlawful detainer; in others it is a forcible entry and detainer, a summary process, or a dispossessory action, but the function is the same.
Is an unlawful detainer the same as an eviction?
The unlawful detainer is the court case that produces an eviction. Eviction is the whole process — grounds, notice, lawsuit, judgment, and the sheriff removing the tenant. The unlawful detainer is the lawsuit stage specifically: the formal complaint a landlord files after the notice period ends, asking a judge to order the tenant out. You cannot be evicted by a landlord directly; you are evicted through the judgment and writ that the unlawful detainer produces.
Why is an unlawful detainer called a summary proceeding?
Because it is stripped down and fast. A summary proceeding uses short deadlines, a narrow set of issues, and a quick hearing so that possession of housing is not tied up in court for months. The tenant answers in days rather than weeks, the case is limited mainly to who has the right to possess the unit, and the trial is short. Courts prioritize these cases precisely because a home is at stake on both sides.
What must a landlord prove in an unlawful detainer?
Generally four things: that a landlord-tenant relationship exists, that a valid ground for eviction occurred (such as unpaid rent or a lease violation), that the correct written notice was properly served and its period expired without the tenant complying, and that the tenant still occupies the unit. Miss or mis-prove any element — most often a defective or improperly served notice — and the case is dismissed.
What are the most common defenses to an unlawful detainer?
The strongest tenant defenses attack the landlord’s own paperwork and conduct: a defective notice (wrong type, wrong number of days, or an inflated rent amount), improper service of the notice or the summons, acceptance of rent after the notice was served, retaliation for a repair request or code complaint, discrimination against a protected class, breach of the warranty of habitability, and proof that the rent was actually paid. Many cases turn on the notice, not the underlying dispute.
How long does an unlawful detainer case take?
From filing to judgment, a straightforward, uncontested unlawful detainer often resolves in about two to four weeks in landlord-friendly states and roughly four to eight weeks in average states. When the tenant contests the case, or in tenant-protective states such as California, New York, and New Jersey, it can stretch to two to several months. Any defect that forces the landlord to start over adds weeks, because the notice clock restarts.
What is the difference between an unlawful detainer and small claims?
An unlawful detainer decides possession — who has the right to occupy the unit — and is the only action that can result in a court-ordered removal. Small claims decides money only; it cannot return the unit to the landlord. A landlord often uses the unlawful detainer to regain the property and a separate small-claims or civil action to collect unpaid rent and damages, though many states let a judge award back rent within the unlawful detainer itself.
Does an unlawful detainer show up on a tenant screening report?
Frequently, yes. Unlawful detainer filings and judgments are court records, and eviction-history databases used in tenant screening pull from them. A prior unlawful detainer — even a filing that did not end in a judgment in some jurisdictions — can appear for years and is one of the most damaging items on a rental application. That is exactly why thorough screening before move-in catches applicants with a history of being on the losing end of these cases.
Can a tenant win an unlawful detainer case?
Yes. Tenants win when the landlord’s notice was defective or improperly served, when rent was actually paid or was accepted after the notice, when the unit was uninhabitable and the landlord ignored repair requests, or when the filing was retaliatory or discriminatory. Because the action is summary and possession-focused, a tenant with a valid procedural defense can defeat even a landlord who is otherwise owed rent — and force the landlord to start the whole process over.
What happens after a landlord wins an unlawful detainer?
Winning the judgment does not by itself remove the tenant. The landlord asks the court clerk for a writ of possession, delivers it to the sheriff or marshal, and the sheriff posts a final short deadline. If the tenant has not left, the sheriff — never the landlord — physically removes them and returns possession. Only after that lockout does the landlord regain control of the unit.
Do I need a lawyer for an unlawful detainer?
A simple, uncontested case is often handled without a lawyer, especially where the court provides fill-in forms. But because a single procedural mistake restarts the process and any defense turns the case into litigation, many landlords hire a landlord-tenant attorney for contested cases or in tenant-protective jurisdictions. This guide is general information, not legal advice — consult a licensed attorney in your state for a specific situation.
Ready to Screen Your Next Tenant?
Get comprehensive credit, criminal, and eviction reports — make confident leasing decisions and avoid the next unlawful detainer before it starts.
Related Landlord Guides
Published by Tenant Screening Background Check
Established 2004 · 20+ Years · All U.S. States & Territories · Statute-Based · Attorney-Reviewed
A Private Eye Reports™ service trusted by landlords, property managers, and attorneys.

