Is It Illegal to Live in Your Car in California?

Living in your car is not illegal in California under any statewide law. The Vehicle Code regulates how cars are driven and parked, not whether a person can sleep inside one. Whether you can legally spend the night in your vehicle depends almost entirely on the city or county where you park, and a 2024 U.S. Supreme Court ruling has given those local governments much broader authority to enforce their rules than they had a year ago.

Why Location Decides Everything

California’s Vehicle Code is a thick body of law, and it contains no provision criminalizing sleeping or living inside a motor vehicle. The state treats vehicles as machines on roads, not as shelters. As long as you aren’t violating traffic or parking laws, the state itself takes no position on whether you’re napping or calling your car home for the foreseeable future.

That silence leaves a vacuum, and local governments fill it. Some cities, like Fountain Valley, flatly prohibit using any vehicle for human habitation except in an approved trailer park.1City of Fountain Valley, CA. Chapter 6.30 Habitation in Vehicles Others restrict vehicle dwelling only during certain hours or near certain locations. A spot that’s perfectly legal in one city can earn you a citation a few miles down the road.

What the 2024 Supreme Court Ruling Changed

For nearly six years, vehicle dwellers in the western United States had a powerful legal shield. In 2018, the Ninth Circuit ruled in Martin v. City of Boise that cities could not criminalize sleeping outdoors when more homeless people existed than available shelter beds. Punishing someone for sleeping outside with no indoor alternative, the court held, amounted to punishing them for being homeless and violated the Eighth Amendment.2United States Court of Appeals for the Ninth Circuit. Martin v City of Boise

That shield is gone. In June 2024, the U.S. Supreme Court ruled in City of Grants Pass v. Johnson that enforcing anti-camping laws on public property does not constitute cruel and unusual punishment. The Court held that the Eighth Amendment governs the kind of punishment a government may impose after a conviction, not whether a government may criminalize particular behavior in the first place. The Court explicitly rejected the Ninth Circuit’s reasoning in Martin and found that fines, temporary park bans for repeat offenders, and jail sentences of up to 30 days were within normal bounds of criminal punishment.3Supreme Court of the United States. City of Grants Pass v Johnson Et Al

For anyone living in a vehicle in California, the practical effect is straightforward. Local governments now have far broader authority to enforce camping and habitation bans without worrying about Eighth Amendment challenges. Within weeks of the decision, Governor Newsom issued an executive order directing state agencies to address encampments on state property.4Office of Governor Gavin Newsom. Governor Newsom Orders State Agencies to Address Encampments The order targeted encampments generally rather than vehicle dwellers specifically, but it signaled a more aggressive enforcement posture statewide.

How California Cities Regulate Vehicle Dwelling

Most California cities that regulate vehicle habitation don’t ban it citywide. They use time-based and location-based restrictions that carve out zones where sleeping in a vehicle is off-limits.

Los Angeles is a useful example. LAMC Section 85.02, originally a broad ban on using a vehicle as living quarters, was struck down by the Ninth Circuit in Desertrain v. City of Los Angeles (2014) for being unconstitutionally vague. The city rewrote it and reinstated it in 2019 with two specific provisions. Vehicle dwelling is prohibited on residential streets between 9:00 PM and 6:00 AM, and it’s prohibited at all hours within one block of any park, school, preschool, or daycare facility. Violations are cited as infractions rather than criminal misdemeanors.5Los Angeles Police Department. Reinstatement of Los Angeles Municipal Code Section 85.02

Enforcement officers look for signs of habitation: bedding stored inside the vehicle, cooking equipment, interior lights used after dark. San Francisco, San Diego, and many smaller cities have their own versions of these restrictions, often tied to the same kinds of buffer zones around sensitive locations. The specifics vary enough that checking the municipal code for whichever city you’re in is essential before you settle in for the night.

Parking Rules That Catch Vehicle Dwellers

Even where no habitation ban exists, general parking regulations create problems for anyone living in a vehicle. These rules apply to every motorist, but they hit vehicle residents hardest because staying put is the whole point.

The 72-Hour Rule

California Vehicle Code Section 22651(k) authorizes towing of any vehicle parked or left standing on a public highway for 72 or more consecutive hours, provided a local ordinance authorizes removal.6California Legislative Information. California Vehicle Code 22651 Most cities have adopted such ordinances. In practice, you need to move your vehicle at least once every three days. Some jurisdictions enforce the rule aggressively through tire-chalking or automated license plate readers; others enforce it only on complaint. Either way, the clock is always running.

