Unlawful Detainer Process: What Tenants Need to Know
An unlawful detainer action is the formal court procedure landlords use to regain possession of a rental unit after a tenant remains in occupancy without legal right. This page covers how unlawful detainer proceedings are initiated, what procedural stages tenants will encounter, the factual circumstances that trigger these cases, and the legal boundaries that separate a valid filing from an improper one. Understanding the mechanics of unlawful detainer is essential because the timeline is compressed — in most states, a tenant may have as few as 5 days to respond before a default judgment is entered.
Definition and scope
Unlawful detainer is a statutory cause of action that gives a landlord the right to recover possession of real property through an expedited civil court process. It is distinct from an ordinary civil lawsuit: most states assign unlawful detainer cases to a fast-track docket with shortened response windows and limited discovery. The term appears in state civil procedure codes across all 50 jurisdictions, though the label varies — California uses "unlawful detainer" under California Code of Civil Procedure §§ 1159–1179a, while other states use terms such as "summary possession," "summary ejectment," or "forcible entry and detainer."
The Housing and Urban Development Act of 1968 and implementing rules administered by HUD establish baseline procedural protections for tenants in federally assisted housing, including notice requirements before any unlawful detainer action can be filed. At the state level, the primary regulatory framework comes from each state's landlord-tenant act and civil procedure code.
Unlawful detainer is not the same as a simple eviction notice. The notice — such as a pay-or-quit or cure-or-quit notice — is a prerequisite to filing, not the lawsuit itself. For detail on how notice interacts with the eviction timeline, see Notice to Quit and Cure — Tenant Rights and the broader Eviction Process and Tenant Protections framework.
How it works
The unlawful detainer process follows a structured sequence that is substantially the same across jurisdictions, though specific deadlines differ.
-
Pre-filing notice. Before filing suit, the landlord must serve a written notice on the tenant specifying the basis for termination. Common notice types include a 3-day pay-or-quit (for rent nonpayment), a 3-to-10-day cure-or-quit (for lease violations), or an unconditional quit notice (for serious or repeated violations). In jurisdictions with just cause eviction requirements, the notice must also identify a qualifying ground for termination.
-
Complaint filing. If the tenant neither cures the default nor vacates by the notice deadline, the landlord files an unlawful detainer complaint in the appropriate state court — typically a limited civil, general sessions, or district court depending on the jurisdiction. Filing fees in California, for example, are set by statute at $240 for claims involving amounts under $10,000 (California Courts, Uniform Civil Fees).
-
Service of summons. The tenant must be served with the summons and complaint within the time window specified by state law. California requires service at least 5 days before the response deadline; other states require between 7 and 14 days.
-
Tenant response. The tenant files a written answer or demurrer with the court. California allows 5 business days to respond to an unlawful detainer summons — a significantly shorter window than the 30 days allowed in ordinary civil cases (California Code of Civil Procedure § 1167).
-
Trial or default. If the tenant fails to respond, the court may enter a default judgment for the landlord. If the tenant does respond, the court typically schedules a trial within 10 to 20 days. The case is heard by a judge, not a jury, in most jurisdictions.
-
Writ of possession. A landlord who prevails receives a writ of possession, which authorizes the county sheriff or marshal to physically remove the tenant and their belongings if the tenant does not vacate voluntarily. This is the lawful mechanism for removal; self-help eviction prohibitions bar landlords from acting outside this process.
Common scenarios
Unlawful detainer actions arise in 4 primary factual patterns:
Nonpayment of rent is the most common trigger. The landlord must first serve a pay-or-quit notice, wait the statutory period (3 days in California and Texas; 14 days in Washington under RCW 59.12.030), and then file if payment is not received.
Lease violation. The tenant has violated a material lease term — unauthorized occupants, pet policy breach, or property damage — and failed to cure the violation within the notice period. The specific cure period varies by state and by whether the violation is curable. See Lease Agreement Tenant Rights for the underlying contractual framework.
Holdover tenancy. The lease has expired and the tenant remains in possession without the landlord's consent. In jurisdictions without just cause protections, this can trigger an unconditional quit notice followed immediately by an unlawful detainer filing if the tenant does not vacate. No-fault eviction tenant rights are relevant here because in some states, holdover proceedings are constrained by no-fault rules.
Post-foreclosure occupancy. A tenant whose building was sold in foreclosure may face an unlawful detainer action from the new owner. The Protecting Tenants at Foreclosure Act (PTFA) of 2018 requires the new owner to provide at least 90 days' notice before initiating proceedings, with additional protections for tenants holding bona fide leases. See Foreclosure and Tenant Rights for the complete federal framework.
Decision boundaries
Several distinctions determine whether an unlawful detainer action is procedurally valid and what defenses a tenant may raise.
Proper notice vs. defective notice. If the landlord's pre-filing notice was improperly served, contained the wrong dollar amount, or omitted required language, the court lacks jurisdiction to proceed. Courts in California, for example, have dismissed unlawful detainer actions where the 3-day notice stated an incorrect rent amount (California Code of Civil Procedure § 1161).
Retaliation defense vs. legitimate nonpayment claim. A tenant who raised habitability complaints, organized with other tenants, or exercised a protected right within 180 days (60 days in some states) of the landlord's unlawful detainer filing may assert a retaliation defense. In California, Civil Code § 1942.5 creates a rebuttable presumption of retaliation in that window.
Unlawful detainer vs. constructive eviction. These are inverse claims. Unlawful detainer is the landlord's action to recover possession; constructive eviction is the tenant's claim that the landlord's actions or omissions made the unit uninhabitable, effectively forcing the tenant out. If a tenant vacated due to habitability failures, a landlord filing for unpaid rent through unlawful detainer may face this as an affirmative defense.
Subsidized housing vs. market-rate housing. Tenants in HUD-assisted housing have additional procedural protections beyond state law. HUD regulations at 24 CFR Part 247 require written notice of grounds and an opportunity to respond before termination proceedings can begin. See Public Housing Tenant Rights for the federal overlay.
A tenant facing an unlawful detainer action who believes the filing is retaliatory, procedurally defective, or based on a habitability failure should consult Tenant Legal Aid Resources for jurisdiction-specific guidance on available defenses and filing deadlines.
References
- California Code of Civil Procedure §§ 1159–1179a — Unlawful Detainer
- Washington State RCW 59.12.030 — Unlawful Detainer Defined
- U.S. Department of Housing and Urban Development (HUD)
- Protecting Tenants at Foreclosure Act — HUD Program Description
- 24 CFR Part 247 — Eviction from Certain Subsidized and HUD-Owned Projects
- California Courts Self-Help — Eviction (Unlawful Detainer)