Eviction Process

Squatters’ Rights and Removal in California (Adverse Possession)

This article explains what “squatters’ rights” actually mean in California, how adverse possession works, and the lawful path an owner uses to remove someone occupying a property without permission. It covers the difference between a trespasser and an occupant with possession, the five-year adverse possession test, and why California treats most squatter removals as court eviction cases. It is one of the procedures covered in California landlord-tenant law: rights, rent, and eviction rules, the reference hub for tenancies and removals in the state. It does not cover removing a tenant who once had a lease, which follows its own notice rules.

What “squatters’ rights” means in California

The phrase “squatters’ rights” is shorthand, not a legal category. No California statute grants a squatter the right to stay in a property. What the phrase usually points to are two separate ideas that get blurred together: the doctrine of adverse possession, which can transfer ownership after years of occupation, and the procedural rule that a person in actual possession of a property cannot be thrown out without a court process.

A squatter is someone occupying real property without the owner’s permission and without a lease. That is different from a holdover tenant, who had a rental agreement that ended, and different from a guest who was invited and overstayed. The distinction matters because it changes what removal process applies.

California law protects possession itself, regardless of whether the possession is rightful. Under Cal. Code Civ. Proc. § 1159, a person who takes possession of property by force, or who is forcibly removed from property they occupy, has a claim for forcible entry. The practical effect is that even an owner cannot use force to retake occupied property. The dispute has to go through the courts.

Adverse possession: the five-year rule

Adverse possession is the only route by which a squatter can actually acquire ownership in California, and it sets a high bar. Occupying a property for a long time is not enough on its own. The occupier has to meet every element of the doctrine for a continuous five-year period.

Cal. Code Civ. Proc. § 325 sets the two headline requirements: the property must be “occupied and claimed for the period of five years continuously,” and the occupant must have “paid all the taxes, State, county, or municipal, which have been levied and assessed upon such land” during that five years. The tax-payment requirement is what defeats most adverse possession claims, because a squatter almost never pays the property taxes on a home they do not own.

California courts also require, from the case law built on Cal. Civ. Code § 1007, that the possession meet the traditional common-law elements, which the Cornell Legal Information Institute’s overview of adverse possession describes:

  • Actual, the person physically occupies and uses the property.
  • Open and notorious, the occupation is visible, not hidden, so a reasonable owner would notice.
  • Hostile, without the owner’s permission (a tenant or a guest cannot claim adverse possession, because their possession is permissive).
  • Exclusive, the occupier holds the property to the exclusion of the true owner and the general public.
  • Continuous, uninterrupted for the full five years.

Because these elements rarely all line up, adverse possession is far less common than the “squatters’ rights” phrase suggests. Most people described as squatters have occupied a property for weeks or months, have paid no taxes, and have no path to ownership. Their status affects only how they are removed, not whether the owner keeps title.

Trespasser versus occupant: why the difference controls removal

The most important early question in a squatter situation is whether the person is a recent trespasser the police can address or an occupant who has established possession, which shifts the matter to civil court. California treats these two situations differently.

A person who breaks into or enters a property without permission and refuses to leave can be committing criminal trespass under Cal. Penal Code § 602, which law enforcement can act on. Owners commonly call the police when they discover an intruder, and if the person is plainly a trespasser with no claim of tenancy, officers may remove them.

The complication is that once a person has moved in, established residence, and can show indicia of occupancy, mail, utilities in their name, belongings, or a claim (even a false one) that they rent the place, police frequently decline to remove them, treating it as a civil dispute. At that point the forcible entry and detainer statutes take over. Under Cal. Code Civ. Proc. § 1160, a person who holds property by force or unlawfully after entry can be removed through a forcible detainer action, which is a court proceeding rather than a self-help remedy.

The lawful removal process

