If you own a property you purchased at a foreclosure sale, the deed is in hand, the purchase is paid for, and someone else still has the keys. That person may be the borrower who lost the home, a renter who signed a lease with the old owner, or someone you have never met. Each of those people stands in a different legal position, and the notice that starts the case depends on which one is inside.

How California Law Treats Occupants After a Foreclosure Sale

A foreclosure sale transfers title. It does not transfer possession, which is a separate legal step. Title passes when the foreclosing lender's trustee records a trustee's deed upon sale, the deed that conveys the property to the purchaser at the foreclosure sale. Getting the occupants out is a second step, and it runs through the courts.

That court step is an unlawful detainer: the California court process by which a property owner recovers possession from someone who has no legal right to stay. An ordinary eviction rests on Code of Civil Procedure section 1161, which lists the tenant's breaches, such as holding over, nonpayment and breaching other covenants. A post-foreclosure eviction rests on a different section. Code of Civil Procedure section 1161a reaches a person who "holds over and continues in possession" after property has been sold in listed ways, including:

  • a sale under a writ of execution
  • a judicial foreclosure sale
  • a sale "under a power of sale contained in a deed of trust"
  • a sale by the occupant or the person the occupant claims under

The list continues. In each case the text requires that "the title under the sale has been duly perfected."

Three kinds of occupant can be in a foreclosed property: the former owner, a tenant who was renting before the sale, and anyone else. The notice and protections differ for each, which is why the next sections take them one at a time.

Self-help is not an option. The California Courts guide Eviction cases in California says that a landlord cannot lock a tenant out, shut off utilities or throw out the tenant's belongings to make them leave, and must go through the court process. A landlord who does not may have to pay the tenant a penalty.

For a new owner in this situation, recovering possession is a separate legal step from holding title.

The Former Owner Is Still There: Notice and the Eviction Path

The former owner who signed the deed of trust has no lease with the buyer. Code of Civil Procedure section 1161a provides that a person who holds over after a qualifying sale "may be removed therefrom as prescribed in this chapter" once "a three-day written notice to quit the property has been served upon the person." A notice to quit is a written demand that the occupant leave by a stated deadline. If there is a subtenant in actual occupation of the premises, the section requires that the notice also be served on that subtenant. Service must follow the method the unlawful detainer statutes prescribe for notices.

The longer notice periods written for tenants do not protect the borrower. Code of Civil Procedure section 1161b, discussed below, states that it "shall not apply if any party to the note remains in the property as a tenant, subtenant, or occupant."

If the notice period runs out and the former owner is still there, the owner may file an unlawful detainer complaint and have the summons and complaint served. The case leads toward a writ of possession. That is the court order directing the levying officer, the county sheriff or marshal who enforces it, to remove the occupants and return the property to the owner.

If a former owner is still in the property, the path to possession runs through a written notice and then the court.

Tenants in Place at Foreclosure: Federal and State Protections

A renter who was there before the sale gets more protection than the borrower. This page uses bona fide tenant to mean a person renting under a lease or rental agreement that predates the foreclosure sale who is not the borrower or a member of the borrower's family. Code of Civil Procedure section 1161b describes the related situations in its own terms.

For a tenant "under a month-to-month lease or periodic tenancy at the time the property is sold in foreclosure," Code of Civil Procedure section 1161b requires "90 days' written notice to quit" before removal. A tenant holding "a fixed-term residential lease entered into before transfer of title at the foreclosure sale" has "the right to possession until the end of the lease term." The section also provides that the lease's rights and obligations survive the foreclosure. The new owner may still end that lease on 90 days' written notice if any of these four conditions applies:

  1. The purchaser or successor will occupy the unit as a primary residence.
  2. The lessee is the mortgagor or the mortgagor's child, spouse or parent.
  3. The lease was not the result of an arm's length transaction.
  4. The lease requires rent substantially below fair market rent, except when rent is reduced or subsidized under a federal, state or local subsidy or law.

