We found no California statute that gives a squatter rights after 30 days, or after any set number of days of simply living in a home. Ownership by occupation, called adverse possession, takes five years of continuous occupation plus timely payment of all property taxes for those years. The harder problem for owners is different: once someone can claim to be a tenant, or an officer can’t tell whether they are, the question tends to move toward a courtroom, and an owner who changes the locks can become the one in the wrong. This page is part of our guide to eviction and squatters.

This page is general information, not legal or tax advice. Landlord and tenant law varies by state and city, and changes. Ask the court, your state agency, a lawyer or legal aid about your case.

California’s rules at a glance

QuestionWhat we readSource (read 5 Nov 2026)
Rights after 30 days?No statute we read says so.See the 30-day section below
Can occupation become ownership?Only with five years’ continuous occupation and claim, and timely payment of all state, county and municipal taxes assessed for those years.CCP 325
Public land?Possession never ripens into title against the state or a public entity.Civ. Code 1007
Is it a crime to move in?Entering and occupying property without consent is trespass. Entering or staying in a home without consent is also a misdemeanor.Pen. Code 602(m), 602.5(a)
Sheriff removal on an owner’s complaint, with no court case?We found no California statute like Florida’s or Texas’s.None found in the sections read or by search
May an owner force someone out?Force or violence in entering or holding another’s property is a misdemeanor unless the law allows it, and a landlord’s lockout of a tenant carries a penalty.Pen. Code 418, Civ. Code 789.3

None of the trespass or adverse possession sections above turns on how many units you own. Just cause and other tenant rules can, which is why it matters whether the person is a tenant at all. Our page on rules that change with unit counts covers those.

Who is in the home sets the route

“Squatter” isn’t a term in the California sections we read. The law asks how the person got in and on what footing. That sorts most cases into one of these rows.

Who it isHow the law may see themWhat usually comes next
A stranger who got in with no one’s consentTrespasser, under Pen. Code 602(m) and 602.5(a)A call to police. No statute we read says police must remove anyone
A guest, relative, caretaker or roommate let in by you or a tenantNot a stranger: they came with consent. Their status depends on the facts. An LAPD bulletin separates a guest staying on the owner’s goodwill from a tenant at will. A tenancy at will takes at least 30 days’ written notice to end (Civ. Code 789)A lawyer’s reading of the facts, and often a court case
A former tenant, or a tenant whose lease endedA tenant under CCP 1161. See holdover tenantsNotice, then an unlawful detainer case
Someone showing a lease from another personUnknown until someone tests the paper. It could be forged, or the holder could be a scam victimA lawyer, and possibly a court. Officers may not be able to decide it on the doorstep
A former owner after a foreclosure or forced saleA person holding over under CCP 1161a(b)A three-day written notice to quit, then the same court process. A tenant in that home is treated differently (CCP 1161a(c))
One lodger in your own homeA narrow case under Pen. Code 602.3 and Civ. Code 1946.5Notice under 1946.5. The Attorney General says specific requirements must be met. It doesn’t reach other occupants

Is there a 30-day squatter rule?

Not in any California statute we read. None gives a stranger rights for reaching day 30. The number does appear in three real places, though none of them says that, and we can’t tell you which one started the story.

  • Hotel stays. The rental chapter of the Civil Code excludes transient hotel and motel occupancy that’s subject to local occupancy tax (Civ. Code 1940(b)), and that tax stops at stays of more than 30 days (Rev. & Tax. Code 7280, both read 5 Nov 2026). The trespass code also treats a continuous hotel stay of 30 days or less as exempt, absent a written agreement or other written evidence of a periodic tenancy (Pen. Code 602(s)). That’s about hotel guests, not people who walk into a house.
  • Old trespass letters. Before 2024, an owner’s single request for police help could last only 30 days when the owner was absent or there was a fire hazard, according to the Senate Public Safety Committee’s analysis of SB 602. Owners had to keep renewing, which may be why “30 days” stuck to the police side of this.
  • One city’s police memo. A 13 January 2025 memo from Long Beach’s police chief says people who enter “with the permission of the owner or with the permission of a lawful tenant” and stay thirty days “may obtain tenancy rights” if the owner knows and doesn’t act at once. The same memo says no tenancy at will arises when someone takes possession by trespass. It cites no authority for the 30 days, it speaks for one department, and we didn’t find a statute that says it.

