Under California squatters’ rights law, a squatter can only claim your property after 5 continuous years of possession, and only if they also paid all the property taxes for those 5 years. Squatting itself is a crime under the Penal Code, and refusing to leave property that isn’t open to the public after being asked is a trespass police can act on.
This guide covers what counts as a squatter in California, the adverse possession rules in the statutes, the trespass laws police use, the “letter of agency” that lets police act while you’re away, and the steps to remove a squatter. There’s also a written notice to leave you can copy. Own property in other states? See our guides to squatters’ rights in Texas, Illinois, New York, North Carolina and Ohio. For how squatters’ rights work in general and how the states compare, see our main squatters’ rights guide.
Squatter, trespasser, tenant or lodger?
Who is in the property decides which process applies.
| Who | How they got in | Usual route in California |
|---|---|---|
| Squatter or trespasser | Entered and stayed with no permission, lease or right | Police report for trespass under the Penal Code, or a court case if police won’t act |
| Tenant or former tenant | Rented the property, even month to month | Unlawful detainer (eviction) case after proper notice |
| Lodger in your own home | Rents a room in a home you own and live in | Notice under Civil Code § 1946.5, then Penal Code § 602.3 |
| Guest who won’t leave | Was invited in, then told to go | Request to leave, then police or a court case |
California has several trespass offenses that cover squatting:
- Entering and occupying: “Entering and occupying real property or structures of any kind without the consent of the owner” is a misdemeanor (Penal Code § 602(m)).
- Refusing to leave: Refusing or failing to leave property that isn’t open to the public, after the owner or a peace officer asks, is also a misdemeanor (§ 602(o)).
- Homes: Entering or staying in a home, apartment or other residence without the owner’s consent is a misdemeanor. If a resident is there at the time, it’s aggravated trespass, punishable by up to one year in county jail, a fine of up to $1,000, or both (Penal Code § 602.5).
Squatters’ rights in California: the 5-year rule
Squatters can only gain ownership through adverse possession. California sets a 5-year period with a strict tax rule. Under Code of Civil Procedure § 325(b), adverse possession can’t be established “unless it shall be shown that the land has been occupied and claimed for the period of five years continuously,” and the person has “timely paid all state, county, or municipal taxes” on it for those 5 years. The tax payments must be proven with certified records from the county tax collector.
| Rule | What the statute says | Law |
|---|---|---|
| Owner presumed in possession | The person with legal title is presumed to have possessed the property, and anyone else’s occupation is treated as subordinate to that title, unless it was held adversely for 5 years | CCP § 321 |
| No written title | Without a deed, judgment or other written instrument, land counts as possessed only if protected by a substantial enclosure or usually cultivated or improved, and only the land actually occupied | CCP §§ 324, 325(a) |
| With a written instrument | Possession under a claim founded on a written instrument or court judgment, continued for 5 years | CCP § 322 |
| Every case | 5 continuous years of occupation and claim, plus all property taxes timely paid for those 5 years, proven by certified tax collector records | CCP § 325(b) |
| Title | Occupancy long enough to bar the owner’s action gives a “title by prescription.” Public property can never be taken this way | Civil Code § 1007 |
The tax rule is the owner’s best protection. A squatter who moves into an empty house almost never pays the property taxes, so they can’t meet § 325(b), however long they stay.
This guide is general information, not legal advice. Adverse possession claims are decided by a court on the facts. If someone claims they own your property, talk to a California real estate attorney.
Did California pass a new squatter law?
Not as of November 2026. Two 2025 bills would have added a fast squatter removal process as Penal Code § 602.15: SB 448 and AB 897. The Legislature’s bill pages list both as died. SB 448 was held in the Senate Appropriations Committee, and AB 897 failed in the Assembly Public Safety Committee. Owners still rely on the trespass laws and the court process described here.
The police “letter of agency”
Normally the owner has to ask police for help each time there’s a trespass. Penal Code § 602(o) allows a shortcut. You can make a single request in a notarized writing, on a form provided by your local law enforcement agency:
- for property that is closed to the public and posted as closed, for up to 12 months; or
- for specific dates when you’re absent from the property or there’s a fire hazard, for up to 12 months or a shorter period set by local ordinance.
You must tell the agency in writing if you no longer want the help before the period ends. For a vacant home, filing one of these with your police department or sheriff before anything happens means officers can ask trespassers to leave on your behalf.
How to remove a squatter in California
1. Confirm they have no right to be there
Check for any lease, rental listing, text message or payment that could look like permission. Someone who rented from you, even informally, is a tenant and needs the unlawful detainer process. Gather your deed, a recent property tax bill and a government-issued ID.
2. Ask them to leave, in writing
Under § 602(o), refusing to leave after the owner asks is a trespass. A written notice gives you a dated record. Don’t go alone or argue. If you feel unsafe, ask the police to deliver it.
3. Call the police
Call your local police non-emergency number, or 911 if anyone is in danger. Explain that the person entered and is occupying your property without consent (§ 602(m)) and refused to leave (§ 602(o)). Bring proof of ownership, your written notice and, if you filed one, your letter of agency.
4. Go to court if police won’t act
If officers treat it as a civil matter, you’ll need a court order. The Code of Civil Procedure has summary proceedings for getting possession back, including forcible entry and forcible detainer cases (CCP §§ 1159 and 1160). Ask a California real estate attorney which case fits, and file quickly.
5. Don’t take matters into your own hands
Don’t change the locks with people inside, shut off utilities or remove their belongings yourself. Under CCP § 1159, entering a property by breaking open doors or windows, or by any kind of violence, is a forcible entry. Let police or the court handle the removal.
Written notice to leave: template
Copy this, replace everything in [brackets], and keep a dated copy with a photo of how you delivered it.
[Owner’s full name]
[Owner’s mailing address]
[Owner’s phone number or email]
[Date]
To: [Name of occupant, or “All occupants”]
[Property address, including unit number]
Re: Request to leave the property at [property address]
I am the owner of the property at [property address]. You do not have my consent to enter, occupy or remain in the property. You are not my tenant, and you do not have a lease or any other right to be there.
I am asking you to leave the property and remove your belongings by [date and time]. If you do not leave, I will report it to the police as trespass under California Penal Code sections 602 and 602.5 and take any other legal action available to me.
If you believe you have a right to be in the property, contact me in writing at [phone or email] before [date] and include a copy of any document you rely on.
[Signature]
[Printed name]
Sample notice to leave
Here’s the template filled in. Daniel owns a vacant house in Fresno while it’s being prepared for sale. A neighbor reports people staying there. Daniel never rented the house to anyone.
Daniel Okafor
77 Harbor View Road
San Diego, CA 92106
daniel.okafor@example.com
April 6, 2026
To: All occupants
3305 Cedar Avenue, Fresno, CA 93703
Re: Request to leave the property at 3305 Cedar Avenue
I am the owner of the property at 3305 Cedar Avenue, Fresno, CA 93703. You do not have my consent to enter, occupy or remain in the property. You are not my tenant, and you do not have a lease or any other right to be there.
I am asking you to leave the property and remove your belongings by April 7, 2026, at 6:00 p.m. If you do not leave, I will report it to the police as trespass under California Penal Code sections 602 and 602.5 and take any other legal action available to me.
If you believe you have a right to be in the property, contact me in writing at daniel.okafor@example.com before April 7, 2026, and include a copy of any document you rely on.
Daniel Okafor
Daniel Okafor
Worked example: counting the years
Say someone moves into an empty house in January 2022 with no deed, no lease and no permission. The owner keeps paying the property tax bills. Even if the occupant stays past January 2027, they can’t show they “timely paid all” the taxes for 5 years, so § 325(b) isn’t met and no adverse possession is established.
Now say the owner stops paying and the occupant pays every installment on time from 2022 to 2027. The occupant would still need certified tax collector records, continuous possession for the full 5 years, and either a substantial enclosure or cultivation or improvement of the land (§ 325(a)). It’s a high bar, and paying your own taxes keeps it out of reach.
How to protect a vacant property
- File a letter of agency with your police department or sheriff under Penal Code § 602(o).
- Post the property as closed and keep it secured.
- Pay the property taxes yourself and keep the receipts.
- Visit or have someone check in often, and keep dated photos.
- Search rental sites for your address so you spot fake listings early.
- Act fast once you find someone.
Mistakes to avoid
- Treating a tenant or a renter of an informal room as a squatter. They need the unlawful detainer process.
- Forcing your way in or removing people yourself, which can be a forcible entry under CCP § 1159.
- Letting your property tax payments lapse.
- Forgetting to renew a letter of agency when it runs out.
- Believing the myth that squatters gain rights after 30 days.
Quick answers
Does California have a 30-day squatters’ rights rule?
No. Claiming ownership through adverse possession takes 5 continuous years plus all property taxes paid on time (CCP § 325). A short stay gives no ownership rights.
Is squatting illegal in California?
Yes. Entering and occupying property without the owner’s consent is a misdemeanor under Penal Code § 602(m), and so is entering or staying in a home without consent under § 602.5.
Can police remove squatters in California?
Police can act on trespass, including when someone refuses to leave property that isn’t open to the public after being asked (§ 602(o)). A notarized letter of agency on your police department’s form lets officers act for you while you’re away.
How long does it take to get a squatter out?
There’s no set timeline in the law. If police remove them for trespass, it can be quick. If you need a court case, it depends on the court and whether the occupant contests it.
Does paying property taxes stop a squatter?
It’s the strongest step you can take. Adverse possession requires the occupant to have timely paid all the taxes for 5 years, proven by certified tax collector records.
Renting the home out once you have it back? The prorated rent calculator works out a new tenant’s first month if they move in mid-month.
Photo by Robert So on Pexels