The section places the burden of proof on the purchaser to show that a fixed-term lease is not protected. It also states that it does not affect any local just-cause eviction ordinance. A city's own rules may add requirements beyond the statewide text.

Code of Civil Procedure section 1161a(c) sets a separate floor. A tenant or subtenant of a rental housing unit sold in a listed way must receive written notice to quit "at least as long as the term of hiring itself but not exceeding 30 days." Section 1161a defines "rental housing unit" as property rented "for residential occupancy." These tenant rules are therefore written for residential housing. A commercial occupant of foreclosed property is a separate matter, covered on the page about California commercial eviction.

The tenant may also have known the sale was coming. Before the sale, Civil Code section 2924.8 requires the trustee to post a notice at the property and the lender's side to mail one to the "Resident of property subject to foreclosure sale." That requirement applies to loans secured by residential real property when the billing address differs from the property address. The notice tells renters that the new owner may offer a new lease or give a 90-day eviction notice.

A federal statute may also apply. Under 15 U.S.C. § 9058(c), the lessor of a covered dwelling may not require the tenant to vacate before 30 days after giving a notice to vacate. The lessor also may not issue that notice until the 120-day period that began on March 27, 2020 has expired. Subsection (a) defines covered property as property that participates in a covered housing program or the rural housing voucher program, or that has a federally backed mortgage loan or federally backed multifamily mortgage loan.

Unknown Occupants Inside: The Prejudgment Claim of Right to Possession

A foreclosed house can hold people the new owner has never seen: an adult child, a roommate, a subtenant the former owner let in. The prejudgment claim of right to possession exists for that problem. It is a procedure that lets an occupant who is not named in the unlawful detainer complaint assert a right to possession before judgment is entered. Its purpose is that the judgment and writ bind every occupant, not only the people named in the complaint.

The procedure works at the service stage. It is used when the summons and complaint are served, and it gives occupants who are present but unnamed a way to come forward and make their claim during the case, before the judgment. The Judicial Council of California publishes the statewide unlawful detainer forms, including the claim form used with this procedure.

For a buyer who does not know the full list of people inside, whether this step was taken can affect who the writ reaches when the levying officer arrives. It belongs in the planning before the complaint is served, not after judgment.

If there are people inside who were never named in the complaint, whether this step was taken affects who the writ reaches.

From Judgment to Possession: The Writ and the Levying Officer

Winning the case produces a judgment for possession, the court's order that the owner is entitled to recover the property. Code of Civil Procedure section 1174 provides that when the findings favor the plaintiff, "judgment shall be entered for the possession of the premises." The section also provides that the judgment may be enforced through the state's enforcement-of-judgments procedures.

The California Courts guide Eviction cases in California describes the next steps for residential cases. If the landlord wins, the judge issues a writ of possession that tells the sheriff to evict the tenant. The sheriff then posts a Notice to Vacate, which the guide says gives the tenant "a few days to move out." If the occupants are still there after that, the levying officer returns and restores possession to the owner. The levying officer's fee schedule is published by the county sheriff's or marshal's office. More detail is on the page about the writ of possession and lockout.

Code of Civil Procedure section 1174(c) can delay a writ, but only in nonpayment cases. It applies when the case is for unlawful detainer after default in rent, the lease has not expired by its terms, and the notice did not elect forfeiture. In those cases the court may order that no writ issue until five days after judgment is entered. The court must order that delay when the lease is in writing, is for more than one year and has no forfeiture clause. During those five days the tenant, a subtenant, a mortgagee of the term or another interested party may pay into court the rent found due with interest, the damages and the costs. The same subdivision states that "in all other cases the judgment may be enforced immediately." That nonpayment path is explained on the page about nonpayment of rent eviction.

Personal property left behind is also governed by statute. Code of Civil Procedure section 1174 sets out how the landlord stores, releases or disposes of it. In every case, the property comes back through the levying officer's enforcement of the writ, not through anything the owner does alone.

When an Occupant Fights Back: What a Contested Case Looks Like

