Skip to content
Mr. Cali Offers
All articles in Vacant Houses and Code Violations

Vacant Houses and Code ViolationsBy Anthony Grynchal8 min read

Squatters' Rights in California: Adverse Possession Myths and What the Law Actually Requires

A squatter cannot own a California house by moving in: adverse possession takes five continuous years and five years of taxes paid. The myths, and the law.

Renovated kitchen in a Pomona house with white shaker cabinets, brass pulls, a black hood over a gas range and a dining table beside the peninsula

In California, a squatter cannot become the owner of a house simply by moving in and staying. To claim title by adverse possession, the occupant has to hold the property continuously for five years under a claim of right and, in that same period, timely pay every state, county and municipal tax levied on it, proven by certified records of the county tax collector (Code of Civil Procedure section 325). What a squatter can do is make removal slower, because a person who claims a right to be there is usually removed through the police or the court, never by the owner changing the locks.

Mr. Cali Offers is not a law firm. This article describes what the statutes say so you can ask an attorney better questions; it does not tell you what to do with your house.

What "squatters' rights" actually means

The phrase mixes up two different questions, and most of the myths come from treating them as one.

  • Who owns the house. Title moves to an occupant only by prescription, which Civil Code section 1007 ties to the period the Code of Civil Procedure sets for barring the owner's action to recover the property. That is the five-year rule with taxes paid, described below.
  • Who may stay until a court or an officer says otherwise. Civil Code section 1006 says occupancy for any period gives a title good against everyone except the state and those who hold title by prescription, accession, transfer, will or succession, which includes the owner. It is also not enough to sue to quiet title unless it has ripened by prescription. In plain terms: occupancy alone gives a person no title against you, but it can still mean you have to use a legal process to get them out.

So the honest answer to "do squatters have rights in California?" is: almost never to the house, sometimes to a process.

What California law actually requires for adverse possession

Section 325 of the Code of Civil Procedure sets the floor for a claim not founded on a written instrument, judgment or decree. Every element has to be met.

ElementWhat the statute saysWhat it means for a vacant house

Possession of the land

Protected by a substantial enclosure, or usually cultivated or improved

Sleeping in an empty house is not, by itself, the kind of possession the statute describes

Five continuous years

Occupied and claimed for five years continuously

The five years have to run without a gap

Claimed

Held under a claim, not with the owner's permission

A tenant or a relative you allowed in is not claiming against you

Taxes paid

The claimant timely paid all taxes levied and assessed for the five years

The one element the owner controls: keep the tax bill current

Proof

Tax payment established by certified records of the county tax collector

Payment is a public record, not a story

California courts also look for possession that is open and hostile to the owner's title. How a judge applies those words to a particular house is a question for an attorney.

Squatting myths, and what the statutes say

MythWhat the law says

"After a few weeks in the house, they own it."

Ownership takes five continuous years plus five years of taxes paid by the claimant (CCP 325). A few weeks changes how removal must happen, not who owns the house.

"Paying the utilities makes it theirs."

The statute asks about property taxes, proven by the tax collector's records. Utility bills are not in it.

"It's my house, so I can cut the power and change the locks."

Where the occupant is a tenant, Civil Code section 789.3 bars the landlord from shutting off utilities, changing locks, removing doors or windows, or removing belongings to end the occupancy, and Code of Civil Procedure section 1159 defines forcible entry. The courts' own eviction guide says the same: no lockouts, no shut-offs, no throwing out belongings.

"Squatting isn't a crime in California."

Penal Code section 602, subdivision (m), makes entering and occupying real property without the consent of the owner, the owner's agent or the person in lawful possession a trespass.

"The police can never help an absent owner."

Penal Code section 602, subdivision (o), lets an owner file one notarized request, on the law enforcement agency's form, covering a set period of up to 12 months while the owner is absent from the property.

"The lodger law lets me remove them myself."

Penal Code section 602.3 applies only to a single lodger in an owner-occupied dwelling. A vacant house is not owner-occupied.

The line between a trespass call and a court case usually turns on what the occupant claims. If the person shows a rental agreement, says they paid rent to someone, or was once let in by a relative, the matter can move from the police to the civil court's unlawful detainer process. That decision belongs to an attorney, and our article on unauthorized occupants outlines both paths.

Why the property tax bill matters most on a vacant house

Of all the elements in section 325, the tax element is the one an absent owner can protect from a distance. A vacant house tends to drift: the owner moved, the bill goes to an old address, an installment is missed. Keeping the property taxes current, and the mailing address on file with the county correct, makes the tax element far harder for anyone else to meet. If both the owner and an occupant have paid, how a court treats that is a question for an attorney. If the taxes are already behind, see selling with unpaid property taxes; the tax collector is the authority on what is owed.

Is it a squatter, or a tenant? The Pomona example