The Long Beach line points at the real risk. By that memo’s account, a person who came in with consent stands in a very different place from a person who broke in, and time and an owner’s inaction can matter. We did not read California case law on when a tenancy arises from a stay or from accepting money, so we state no rule on it. That’s a question for a lawyer before any money changes hands.

Adverse possession: five years and the taxes

Adverse possession is how long occupation can turn into ownership. California sets the period at five years, and CCP 325(b) (read 5 Nov 2026) adds the hard part: the claimant must have “timely paid all state, county, or municipal taxes” levied and assessed on the land for those five years, shown “by certified records of the county tax collector.” In Gilardi v. Hallam (1981), the California Supreme Court listed the elements as tax payment and open and notorious use or possession that is continuous and uninterrupted, hostile to the true owner and under a claim of title. The court said failure to pay taxes bars a title claim by adverse possession. The periods below were read 5 Nov 2026.

A bar drawn to scale across five years with a thin mint sliver at the start marking 30 days. 30 days: no California statute we read gives a squatter rights. Five years, plus taxes: continuous occupation and claim, and timely payment of all state, county and municipal taxes assessed for those years. Source: California Code of Civil Procedure 325, read 5 Nov 2026.
Thirty days and five years drawn to scale. The five years only count with the taxes paid, under CCP 325, read 5 Nov 2026.
  • The land must be occupied in a set way. Without a written instrument, judgment or decree behind the claim, land counts as possessed only if substantially enclosed, or usually cultivated or improved (CCP 325(a)).
  • The law starts on the owner’s side. A person with legal title is presumed to have been in possession, and anyone else’s occupation is treated as under that title unless adverse holding for five years is shown (CCP 321).
  • Waiting has a limit. An action to recover property needs the owner or a predecessor to have held it within five years before suing (CCP 318). Occupancy for the period that bars such an action confers title by prescription (Civ. Code 1007).
  • A claimant who wants a ruling goes to court. A quiet title complaint based on adverse possession must allege the specific facts that make it up (CCP 761.020(b)).

Two claims repeated online don’t match what we read. Some pages say the squatter must give the owner written notice: the sections above contain no such step. Others say possession must be without the owner’s knowledge, yet the court’s test is open and notorious possession.

Will police remove a squatter?

They can act on trespass, and sometimes they do. No statute we read says they must. Three official documents show why an officer at the door may hesitate.

  • The Attorney General’s bulletin 2022-DLE-05 tells police and sheriffs that “only the Sheriff or Marshal, or their deputies, may evict a tenant”, and only with a court order. Police are told never to help a landlord evict by force or threats.
  • The same bulletin warns that lawful tenants “may not always have ready proof”, that verbal agreements are common, and that someone locked out should be allowed to show ID, mail, a utility bill, a vehicle registration or a paystub. So an occupant with a piece of mail may look like a tenant at the door.
  • An LAPD training bulletin from September 2022 says officers in landlord and tenant disputes keep the peace rather than enforce civil law, and that LAPD officers have no authority to evict.

That guidance is about tenants, so it doesn’t decide the case of a true stranger. It may explain why an owner hears the words “civil matter”. We did not read case law on when police treat an occupant that way, and practice can differ by agency. The Long Beach memo, right after describing tenancy rights and adverse possession, says that in those circumstances “the Police Department cannot take any action as it has become a civil matter.” Long Beach police also note a separate crime, unlawful lodging under Pen. Code 647(e), and call it hard to prove.

602 letters for empty property

