Is Sleeping in Your Car Legal in California After the 2026 Policy Reforms?

California law does not explicitly prohibit sleeping in a vehicle, but municipal codes and state regulations impose restrictions to balance public safety with homelessness mitigation. Local governments, including Los Angeles and San Francisco, have enacted ordinances targeting vehicle habitation to address street encampments and traffic hazards. Violations typically arise from parking restrictions, nuisance provisions, or anti-camping laws rather than the act of sleeping itself. Recent 2026 compliance shifts, such as Assembly Bill 1017, further refine enforcement by prioritizing citations for obstructing traffic or violating parking codes over homelessness-related cases.


Key Regulations for Sleeping in Your Car in California

  • Local Parking Restrictions: Many cities prohibit overnight parking in residential zones, commercial districts, or public streets without permits. For example, Los Angeles Municipal Code § 85.02.1 prohibits sleeping in vehicles between 9 PM and 6 AM in certain areas unless parked in designated zones.
  • Nuisance and Public Safety Laws: California Vehicle Code § 22515 empowers law enforcement to cite drivers for vehicle habitation if it obstructs traffic, creates a hazard, or violates sanitation standards. Sleeping in a vehicle parked on a highway or freeway ramp is strictly prohibited.
  • Homelessness Mitigation Policies: Under AB 1017 (effective 2026), cities must provide alternative shelter options before enforcing vehicle habitation bans. Violations may result in fines or vehicle impoundment if no shelter is available within a 5-mile radius.