How to Evict a Tenant in California: The Unlawful Detainer Process, Step by Step
In California, a landlord evicts a tenant through a court lawsuit called an unlawful detainer. The process runs in a strict order: serve the correct written notice, file the unlawful detainer complaint if the tenant does not comply, serve the tenant, proceed to trial if they respond, obtain a judgment for possession, and have the county sheriff carry out the lockout. A landlord cannot remove a tenant personally — only the sheriff can.
When a tenant stops paying or refuses to leave, most California property owners want one thing: their property back, as quickly as the law allows. The route to get there is a court process called an unlawful detainer, and it is unforgiving of shortcuts. Every step has to be done in order and done correctly — a single defect can send you back to the beginning. Here is the roadmap, from the owner's side.
What "unlawful detainer" actually means
An unlawful detainer is the specific lawsuit California uses to remove a tenant and restore possession to the owner. It is the only lawful way to evict. Changing the locks, shutting off utilities, or removing a tenant's belongings — often called "self-help" — is illegal in California and can expose an owner to significant liability, even when the tenant is clearly in the wrong. The court process exists precisely so owners do not have to resort to that.
Step 1: Serve the correct written notice
Every eviction begins with a written notice, and the right notice depends on the reason. Nonpayment of rent generally calls for a three-day notice to pay rent or quit. A curable lease violation calls for a three-day notice to perform covenants or quit. Ending a month-to-month tenancy calls for a 30-day or 60-day notice, and where the state's just-cause rules apply, a qualifying reason may be required as well.
The notice is the foundation of the entire case. If it states the wrong amount, gives the wrong number of days, uses the wrong form, or is served improperly, the rest of the case can collapse on that defect alone.
Step 2: File the unlawful detainer complaint
If the tenant does not pay, cure the violation, or move out by the deadline in the notice, the next step is filing an unlawful detainer complaint in the superior court for the county where the property sits — Alameda, Contra Costa, San Francisco, San Mateo, Santa Clara, San Diego, Los Angeles, and so on. Each court has its own local rules and filing procedures.
Step 3: Serve the summons and complaint
Once filed, the tenant must be formally served with the summons and complaint. From that point the tenant has a limited window to respond. Unlawful detainer cases are handled on an expedited timeline compared to ordinary lawsuits, which is one reason precision matters so much — there is little room to fix errors along the way.
Step 4: Default or trial
If the tenant does not respond within the allowed time, the owner can ask the court for a default judgment. If the tenant does respond and contests the case, it is set for trial. Because these cases move quickly, both sides present their evidence in short order, and the correctness of the notice and service is frequently what decides the outcome.
Step 5: Judgment and writ of possession
If the owner prevails, the court enters a judgment for possession and issues a writ of possession. This is the document that authorizes the sheriff to act. A judgment alone does not put the owner back in the property — the writ is what moves the process to enforcement.
Step 6: The sheriff performs the lockout
With the writ in hand, the county sheriff posts a notice to vacate and, if the tenant has not left, physically restores possession to the owner. Only the sheriff can perform the lockout. This is the final step, and it is the point at which the owner lawfully regains the property.
Where landlords lose the case
Most failed evictions do not fail on the merits — they fail on procedure. The recurring culprits are a miscounted notice period, a wrong dollar amount in a pay-or-quit notice, improper service, using the wrong type of notice, or accepting rent after the notice in a way that undermines it. Any one of these can void the notice and force the owner to restart, adding weeks or months. We have written separately about the single notice mistake that most often restarts an eviction.
How long the whole process takes varies by county and by whether the tenant contests it; an uncontested case moves faster than one that goes to trial. The most important variable, in every county, is whether each step was done correctly the first time.