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
