Is Sleeping in Your Car Legal in California? (2026)

RESTRICTED
Confidence: High

Partially — Sleeping in Your Car is legal with restrictions in California as of 2026.

Key Restriction
No state ban, but local ordinances may prohibit
Penalty
Varies by municipality; typically a civil infraction with fines ranging from $50 to $1,000. Can be a misdemeanor in some cities.
Last Updated
2026-03-25

Law changed in 2024: In 2024, a federal court ruling (Johnson v. Grants Pass) has limited the ability of cities to punish homeless individuals for sleeping in public when no shelter is available, which may affect enforcement. However, cities like Carlsbad have recently e...

Advertisement

Quick Answer

Sleeping in your car is not explicitly illegal under California state law, but many cities and municipalities have local ordinances prohibiting overnight parking or vehicle habitation. In 2024, a federal court ruling limited cities' ability to enforce anti-camping laws under certain circumstances. Check local rules before sleeping in your vehicle.

What the Law Says

While no statewide law bans sleeping in a car, California Vehicle Code allows local authorities to regulate it. Many cities, such as Los Angeles (LAMC 85.02) and San Mateo, have ordinances that prohibit using a vehicle for habitation, often with specific time and location restrictions.

Cal. Penal Code § 647
Category Details
State Law No state ban, but local ordinances may prohibit
Common Local Rules N/A
Potential Penalties Local fines, towing, or trespassing charges possible.
Pending Legislation None known
Recent Changes

In 2024, a federal court ruling (Johnson v. Grants Pass) has limited the ability of cities to punish homeless individuals for sleeping in public when no shelter is available, which may affect enforcement. However, cities like Carlsbad have recently expanded their camping bans to include vehicles.

Enforcement Reality

While no state law prohibits sleeping in a car, enforcement is highly dependent on local ordinances. Many cities, such as Los Angeles (LAMC 85.02) and San Mateo, have specific prohibitions on vehicle habitation, especially overnight. Enforcement can range from warnings to fines, particularly in coastal and urban areas.

Charge Level
Varies by municipality; typically a civil infraction with fines ranging from $50 to $1,000. Can be a misdemeanor in some cities.
Enforcement Likelihood
High in many coastal and urban areas like Los Angeles, San Diego, and San Francisco, where specific ordinances are actively enforced. Lower in less populated areas without specific prohibitions.
Common Triggers
Parking overnight in residential areas with restrictions (e.g., LA's 9 pm-6 am ban), parking in prohibited zones (near parks, schools), or resident complaints.
Common Mistakes

A common mistake is assuming that the absence of a state law means it's legal everywhere. Many cities have strict local ordinances. Another mistake is parking in areas with posted restrictions or on private property, which can lead to immediate towing or fines.

Local Exceptions

None identified. State law applies uniformly across California. Local ordinances may still vary — check with your city or county government for any additional rules.

Bottom Line

Sleeping in Your Car is legal with restrictions in California. This activity is permitted, but specific conditions apply. Violating those conditions can result in fines or criminal charges. Read the rules carefully and consult an attorney if unsure.

California vs. the Rest of the US

Across the US, sleeping in your car is fully legal in 38 states, restricted in 12, and illegal in 0. California falls in the RESTRICTED category.

View the full 50-state map →

Neighboring States

Laws change at state lines. Here is how bordering states compare on Sleeping in Your Car:

Advertisement

Frequently Asked Questions

Is sleeping in your car legal in California?
Partially — Sleeping in Your Car is legal with restrictions in California as of 2026. Sleeping in your car is not explicitly illegal under California state law, but many cities and municipalities have local ordinances prohibiting overnight parking or vehicle habitation. In 2024, a federal court ruling limited cities' ability to enforce anti-camping laws under certain circumstances. Check local rules before sleeping in your vehicle.
What are the restrictions on sleeping in your car in California?
No state ban, but local ordinances may prohibit
What mistakes do people make with sleeping in your car in California?
A common mistake is assuming that the absence of a state law means it's legal everywhere. Many cities have strict local ordinances. Another mistake is parking in areas with posted restrictions or on private property, which can lead to immediate towing or fines.
Does the law on sleeping in your car change at the California border?
Yes. Sleeping in Your Car is legal in neighboring Arizona. Laws change at state lines — check each state individually before traveling.

Interactive Tools

Get Sleeping in Your Car Legal Updates

Get notified when sleeping in your car laws change in any state.

No spam. Unsubscribe anytime.

EH
Ethan Harper Independent Legal Researcher

Reviewed by cross-referencing the cited state statute against current legislative databases and regulatory publications.

Last reviewed: 2026-03-25 Method: Statute cross-reference

Sources & Verification

1.
Primary Citation
2.
Statute Summary
While no statewide law bans sleeping in a car, California Vehicle Code allows local authorities to regulate it. Many cities, such as Los Angeles (LAMC 85.02) and San Mateo, have ordinances that prohib…
Verified: 2026-03-25 Reviewed by: Ethan Harper Method: Statute cross-reference Confidence: High

This page was reviewed by Ethan Harper by comparing the legal status against the cited state statute. AllowedHere is an informational resource and does not provide legal advice. Consult a licensed attorney for guidance specific to your situation.

Comprehensive California Legal Guides

Explore all related legal topics in California — statutes, penalties, and enforcement in one place.

More California Legality Guides

Sleeping in Your Car in Other States

Advertisement