In California, a landlord is flatly forbidden from forcing a tenant out by changing the locks, removing doors or windows, hauling away the tenant's belongings, or shutting off the gas, water, electricity, or other utilities. This is sometimes called "self-help" eviction, and California's main statute on it, Civil Code section 789.3, makes it expensive: a landlord who does this can be on the hook for the tenant's actual damages plus a penalty of up to $100 for each day (or part of a day) the violation continues, with a minimum of $250 per separate cause of action, and the prevailing tenant can recover reasonable attorney's fees and costs. The only legal way to remove a tenant in California is a court case called an unlawful detainer, ending with a sheriff, not the landlord, carrying out the lockout.
What California treats as an illegal lockout or shutoff
Under Civil Code section 789.3, a landlord cannot, with intent to terminate the occupancy, willfully do any of the following:
- Shut off or cause to be shut off any utility service, including water, heat, light, electricity, gas, telephone, elevator, or refrigeration, whether or not the landlord is the one who pays for it.
- Prevent the tenant from getting into the unit by changing the locks, plugging the locks, removing outside doors or windows, or removing any other part of the home.
- Remove the tenant's personal property, furnishings, or other personal effects from the dwelling.
It does not matter whether the tenant is behind on rent, whether the lease has expired, or whether the tenant is technically a "holdover." None of those situations lets a landlord skip court and use force, locks, or a shutoff. The protection also reaches lodgers and most occupants, and many California cities (such as Los Angeles, Oakland, San Francisco, and Berkeley) add their own anti-harassment ordinances with extra fines on top of state law.
The penalties a California landlord faces
The numbers in Civil Code section 789.3 are what give the law teeth. A landlord who violates it is liable to the tenant for:
- Actual damages the tenant suffered (spoiled food, hotel bills, replacement of utilities, the value of property that was taken, and similar losses).
- A statutory penalty of up to $100 per day, or part of a day, that the landlord keeps the violation going, with a floor of $250 for each separate cause of action.
- Reasonable attorney's fees and court costs if the tenant is the prevailing party.
On top of that, a tenant can ask the court for punitive damages in egregious cases under California's general civil rules, and for an injunction ordering the landlord to restore access and turn the utilities back on. Because the per-day penalty stacks, a lockout that drags on for weeks can grow into a serious judgment, and the attorney's fees provision is often what makes a lawyer willing to take the case.
How to regain possession or restore service fast
If you are locked out or your utilities are cut, you usually do not have to wait for a slow lawsuit to resolve. Practical steps in California include:
- Document everything immediately: photos of changed locks or removed doors, the date and time service stopped, utility company confirmation, texts or notes from the landlord, and the names of any witnesses.
- Call local police or the sheriff. An illegal lockout is treated as a civil matter in many places, but officers can sometimes keep the peace and may inform the landlord that a self-help eviction is unlawful.
- Ask a court for emergency relief. A tenant can file for a temporary restraining order and preliminary injunction asking the judge to order the landlord to give back the keys and restore utilities, often within days.
- Contact the utility company directly. If service is in your name, you may be able to have it reconnected, and the company can document that the landlord ordered the shutoff.
- Reach out to legal aid or a tenant's rights group. Many California counties have free or low-cost services that handle lockouts quickly, and the attorney's fees rule means private lawyers may take strong cases.
The lawful path: unlawful detainer in court
A California landlord who genuinely wants a tenant out has to go through the courts. That process generally means serving the correct written notice (for example, a 3-day notice to pay rent or quit, or a 30-day, 60-day, or 90-day notice depending on the situation), then filing an unlawful detainer lawsuit in the California Superior Court for the county where the property sits. If the landlord wins, the court issues a writ of possession, and only the county sheriff or marshal may physically remove the tenant, typically after posting a notice giving the tenant a few days to leave. Tenants in many California cities also have "just cause" protections under the statewide Tenant Protection Act and local rent ordinances, which can limit the reasons a landlord may evict in the first place.
A few important cautions
This article is general legal information, not legal advice. California law changes, exact statutory figures can be updated, and local ordinances in your city may add stronger protections or different procedures. Before you rely on a specific dollar amount, deadline, or code section, confirm the current version of Civil Code section 789.3 and your local rules, or talk with a California attorney or a local tenant's rights organization. If you are facing a lockout or shutoff right now, getting help quickly matters, because the penalties and your remedies can depend on acting before more damage is done.
Frequently asked questions
Can my California landlord shut off my electricity or water if I'm behind on rent?
No. Under California Civil Code section 789.3, a landlord cannot shut off any utility, including water, gas, heat, or electricity, to push you out, even if you owe rent. Doing so exposes the landlord to your actual damages plus up to $100 per day and attorney's fees.
How much can I recover if my California landlord illegally locked me out?
Civil Code section 789.3 allows your actual damages plus a penalty of up to $100 for each day the violation continues, with a minimum of $250 per cause of action, plus reasonable attorney's fees. Punitive damages and an injunction may also be available in serious cases.
What should I do first if I come home to changed locks in California?
Document the locked door with photos and the date, then seek emergency help. You can ask a Superior Court for a temporary restraining order to get back in, call local police to keep the peace, and contact legal aid or a tenant's rights group right away.
Is it ever legal for a California landlord to remove a tenant without going to court?
No. The only lawful way to evict in California is an unlawful detainer lawsuit in Superior Court. If the landlord wins, only the county sheriff or marshal can carry out the lockout under a writ of possession, never the landlord personally.
Do California cities add extra penalties for tenant lockouts and harassment?
Yes. Cities such as Los Angeles, Oakland, San Francisco, and Berkeley have tenant anti-harassment ordinances that can impose additional fines and remedies on top of Civil Code section 789.3. Check your city's rules or ask a local tenant's rights organization.
This article is general legal information, not legal advice, and may not reflect the most current law or the law in your jurisdiction. Laws vary by state and change over time. For advice about your specific situation, consult a licensed attorney.