When a California employer ends the job of an employee who lives in company housing, the employer usually still has to go to court to get the unit back. Code of Civil Procedure section 1161 lets an employer bring an unlawful detainer case against a former employee who stays after the employment ends, but it doesn’t authorize changing the locks or removing belongings. A lockout or utility shutoff can bring daily statutory penalties and attorney fees, on top of any wrongful termination or retaliation claim the employee files.
Does ending the job end the right to stay?
Often, but the employer still needs a court order to remove the person. Code of Civil Procedure section 1161, paragraph 1, includes “the case where the person to be removed became the occupant of the premises as a servant, employee, agent, or licensee and the relation of master and servant, or employer and employee, or principal and agent, or licensor and licensee, has been lawfully terminated or the time fixed for occupancy by the agreement between the parties has expired.”
Two words in that sentence matter. The employment must be “lawfully terminated,” so an employee who claims the firing was retaliatory may raise that in the eviction case. And if the employee pays rent under a separate lease, the arrangement may be an ordinary tenancy with its own notice rules, including any local just-cause ordinance.
Can the employer change the locks?
No. Civil Code section 789.3(b) bars a landlord, “with intent to terminate the occupancy under any lease or other tenancy or estate at will, however created,” from willfully changing locks, removing doors or windows, or removing the occupant’s belongings without consent. Subdivision (a) separately bars cutting off utilities with that intent.
The penalties add up quickly. Under section 789.3(c), a violating landlord is liable for actual damages plus “An amount not to exceed one hundred dollars ($100) for each day or part thereof the landlord remains in violation,” with a minimum of $250 for each separate cause of action. The court “shall award reasonable attorney’s fees to the prevailing party.”
| Arrangement | Likely process | Key risk |
|---|---|---|
| Housing provided as part of the job | Unlawful detainer under CCP § 1161, para. 1 | Employee contests whether termination was lawful |
| Separate rental lease with the employer | Ordinary landlord-tenant notice rules | Local rent and just-cause ordinances |
| Any arrangement | No self-help | Lockout penalties under Civ. Code § 789.3 |
Are any occupants excluded?
A few. The landlord-tenant chapter doesn’t cover certain hotel and motel occupancies described in Civil Code section 1940(b), such as transient stays subject to hotel tax. Section 789.3’s lockout ban also doesn’t apply to those occupancies. Most employee housing (farmworker housing, an apartment for a resident manager, a cottage on a ranch or estate) won’t fit those exclusions.
Why does the eviction matter in the employment case?
Because the two cases feed each other. An employee who is fired and then evicted often sues for wrongful termination and retaliation, and the eviction becomes part of the damages story. Aggressive move-out tactics read badly to a jury. A measured process, a reasonable move-out period, and a written agreement usually cost less than the claim they help avoid.
What should an employer do before ending a job that includes housing?
Plan the housing exit before the termination meeting.
- Preserve the offer letter, housing agreement or lease, any rent or lodging-credit records, and the termination documentation.
- Calendar the notice periods that apply, and check whether a local rent ordinance covers the unit and whether the EPLI policy covers claims tied to housing.
- Identify who occupies the unit, including family members who aren’t employees.
- Pull the final pay calculation and confirm that no housing charges are being deducted without written authorization.
- Talk to counsel before serving any notice, changing access, or offering a move-out payment in exchange for a release.
Disputes like these are part of defending employers in employee housing disputes.
Employee housing questions employers ask
Can the employer offer money to move out?
Yes, and it’s often the fastest path. A written move-out agreement with a date, a payment, and a release of employment claims can resolve both issues at once. The release must meet the usual requirements for a valid release of employment claims, and the payment shouldn’t be structured as a deduction from final wages owed.
What if family members live in the unit too?
The unlawful detainer must name and serve the actual occupants. Family members who never worked for the employer may argue they’re tenants in their own right. That’s another reason to document, at the start, who is permitted to live in employee housing and on what terms.
Does the employee keep living there during a wrongful termination lawsuit?
Not automatically. The eviction and the employment lawsuit are separate cases. But if the employee argues the termination was unlawful, the eviction court may have to consider that question, and the two cases can affect each other. Coordinating the strategy in both is important.
If a former employee is still in company housing
If a terminated employee is refusing to leave company housing or has sued over the termination, the housing agreement and how the employer has handled the move-out usually shape both cases. Rosenberger + Kawabata represents employers defending employment lawsuits and claims through its business litigation practice, including claims involving employer-provided housing. Contact Rosenberger + Kawabata online for a confidential consultation, or call (310) 894-6921.
Sources
The statutes are Code of Civil Procedure section 1161 and Civil Code sections 789.3 and 1940.
This post is general information about California and federal employment law as of November 7, 2026. It is not legal advice, and reading it does not create an attorney-client relationship. Employment statutes, regulations, and court decisions change often, and the outcome of any claim depends on its facts. Past results do not guarantee future outcomes.