When a squatter has established occupancy and police treat the matter as civil, the owner removes them through the same unlawful detainer machinery used for evictions. The California Courts self-help center’s eviction guidance is the authoritative walkthrough for the court steps, which run in a fixed order.

  1. Serve a written notice to quit

    The owner serves the occupant a written notice demanding that they leave the property. For an occupant with no rental agreement, this is typically a notice to quit. The notice must be served in the manner the statutes require; defective service is a common reason a case is delayed or dismissed and has to start over.

  2. File an unlawful detainer complaint

    If the occupant does not leave by the deadline in the notice, the owner files an unlawful detainer lawsuit in the superior court for the county where the property sits. This is the same case type used to evict a tenant. Filing starts the court clock and gives the occupant a set number of days to respond.

  3. Let the occupant respond or default

    Once served with the lawsuit, the occupant generally has five days to file a written response. If they respond, the court sets a trial, usually within about 20 days of a request. If they do not respond, the owner can ask the court for a default judgment.

  4. Obtain a judgment and writ of possession

    If the owner wins, the court issues a judgment for possession and a writ of possession directing the sheriff to remove the occupant. The owner cannot enforce the writ personally.

  5. The sheriff carries out the removal

    The sheriff posts a notice giving the occupant a final window, commonly five days, to leave. If they remain, the sheriff physically removes them and restores the property to the owner. Only the sheriff can carry out this step.

This is the same court path that governs any California eviction, which the state self-help center lays out step by step. The core rule does not change with the occupant’s status: possession is transferred by a court order enforced by the sheriff, never by the owner acting alone.

Preventing and responding to squatter situations

Owners of vacant property reduce squatter risk by keeping the property visibly occupied and monitored, since the adverse possession doctrine and many squatter claims depend on open, uninterrupted possession that goes unchallenged. Regular inspections, secured entries, and prompt response to any unauthorized entry all cut against the “continuous” and “open and notorious” elements a claimant would need.

When an owner discovers someone already occupying a property, the response depends on how established the occupation is. A fresh intrusion is often a police matter under Cal. Penal Code § 602; an established occupancy is a civil unlawful detainer matter. The California Attorney General’s landlord-tenant resource points owners and residents to complaint channels and legal aid, and county self-help centers assist with the unlawful detainer forms.

Documentation matters throughout. Records showing when the property was last verified as vacant, who has paid the taxes, and how the occupant entered all bear on both a criminal trespass question and any adverse possession claim the occupant might later raise.

Frequently asked questions

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

Five continuous years, and only if the other elements are met. Under Cal. Code Civ. Proc. § 325, adverse possession requires occupying the property for five years without interruption and paying all state, county, and municipal property taxes during that period. The occupation also has to be actual, open, hostile, exclusive, and continuous. Because the tax-payment requirement is rarely met, most long-term occupations still do not ripen into ownership.

Can I remove a squatter myself by changing the locks?

No. California prohibits self-help removals of anyone in possession of a property, even a squatter with no right to be there. Changing the locks, shutting off utilities, or forcing the occupant out can violate the forcible entry statute, Cal. Code Civ. Proc. § 1159, and expose the owner to liability. Removal of an established occupant runs through a court unlawful detainer case enforced by the sheriff.

Is a squatter the same as a trespasser under California law?

Not necessarily. A person who has just entered without permission and refuses to leave may be committing criminal trespass under Cal. Penal Code § 602, which police can address. Once a person establishes occupancy and shows indicia of residence, law enforcement often treats the situation as a civil matter, and removal shifts to the courts under the forcible detainer statute, Cal. Code Civ. Proc. § 1160.

Do squatters have rights if the property is abandoned?

Abandonment by the owner does not by itself give a squatter ownership. Even on a neglected or vacant property, title passes only through adverse possession, which still requires five continuous years of occupation and payment of all property taxes under Cal. Code Civ. Proc. § 325. Until those elements are met, the occupant has no ownership claim, and the owner removes them through the unlawful detainer process the California Courts eviction center describes.

How long does it take to remove a squatter in California?

It depends on whether the occupant contests the case. An uncontested unlawful detainer where the occupant defaults can conclude in a few weeks; a contested case with a trial takes longer. After a judgment, the sheriff enforces the writ of possession and typically gives the occupant a final notice, commonly five days, before physical removal. The California Courts self-help eviction guidance sets out each step and the deadlines that apply.

Sources

See also: How Much Can a Landlord Raise Rent in California in 2026?. See also: Eviction Hardship Extension in California: Stay of Execution.
Not legal advice. Statuteworks publishes procedural reference guides intended to help you understand how legal processes work. Laws and procedures change. For advice about your specific situation, consult a licensed attorney in your state. Read our editorial process →