An answer from the occupant changes the shape of the case. The California Courts guide Eviction cases in California says that if the tenant does not respond, the landlord can ask the judge to decide without the tenant. That outcome is a default. If the tenant responds, either side can ask for a trial, and the court sets a trial date.

In a contested post-foreclosure case, the owner can expect each element of Code of Civil Procedure section 1161a to be tested. The questions include whether the sale was one the section lists, whether title was perfected as that section requires, and whether the right notice was served on the occupant and any subtenant in the manner the statutes prescribe. A person claiming to be a tenant may argue that Code of Civil Procedure section 1161b protects them. Where a fixed-term lease is involved, the burden is on the purchaser to show the lease is not protected. A federally backed loan or a covered housing program can bring 15 U.S.C. § 9058(c) into the analysis.

The California Courts guide Give your tenant notice warns that a notice missing required information could cost the landlord the case. It also says a landlord cannot evict for illegal reasons such as discrimination or retaliation. Facing a former owner who has answered after months of carrying a property that produces no income is hard. Even so, the outcome turns on the deed, the notice and the service. More on the trial stage is on the page about contested evictions.

If an occupant files an answer, the case turns on whether every element of the notice and the sale can be shown on the record.

Private consultation

You Don’t Have to Work This Out Alone

If you’re dealing with occupants who stayed after a foreclosure, we’re here to talk it through.

Every property problem has its own facts. When the rent stops coming in or a tenant won’t leave, it can weigh on you. Call or send us a message to request a consultation with our eviction attorney, and we’ll listen and help you understand the options in your situation.

California Landlord Rights Group

  • 100% Confidential

What happens next

  1. Call or send a messageWhichever feels easier.
  2. Tell us what’s going onIn confidence, in your own words.
  3. Talk through your optionsThen decide, in your own time, what comes next.

Frequently Asked Questions

Does a foreclosure sale automatically remove occupants from the property?

No. The sale and the recorded trustee's deed upon sale transfer title, not possession. Occupants who stay must be removed through an unlawful detainer case. That case starts with the written notice to quit that fits the occupant and ends with a judgment and a writ enforced by the levying officer.

What is the difference between evicting a former owner and evicting a tenant after foreclosure?

The former borrower receives the three-day written notice to quit described in Code of Civil Procedure section 1161a. Section 1161b does not apply to a party to the note who remains. A prior residential tenant may be entitled to a longer notice, and a pre-sale fixed-term lease may run to its end unless one of the four listed conditions applies.

Can a new owner change the locks or remove belongings to get occupants out after a foreclosure?

No. The California Courts self-help guide states that a landlord cannot lock a tenant out, shut off utilities or throw out belongings, and must go through the court process. A landlord who does not may owe the tenant a penalty. Possession returns through a judgment for possession and the levying officer's enforcement of a writ.

What is a prejudgment claim of right to possession and why does it matter after foreclosure?

It is a procedure that lets an occupant not named in the complaint assert a right to possession before judgment. That way the judgment and writ bind everyone inside. In a foreclosed property where unknown occupants may live, it helps the writ reach people the new owner could not name.

Do tenants who were renting before the foreclosure have any right to stay?

They may. A month-to-month or periodic residential tenant is entitled to 90 days' written notice to quit. A tenant with a fixed-term residential lease signed before the sale may stay until the lease ends, unless one of the conditions in Code of Civil Procedure section 1161b applies. Local just-cause rules may add requirements.

What does the new owner have to prove to win a post-foreclosure eviction?

The case rests on the conditions in Code of Civil Procedure section 1161a. The owner must show that the property was sold in one of the listed ways, that title under the sale was perfected, that the required notice to quit was served, and that the occupant held over. Against a fixed-term tenant, the purchaser also carries the burden described in section 1161b.

How does a writ of possession work after a judgment in a post-foreclosure eviction?

After judgment, the writ directs the sheriff or marshal to enforce it. The California Courts guide says the sheriff posts a Notice to Vacate giving the occupant a few days to move out. The levying officer then restores possession. The five-day payment window in Code of Civil Procedure section 1174(c) is limited to nonpayment cases.