This page is written for a landlord or owner holding an order to vacate, or a notice that points toward one. The order may cover a garage conversion, a back unit or an apartment in a larger building. The tenants have to leave, the repairs are still ahead, and there is a question of what is owed to the people who live there. Below is how the state rule works, who it reaches, how the amount owed is found, what changes if the property is sold, and how the owner's options compare.

If a city or county orders tenants out of a California rental unit because its violations endanger their immediate health and safety, the owner generally owes those tenants relocation benefits under state law. The local enforcement agency decides which tenants qualify. A city or county ordinance may add its own payments, notices or steps on top of the state rule.
On this page
What It Means for Owners
An order to vacate is issued by a local enforcement agency. That is usually the city's or county's building, housing or code enforcement office. It differs from an eviction that an owner starts. The owner did not choose to end the tenancy. The agency found the conditions unsafe. That trigger decides which rules apply.
The state baseline is in the California Health and Safety Code. Health and Safety Code section 17975 provides that a tenant "who is displaced or subject to displacement from a residential rental unit as a result of an order to vacate or an order requiring the vacation of a residential unit by a local enforcement agency as a result of a violation so extensive and of such a nature that the immediate health and safety of the residents is endangered, shall be entitled to receive relocation benefits from the owner as specified in this article."
The duty runs from the owner, not from a property manager and not from the tenant. Some tenancies may also fall under separate statewide tenant-protection rules that are not based on a code order. Whether those rules overlap with a code-order displacement depends on the tenancy.
Who It Affects
Section 17975 reaches owners of residential rental units whose tenants are displaced by an agency's order to vacate. The order must rest on a violation serious enough to endanger the residents' immediate health and safety. The local enforcement agency decides which tenants are eligible for benefits.
Unpermitted units are included. The statute says a "residential rental unit" includes "a unit rented by a tenant for human habitation, regardless of the zoning designation or approved uses of the building, that is located in a building or portion thereof that is deemed or found to be a substandard building." A tenant in a garage conversion, a basement room or an ADU that was never permitted can therefore still qualify. The fact that the space was never approved does not remove it from the rule. Owners dealing with that kind of space often look into building code violations and how legalization works.
Under the statute, the trigger is an order requiring the tenants to leave. A notice to correct asks for repairs while tenants stay in the unit. It does not, by itself, fit the language of section 17975.
How Much Is Owed, and When
This is usually the first practical question, and the answer comes from more than one place. Section 17975 itself establishes the entitlement and leaves the details to the rest of the article it begins: the benefits are owed "as specified in this article." The amounts and timing for the state baseline are set out in those following sections, not in section 17975 alone.
Local law can then change the picture, often a great deal. Under a city or county code, what is owed can depend on the number of units, the length of the tenancy, whether the unit is the tenant's main home, and whether the owner lives on the property. A local code can also exempt some owner-occupied buildings, and it may set its own payment schedule, notice steps or filings, such as a relocation plan or a notice to a rent board. Those terms are found in the ordinance for the place where the property sits, through its municipal code, rent board or housing department. They are not assumed from another city's rules.
Two other points shape the number. The agency's eligibility decision determines which tenants are counted. And relocation benefits are owed because of the order, so they are a separate matter from returning a tenant's security deposit.
If Relocation Benefits Go Unpaid
Penalties for unpaid relocation benefits are set by the governing law, meaning the state article and any local ordinance that applies. How a tenant pursues an unpaid amount, and what the consequences are for the owner, also come from those sources. A written record of what was paid, when and to whom tends to matter if the question comes up. A contested claim with a tenant is a matter for an attorney.
Rules for a Sale
If the owner sells, a second set of rules comes in. Civil Code section 1102 applies the state's seller-disclosure article to transfers of single-family residential property. These include transfers by sale, exchange, real property sales contract, lease with an option to purchase, any other option to purchase, or ground lease coupled with improvements. Section 1102(c) adds: "Any waiver of the requirements of this article is void as against public policy." A buyer paying cash, or accepting the house as it is, does not change those duties.
The duties do change depending on the kind of transfer and on who the buyer is. Civil Code section 1102.2 lists exemptions, including:
- "Sales or transfers from one coowner to one or more other coowners"
- Transfers to a spouse, or to a person or persons in the line of consanguinity of one or more of the transferors
- Transfers to or from any governmental entity
- Court-ordered sales, foreclosure sales and certain fiduciary transfers
The list continues in the statute. It also exempts "any portion of a property not constituting single-family residential property." For that reason, whether the article reaches a multi-unit rental depends on how the property is classified.
Options and Trade-offs
Every path starts from the same point. The relocation duty attaches when the order issues, and selling does not erase what is owed to displaced tenants. A sale contract can assign costs between seller and buyer. The tenant's rights still run against whoever the law holds responsible.
Correct and re-rent. The owner pays what is owed and corrects the violations through permits and inspections. Once the agency clears the order, the unit can be rented again. The owner keeps the property and carries the repair cost. Neither permit approval nor a closed case is promised, and the time involved depends on the agency and the work. Owners on this path often look into the cost to fix code violations and how code enforcement fines grow while a case stays open.
Sell in present condition to a cash buyer. A house can be sold in its present condition, with any disclosure duty still applying. A buyer who pays cash and takes the property as it is takes on the correction work. That buyer often offers less than an open-market sale would bring, because the buyer carries the repairs, the risk and the cost of reselling. In exchange, the seller deals with less preparation, fewer showings and less dependence on a buyer's loan.
List with a real estate agent. An open-market listing can reach more buyers. It requires the same disclosures and may lead to talks over price reductions or repair credits. The guide to selling with code violations covers sale paths in more depth.
These paths are usually compared through written offers and estimated net proceeds. That means the price less commissions, repairs, carrying costs, loan payoffs and closing costs. A dispute with a tenant, a co-owner, a lender or the agency is a different subject, handled by an attorney.
Common Mistakes
Several missteps come up again and again with vacate orders, and most trace back to reading one rule in isolation.
One is relying on state law alone, when the local ordinance may carry its own payments, notices or filings. Another is treating an unpermitted unit as exempt, even though section 17975(b) covers rented units regardless of zoning or approved use when they are in a substandard building. Owners also sometimes miss required notices; whether a notice is required, and when it runs, comes from the order and the local ordinance that applies.
On the sale side, a frequent assumption is that a cash or as-is sale ends disclosure. Section 1102(c) voids a waiver, and the exemptions in section 1102.2 turn on the kind of transfer and who the buyer is, not on how the buyer pays.
Finally, the order is sometimes confused with an eviction. An order to vacate comes from the enforcement agency, while an eviction is a separate court process with its own procedures. And re-renting before the agency clears the order and the permits are finaled can create new problems with the agency.
Where the Answers Are Found
The order itself names the violations, the compliance deadline and often the code sections relied on. It is also where the agency's decision on tenant eligibility usually starts. The local relocation schedule, if any, sits in the city's or county's municipal code, rent board or housing department. For broader context, code violation help explains how correction and legalization proceed.
Other professionals handle related questions. A CPA, an enrolled agent or a tax attorney handles income-tax questions raised by a sale or a payment. The county assessor's or tax collector's office handles property-tax questions. An attorney handles a contract or a dispute. Comparing what the order and the local ordinance each ask of the owner is often the practical starting point.
Ready to talk through your options?
Share the details of your notice. You choose whether contractors or a sale consultant may contact you.
Get help with my propertyFrequently asked questions
Does a code enforcement order always require the owner to pay relocation assistance?
Not every order does. Section 17975 applies when an agency orders tenants out because a violation endangers their immediate health and safety. The agency decides which tenants are eligible. A notice to correct, with tenants staying, does not fit that language.
Do tenants in unpermitted units have relocation rights in California?
They can. Section 17975(b) counts a unit rented for human habitation "regardless of the zoning designation or approved uses of the building" when it is in a substandard building.
What is the difference between a notice to correct and an order to vacate?
A notice to correct asks the owner to fix violations while tenants stay in the unit. An order to vacate requires the tenants to leave. The state relocation rule is tied to an order to vacate.
Can an owner sell a property that has an open code violation and a tenant relocation order?
Yes. A property can be sold in its present condition. Any disclosure duty under Civil Code section 1102 still applies unless a section 1102.2 exemption fits. The relocation duty that attached when the order issued is not erased by the sale.
Does a cash buyer or as-is sale eliminate the seller's disclosure duties?
No. Section 1102(c) voids any waiver. Exemptions in section 1102.2 depend on the kind of transfer and the buyer. Examples include transfers between co-owners, to a spouse, to a person in the line of consanguinity of a transferor, or to a governmental entity. How the buyer pays is not a factor.
How does an owner find out what relocation amount is owed?
The article that section 17975 begins sets the state terms. Any local schedule is published by the city's or county's rent board, housing department or municipal code. The amount depends on where the property sits.