The advance step in the code is in Pen. Code 602(o) (read 5 Nov 2026). That subdivision makes it trespass to refuse to leave someone else’s property that isn’t open to the public when an officer acting at the owner’s request, or the owner, asks. Normally each incident needs its own request. A single request can cover a longer period if it’s a notarized writing on the agency’s form:

  • up to 12 months, or a shorter period set by local ordinance, identified by specific dates, during a fire hazard or while the owner, agent or person in lawful possession is absent;
  • up to 12 months when the property is closed to the public and posted as closed.

A request ends on a transfer of ownership or a change in the person in lawful possession. The requester must tell the agency in writing when help is no longer wanted, and a request may be submitted electronically where the local government accepts that. You may see “36 months” or “three years” for closed property. Three years was in an earlier version of SB 602, but the section as it stands says 12.

The name and form differ by agency. San Diego police call it a Letter of Agency and ask for a posted sign of at least 18 by 24 inches. Long Beach calls it the 602 Program and has an officer check the signs. Ask your own police department or sheriff’s station which form it uses. We read nothing in 602(o) that turns a tenant dispute into a trespass.

A red and white No Trespassing Keep Out sign bolted to a corrugated metal wall with peeling paint
The name and form differ by agency. San Diego police ask for a posted sign of at least 18 by 24 inches. Photo by royharryman on Pixabay.

When it goes to court

Which lawsuit fits is a question for a lawyer. CCP 1161, the unlawful detainer statute, speaks of a “tenant”, so it isn’t obvious that it fits someone who never was one. Subdivision 1 does reach a person who came in as a servant, employee, agent or licensee once that relationship has lawfully ended or the agreed time is up, and it says it doesn’t prevent removal “in any other lawful manner”, though a tenancy at will must first be ended by notice. The code also defines forcible detainer, which includes entering during the occupant’s absence and refusing for five days after a demand to give the property back to the former occupant, who must have been in peaceable possession within the five days before the entry (CCP 1160). On our own reading, not a court’s, an owner of a home left empty for months may not fit those words. Ejectment and other title suits weren’t read for this page. These definitions give no owner a right to use force.

Where unlawful detainer does apply, the steps are the ones on our California eviction page. The numbers that matter here, read 5 Nov 2026:

  • Response: 10 days after service, not counting weekends and judicial holidays (CCP 1167).
  • Trial: no later than the 20th day after the request to set it, unless extended (CCP 1170.5).
  • After judgment: the writ gives five days to leave, and the sheriff or marshal carries it out (CCP 715.010).
  • Filing fee: the courts’ self-help page says usually about $240 up to $10,000, $385 over $10,000 to $35,000, and $435 over $35,000, and says some counties may be slightly higher. That’s filing only; we didn’t read service or sheriff charges.
  • Unknown occupants: people not named in the case can file a Prejudgment Claim of Right to Possession (CP10.5) within 10 days of service, if they occupied the home on or before the complaint date and the form was served under CCP 415.46 (CCP 1174.25). If it wasn’t, an unnamed occupant can object after the writ is served, up to the lockout (CCP 1174.3).
California court steps in order, only where unlawful detainer applies. 1: 10 days for a response after service, not counting weekends and judicial holidays, CCP 1167. 2: trial no later than the 20th day after the request to set it, unless extended, CCP 1170.5. 3: after judgment, the writ gives five days to leave, CCP 715.010. 4: the sheriff or marshal carries out the writ, CCP 715.010. Unknown occupants: a claim on form CP10.5 within 10 days of service, if they occupied the home on or before the complaint date and the form was served under CCP 415.46, CCP 1174.25. Read 5 Nov 2026.
The numbers above in order. These apply only where unlawful detainer does, and which lawsuit fits is a question for a lawyer.

A person removed by process of law who unlawfully returns to settle or take possession commits a misdemeanor (Pen. Code 419).

What owners must not do

