Is It Legal to Live in Your Car? What State and Local Laws Actually Say

Contents
Last reviewed: October 12, 2026. This article is general information, not legal advice. Vehicle-habitation rules are mostly set by cities and counties, so check the ordinance where you plan to park.
If you're living in your car, or thinking about it to save money or get through a hard stretch, you're far from alone, and you deserve straight answers. The good news is that living in a vehicle is not, by itself, a crime everywhere in the US. The tricky part is that the rules about where and when you can park and sleep are mostly local, and they change from one city to the next.
Short answer: Is it legal to live in your car? Generally yes, but only where you're allowed to park and stay. Many cities ban living or sleeping in vehicles on certain streets or at certain hours, highway rest areas set time limits, and private lots need the owner's permission. A federal appeals court struck down a vague Los Angeles ban in 2014, but in 2024 the Supreme Court confirmed that cities can enforce ordinary camping and overnight parking laws.
Why there's no single answer
There isn't one US law about living in a car. Several layers of rules apply at once:
- City and county ordinances. Many local codes ban "vehicle habitation" or sleeping in vehicles on public streets, sometimes only at night, only in residential areas, or only near places like parks and schools.
- Parking rules. Overnight parking bans, permit-only zones, street-cleaning schedules and limits on how long a car can sit in one spot apply to you like any other driver.
- State rest-area rules. State transportation departments usually cap how long you can stay, as the California and Pennsylvania rules above show. California's rule also says camping is prohibited and tents aren't allowed.
- Private property. Store lots, churches and workplaces can allow or forbid overnight parking. Staying without permission can lead to towing or a trespass warning.
- Public land. Parks, forests and other public lands have their own camping rules and stay limits, usually posted at the site.
What the courts have said
Desertrain v. City of Los Angeles (9th Cir. 2014)
Los Angeles Municipal Code § 85.02 banned using a vehicle parked on a city street or city lot "as living quarters." People living in their vehicles in Venice were cited and arrested under it. The Ninth Circuit held that the ordinance was unconstitutionally vague under the Fourteenth Amendment's Due Process Clause: it didn't give fair notice of what was illegal, and it opened the door to discriminatory enforcement against homeless and poor people.
The case didn't create a right to live in a car anywhere you like. It said a law has to be clear about what it forbids. Los Angeles later adopted a newer version of § 85.02, which the City Council has reviewed and extended alongside its Safe Parking program, as a 2019 council motion describes.
City of Grants Pass v. Johnson (U.S. Supreme Court, 2024)
Grants Pass, Oregon, banned camping on public property, and its definition of a campsite included sleeping in "any vehicle." It also banned overnight parking in city parks. In a 6-3 decision, the Supreme Court held that enforcing generally applicable laws regulating camping on public property is not "cruel and unusual punishment" under the Eighth Amendment. It reversed the Ninth Circuit and rejected that court's approach in Martin v. Boise, which had blocked enforcement against homeless people when a city didn't have enough available shelter beds.
In practice, cities now have more room to enforce camping and overnight parking rules against people sleeping in vehicles. Other challenges, such as vagueness (the Desertrain argument) or protections under state law, can still matter, depending on the ordinance and the state.
How to stay on the right side of the law
- Look up the local code. Search your city or county's municipal code for terms like "vehicle habitation," "sleeping in vehicle," "camping," and "overnight parking."
- Read the signs. Posted time limits at rest areas and parking lots are enforceable, and they may be stricter than you expect.
- Ask permission on private property. Some businesses allow overnight parking; others tow. Get a clear yes before you stay.
- Keep your registration, insurance and license current. An expired tag gives an officer a reason to stop you, and towing can mean losing your home and belongings at once.
- Move regularly and keep the area clean. Many complaints, and many ordinances, focus on trash, waste and long-term occupation of one spot.
- Keep paperwork from any tickets. Deadlines to contest citations are short, and unpaid fines can grow.
Staying safe in your car
- Carbon monoxide. Car exhaust contains carbon monoxide, a gas with no odor or color that can build up where fresh air doesn't flow and cause sudden illness and death, according to MedlinePlus. Don't run fuel-burning heaters or stoves inside a closed vehicle, and never idle in an enclosed space.
- Heat and cold. Cars heat up and cool down quickly. Plan for shade and airflow in summer and warm bedding in winter.
- Security. Choose well-lit places, keep doors locked, and tell someone you trust where you usually park.
- Hygiene. Gyms, community centers and some public facilities offer showers and restrooms.
Help if you're experiencing homelessness
- 211. Calling 211 connects you with a confidential local service that helps people find housing, food and other support. You can also find your local 211 at 211.org.
- HUD Find Shelter. The US Department of Housing and Urban Development's Find Shelter tool lists shelters, food pantries, health clinics and clothing resources near you.
- Safe parking programs. Some cities run lots where people living in vehicles can park overnight and get connected to services. For example, San Diego's Safe Parking Program offers designated lots and help moving toward permanent housing. Ask 211 whether there's one near you.
- Legal aid. If you've received tickets or your car has been towed, a local legal aid organization may be able to help you contest fines or get your vehicle back.
Is living in your car illegal in the United States?
Not as a general rule. Living in a vehicle is not, by itself, a crime everywhere. The limits come from where you park: city and county vehicle-habitation ordinances, overnight parking bans, rest-area time limits, and private property rules.
Can police ticket me for sleeping in my car?
They can if you break a local or state rule, such as a ban on sleeping in vehicles on certain streets, an overnight parking ban, or a posted time limit at a rest area. Your vehicle also needs to be legally registered and parked like any other car.
Did the Supreme Court say cities can ban sleeping in cars?
In City of Grants Pass v. Johnson (2024) the Supreme Court held that enforcing generally applicable public-camping laws, including Grants Pass rules that covered sleeping in vehicles and overnight parking in parks, is not cruel and unusual punishment under the Eighth Amendment. It did not rule out every other legal challenge, such as an ordinance being too vague.
How long can I stay at a highway rest area?
It depends on the state and on posted signs. For example, California limits stays to 8 hours in any 24-hour period, and Pennsylvania prohibits parking for more than 2 hours in a 24-hour period or beyond the posted limit. Check the sign before you settle in.
Where can I get help if I am living in my car?
Call 211 to reach local help with shelter, food and other services, or use HUD's Find Shelter tool. Some cities, such as San Diego, run safe parking programs with lots where people living in vehicles can stay overnight.
Sources
- Desertrain v. City of Los Angeles, 754 F.3d 1147 (9th Cir. 2014): opinion (ca9.uscourts.gov)
- City of Grants Pass v. Johnson, 603 U.S. ___ (2024): opinion (supremecourt.gov)
- Cal. Code Regs. tit. 21, § 2205: Cornell LII
- 67 Pa. Code § 443.2: Cornell LII
- Los Angeles City Council motion on LAMC § 85.02 (May 2019): cityclerk.lacity.org
- Carbon monoxide poisoning: MedlinePlus
- HUD Find Shelter: hud.gov
- 211 (United Way): 211.org
- San Diego Safe Parking Program: sandiego.gov


Leave a comment
Comments are reviewed before they appear. Please don't share private details about your case.