Oversized Vehicle Restrictions

If you’re living in a van, RV, or anything larger than a sedan, local oversized vehicle ordinances add another layer. Many California cities restrict parking of vehicles exceeding 22 feet in length on residential streets, sometimes limiting them to four consecutive hours or banning them during overnight windows. Some cities offer permit programs that allow residents to park oversized vehicles for 72-hour stretches, but those permits typically aren’t available to non-residents.

Abandoned Vehicle Classification

A vehicle that appears inoperable or sits in one spot long enough can be classified as abandoned. Under California Vehicle Code Section 22523, if an abandoned vehicle is impounded and not redeemed by the registered owner, that owner is guilty of an infraction and liable for any costs remaining after the vehicle is disposed of.7California Legislative Information. California Vehicle Code 22523 Keeping your registration current, your vehicle visibly operable, and your license plates properly displayed reduces the risk of an abandonment determination.

Where You Can Legally Sleep in Your Vehicle

The most straightforward legal option is a safe parking program. These are designated lots, often managed by nonprofit organizations, where vehicle residents can park overnight without risking citations or towing. Programs operate in San Diego, Santa Rosa, Los Angeles, and parts of the Bay Area, though demand consistently exceeds supply.

San Diego’s program, operated by Jewish Family Service, maintains a limited number of spaces including spots for oversized vehicles, with a waiting list for enrollment.8City of San Diego Official Website. Safe Parking Program Santa Rosa’s program runs through Catholic Charities and accepts referrals by phone or in person.9Santa Rosa, CA. Safe Parking Program Most programs require a registration process and may ask for proof of vehicle insurance and valid registration. Some provide access to restrooms, case management, and connections to longer-term housing.

Federal land is the other legal option, with built-in time limits. On Bureau of Land Management land, dispersed camping is typically limited to 14 days within any 28-day period, after which you must relocate at least 25 to 30 miles away. Rules vary by field office, so calling the local BLM office before settling in is worth it.10Bureau of Land Management. Camping on Public Lands National Forest campgrounds follow a similar 14-day limit, and your site must be occupied the first night. Leaving it unoccupied for more than 24 hours can result in a citation or property impoundment.11USDA Forest Service. Campground Rules Vehicles must stay on designated roads and trails unless off-road use is specifically allowed. For someone who needs to be near a job or access urban services, the distance makes federal land impractical as a primary solution.

What a Violation Actually Costs

Parking citations themselves carry base fines that look modest, but California’s surcharges and penalty assessments multiply them several times over. The real financial danger is impoundment.

For fiscal year 2025–26, the California Highway Patrol’s maximum allowable towing rate for a standard car or truck is $326.55, with outside storage running up to $77.78 per day and inside storage up to $81.06 per day.12California Highway Patrol. Maximum Allowable Tow and Storage Rates FY2025-26 A vehicle sitting in impound for one week racks up roughly $870 in combined tow and storage fees. For someone already living in their car due to financial hardship, that amount can be impossible to recover from. Losing the vehicle means losing shelter, transportation, and often the ability to work.

If the impounded vehicle is classified as abandoned and goes unredeemed, the registered owner faces an additional infraction charge and liability for any costs remaining after the vehicle is sold or disposed of.7California Legislative Information. California Vehicle Code 22523 The sequence from citation to impound to loss of vehicle to infraction charge is the most common way vehicle residency becomes genuinely devastating rather than merely inconvenient.

Habits That Reduce Your Risk

No strategy eliminates all risk, but a few habits dramatically reduce the chances of citations, impoundment, or police contact. Keep your vehicle’s registration current and plates visible. Expired tags are the fastest way to attract enforcement attention and create a separate legal problem. Move your vehicle before the 72-hour window closes, even if nobody seems to be tracking it. Avoid parking near schools, daycare centers, and parks, since buffer zones around these locations are nearly universal in cities that regulate vehicle dwelling.

Keep the exterior of your vehicle looking like a parked car rather than an encampment. Window covers that block visibility from outside invite suspicion. Bedding, cooking equipment, and personal items visible through windows are exactly what enforcement officers look for when determining habitation. Store belongings out of sight and avoid any setup that extends beyond your vehicle’s footprint.

Enroll in a safe parking program if one operates in your area, even if it means getting on a waiting list. Having that enrollment on record demonstrates good faith and may influence how an officer handles an encounter. And know the ordinance for the city you’re parked in right now, not the one from the last city you were in.