Force is the line not to cross. Pen. Code 418 makes it a misdemeanor to use force or violence in entering or detaining another’s possessions, except as the law allows, or to get someone else to. CCP 1159 defines forcible entry to include breaking open doors or windows, and turning out the party in possession, meaning someone who hires the property, including a boarder or lodger, by force, threats or menacing conduct.

If the person turns out to be a tenant of any kind, Civ. Code 789.3 bars a landlord from cutting utilities, changing locks, removing outside doors or windows, or removing belongings to end the occupancy, unless done through the Civil Code’s property procedure. It covers “any lease or other tenancy or estate at will, however created.” The penalty is up to $100 a day, with at least $250 for each separate cause of action, plus actual damages, and the court awards reasonable attorney’s fees to the prevailing party (read 5 Nov 2026). The Attorney General calls these acts “not merely civil matters.” Removing a stranger’s belongings isn’t a safe shortcut either: the rules for property left behind in Civ. Code 1980 and following are written for former tenants, and we didn’t confirm how they treat someone who never was one. Our guide to removing squatters lawfully covers the same line nationally.

Close view of the keyhole in a worn brass door knob on a dark painted door
If the person turns out to be a tenant, Civ. Code 789.3 bars a landlord from changing the locks to end the occupancy. Photo by DyeAnnaBee on Pixabay.

Bills that did not become law

Proposals are easy to mistake for law. As shown on the Legislature’s own site on 5 November 2026:

  • SB 448 would have let an owner with a notarized request serve a 72-hour demand and then ask police to remove the occupants, according to the Senate Judiciary Committee’s analysis. It was held in Senate Appropriations in May 2025 and is marked “Inactive Bill – Died”.
  • AB 897 would have created an unlawful squatting offense. It failed in Assembly Public Safety on 22 April 2025 and is also marked “Inactive Bill – Died”.
  • AB 1632, as amended 10 June 2026, would replace notarization of 602 requests with a declaration under penalty of perjury. The Senate passed it on 24 August 2026, and the bill history’s last entry, that day, says Assembly concurrence is pending. We found no sign it became law. Check with your agency before relying on either version.

You may also see pages saying 2026 amendments made squatting a new crime, or that notice periods rose to 90 days. We looked for a primary source and didn’t find one. Trespass was already a crime, as above. As of 5 November 2026, California has nothing we could find like Florida’s sheriff removal law (Fla. Stat. 82.036) or Texas’s (Property Code chapter 24B), and bills can change this, so we recheck.

If you’re the person living there

You may have paid someone who had no right to rent the place, been let in by a relative, or simply have nowhere else to go. The Attorney General’s bulletin says a lockout of a tenant is unlawful even if rent is owed or the lease is breached, and that a range of documents can show you live there. Court papers carry short deadlines: an unnamed occupant has 10 days on the CP10.5 form, and that form warns you may be evicted without further hearing if you don’t file it. The form says a tenant being evicted after the landlord lost the property to foreclosure can file any time before judgment. A false claim is its own risk, because the form is signed under penalty of perjury. LawHelpCA lists legal aid, and the courts’ self-help site explains the process.

The next step for an owner

  1. Write down what you know, dated: when the home was last secure, who may have had keys, signs of entry, and anything the person has said or shown you.
  2. Pull your papers: the recorded deed, and the county tax collector’s record of who paid the taxes.
  3. Call the police or sheriff’s station and ask how it handles a report of someone occupying the property without consent, and whether a 602 request is on file or can be made. For a break-in in progress or any threat, call 911.
  4. Leave locks, utilities and belongings as they are, for the reasons above, and ask a lawyer before taking any money from the occupant.

Stop and ask a lawyer before going further if the person shows a lease or says you or a tenant let them in, if anyone has paid or been paid, if they’ve been there a long time, if they claim to own the property, or if officers call it a civil matter. Local ordinances can add steps: the LAPD bulletin points to Los Angeles’s rent control ordinance, for one, which allows eviction only for specific reasons. Our broader guide to what squatters rights really are compares other states.

Sources checked on 6 November 2026.

Sources