The label matters, because a tenant has protections a trespasser does not. Pomona shows why. The city runs a Rent Stabilization Program under its rent stabilization and eviction control ordinance, with just-cause requirements and relocation assistance on no-fault terminations. If the person in a Pomona house is a former tenant who stopped paying, or a tenant's relative who stayed on, the city's rules and state tenant law may apply, and treating that person as a squatter can create liability. Which rules cover a given property is something to confirm with the city's program and an attorney. The Pomona page covers how those rental rules show up in a sale.

A vacant Pomona house with an occupant can also pick up a code case at the same time: debris, an open structure, overgrowth. Pomona's Code Compliance Division handles exterior property maintenance and nuisances, and the case keeps running whoever is inside.

Selling a house with someone living in it

An occupant does not put an adverse possession claim on your title by being there. A claimant would have to win a quiet title action, and section 1006 says occupancy alone is not enough to bring one. But an occupant changes both numbers on the house.

  • As-is cash offer. The offer can be written with the occupant in place. The legal process your attorney runs is accounted for, and the closing date is written around it rather than promised.
  • Open-market read. Most buyers and their lenders need the house vacant, open for inspection and insurable. You carry the holding costs through the legal process, then through the listing.

Listing nets more when the occupant leaves, voluntarily or through the process, the house is otherwise in sound condition, and you can carry the monthly costs until a listed sale closes. The pillar, selling a vacant house or one with code violations, has the holding-cost worksheet to run that comparison. The open-market read in both cases is a preliminary estimate, not an appraisal. Insurance on an occupied-but-vacant house is its own problem; see insuring a vacant house.

What this looks like in practice

These are the kinds of files that come in, described without names or figures.

  • An inherited house where a relative moved in after the parent died and now says the house is theirs. Whether that is a claim, a tenancy or a family dispute for the estate is a question for the estate's attorney; see selling an inherited house.
  • A long-vacant house where neighbors report people going in at night, and the owner lives several hours away.
  • A house where the occupant shows a lease signed by someone who never owned it.

More guides are in the vacant houses and code violations section. If you own a house with someone in it who should not be, send the address through the vacant property and code violation page or call (909) 498-3977. There is no cost and no obligation to get the two numbers and the written report.

Sources

  • California Code of Civil Procedure section 325 (adverse possession, five years and taxes): leginfo.legislature.ca.gov, accessed October 31, 2026
  • California Civil Code section 1006 (title by occupancy): leginfo.legislature.ca.gov, accessed October 31, 2026
  • California Civil Code section 1007 (title by prescription): leginfo.legislature.ca.gov, accessed October 31, 2026
  • California Penal Code section 602 (trespass, including subdivisions (m) and (o)): leginfo.legislature.ca.gov, accessed October 31, 2026
  • California Penal Code section 602.3 (lodger in an owner-occupied dwelling): leginfo.legislature.ca.gov, accessed October 31, 2026
  • California Civil Code section 789.3 (no utility shut-offs or lockouts to end an occupancy): leginfo.legislature.ca.gov, accessed October 31, 2026
  • California Code of Civil Procedure section 1159 (forcible entry): leginfo.legislature.ca.gov, accessed October 31, 2026
  • Judicial Branch of California, Eviction cases in California (self-help guide): selfhelp.courts.ca.gov, accessed October 31, 2026
  • City of Pomona, Rent Stabilization Program: pomonaca.gov, accessed October 31, 2026
  • City of Pomona, Code Compliance Division: pomonaca.gov, accessed October 31, 2026

Mr. Cali Offers is not a law firm; occupant removal and title claims are questions for your own attorney. Cash offers come from independent buyers and investors who buy for their own account and may resell for profit; a cash offer is generally below what the open market would bring. Any value shown is a preliminary estimate, not an appraisal. Nothing here is legal, tax or financial advice.

Frequently asked questions

How long does a squatter have to live in a California house to claim it?

Under Code of Civil Procedure section 325, an adverse possession claim needs five continuous years of occupation under a claim, and the claimant must have timely paid all property taxes levied for those five years, proven by certified county tax collector records. Short occupation does not transfer ownership.

Can I change the locks or shut off the utilities on a squatter?

Not without legal advice first. If the occupant claims to be a tenant, Civil Code section 789.3 bars lockouts, utility shut-offs and removing belongings to end the occupancy, and the California courts' eviction guide says the same. An attorney can tell you whether a trespass report or an unlawful detainer case fits your facts.

Is squatting a crime in California?

Penal Code section 602, subdivision (m), makes entering and occupying real property without the consent of the owner, the owner's agent or the person in lawful possession a trespass. When the occupant claims a right to be there, such as a lease, the matter can instead go through the civil court.

Can I sell a house that has a squatter in it?

Yes. An occupant does not gain ownership by being there, but most financed buyers need the house vacant and insurable. A cash offer can be written with the occupant in place and the closing date set around the legal process your attorney runs, while listing usually waits until the house is empty.

Written by

Anthony Grynchal

Anthony Grynchal is a California real estate salesperson with eXp Realty, licensed since November 2009 (CA DRE #01873626), and the owner of Mr. Cali Offers.

More about Anthony

Published

Anthony Grynchal

Mr. Cali Offers

Call (909) 498-3977Contact