Skip to Content

Is It Illegal To Sleep In Your Car? (All Your Questions Answered)

Holly Jaskolka Profile Image

To learn how this content was created please read our Editorial Guidelines.

Federal law does not make it illegal to sleep in your car, with a few exceptions that I will outline below. Despite this, some US cities have ordinances (local laws) in place to stop or control, overnight sleeping in vehicles.

Upon researching this complex subject, it appears these laws exist to regulate longer-term dwelling. As a road-tripper, it is important to be aware of legalities, so you can confidently navigate your way to legal resting places.

If you are tired on a long car journey, you must break from driving. Never drive when drowsy. My advice is to ‘catch up on sleep’ at rest stops, but have planned stays designated accommodation.

In this article, I will provide information on legalities, visiting highway rest areas, and the situation with parking overnight at Walmart. Finally, I will outline places you can legally sleep in your vehicle.

Let’s get started with the main question on your mind…

Affiliate Disclosure: Thank you for supporting The Road Trip Expert. When you purchase through links on this site, we may earn an affiliate commission. Please see our advertising disclosure for more details.

Is it illegal to sleep in your car?

Sleeping in the car legally
Sleeping in the car

No, under federal law, it is not illegal to sleep in your car unless you are trespassing, intoxicated (including engine off), or falling asleep whilst driving. That being said, some cities have local ordinances that do make it a crime. Some states also prohibit overnight stays at rest stops, to control loitering. Therefore, it is important to choose designated places for your vehicle, you can’t just park and sleep anywhere.

Federal law prohibits:

  • Sleeping in a car whilst intoxicated
  • Sleeping in your car if trespassing without permission
  • Falling asleep at the wheel

For information, Federal Law is US national law (the law of the land) and takes precedence over local law. Due to this, some road-trippers suggest sleeping anywhere if it is just for a break. Some travelers advise being discreet, and not getting hung up on ordinances. However, I suggest always find a designated stop!

Laws in cities that regulate sleeping in cars are a sensitive and complex subject due to the link to homelessness. I do think it is important to be aware of the context, whether you agree or not.

To ensure you comply with the law when needing sleep:

  • Obey signage
  • Stay off of the highway shoulders
  • Avoid busy city streets
  • Avoid sleeping in the caron popular tourist areas such as beaches
  • Don’t park and sleep in residential areas
  • Avoid private property (unless you have permission).

You may benefit from our Ultimate Guide To Sleeping In The Car.

Why is it illegal to sleep in your car?

Many cities make it illegal for you to sleep in your car to prevent loitering and regulate homelessness. San Diego bans sleeping in cars and has ‘Safe Parking Lot’ programs, to move people out of vehicles, into permanent accommodation. Road trippers suggest that ordinances aren’t generally enforced in relation to catching up on sleep on a long road trip. Even so, obeying them is advised.

It is illegal to sleep in your car if you are trespassing on private property because you must have the owner’s permission. Being intoxicated in charge of a vehicle is against the law, as it is unsafe.

There are many different factors that make sleeping in cars illegal, but it mainly comes down to where you are parked, and what your intent is. If you obey signage, use rest stops, avoid restricted parking areas, and private property, you can’t go wrong.

Check out this guide on The Best Cars To Sleep In!

What states is it illegal to sleep in your car?

Sleeping in the car at a rest area
Sleeping in the car at a rest area

In Hawaii, it is illegal to sleep in your car between the hours of 6 pm and 6 am. Other state laws impose time limits or bans on ‘overnight stays’ at rest areas. It is legal to arrive at a rest area 24/7 and sleep until you are safe to drive. The lines are blurry as to the difference between a ‘rest’ and an overnight stay in a rest stop. Yet, rest areas are always legal for resting, no matter what US state you are in.

To stay in line with the law, always obey times in parking zones, and sleep only in designated places. Use All Stays for detailed maps and information about rest stops, time limits, and their facilities.

Is it illegal to sleep in your car in Walmart?

It is illegal in some US cities to sleep in your car in Walmart if the municipality has local parking restrictions, and there is an ordinance in place. Sleeping overnight at Walmart was originally made countrywide to welcome RV customers on their road trips. However, many people over-used the offering, caused damage, littering, and disruption. Now, Walmart store managers have individual discretion.

In order to stay at Walmart:

  • Always call ahead, or go into the store to ask permission
  • Park away from street lamps so help you to nod off
  • Be respectful to staff and other customers
  • Leave a good impression of road trippers, to prevent managers banning it

Use the Walmart Store Finder, to find details of the nearby store, and then call them up. Ask the store manager whether there are spaces, whether you have permission, and if they can inform you about any local ordinances.

You can also park overnight at Costco, but be sure to double-check with management first before you do.

To ensure comfort when sleeping in the car, this Back Seat Mattress has great reviews.

Where is it illegal to sleep in your car?

Location-wise, federal law doesn’t make it illegal to sleep in your car, unless you are on private property without the owner’s permission. State laws refer to rest areas and how long they allow to ‘rest’. Hawaii makes it illegal between 18:00 and 06:00. Some busy cities, including Key West, San Diego, Los Angeles, and Minneapolis, prohibit sleeping in your car on public roadways and private land.

Popular tourist destinations, such as beaches and busy cities, are known to be strict on parking policies, never assume you can just pull up for a snooze, or park overnight anywhere.

This brings me nicely on to the final part, where can you sleep in your car!

Where can you sleep in your car legally?

Sleeping in the car in hotel parking lot
Sleeping in the car in hotel parking lot

You can legally sleep in your car in rest areas, but pay attention to time limits. Walmarts are popular for road trippers, however, it is down to managers’ discretion. Other stores allow overnight parking too, such as Costco. You can legally sleep in your car on the Bureau of Land Management (BLM) public land. 24-hour establishments with parking lots, such as hotels and casinos may allow napping in your car, with permission! Sometimes, you can park overnight at hospitals but this will depend on the hospital and what state/country you’re in. Finally, a friend’s private drive or yard, with their permission.

Check out our full article on places you can legally sleep in your car.

  • Rest areas (observe time limits and don’t stay for long periods).
  • BLM land
  • Friends private land
  • Casinos/hotel parking lots with permission
  • Walmart with permission
  • Welcome Centres

Rest area, state-set time limits, vary from 2 to 24 hours. Although, if you are catching up on sleep to clear fatigue, it is highly unlikely you will get cleared off. Safe driving (and therefore breaking on a long drive) is encouraged; the limits are set to prevent people loitering, and long-term stays.

When it comes to safety at rest areas, make sure you take precautions. Some road trippers report that certain remote places don’t feel safe. All Stays (Pro) displays user reviews and star ratings, so you can judge which one you feel comfortable sleeping at.

In the US, there are 245 million acres of public BLM land. The BLM website allows you to easily search places to sleep, and often up to 14 days is allowed. Staying on this land is scenic, budget-friendly (often free), and legal. Take a tent with you for camping in the stunning scenery.

Overall, always obey signage and avoid inner-city public road parking. Choose rest areas for catching up on sleep in your car, and for longer stays, choose BLM land.

Disclosure: Some of the links in this article may be affiliate links. This means I earn a commission if you make a qualifying purchase, but this is at no additional cost to you. Thank you for supporting The Road Trip Expert.

Holly Jaskolka Profile Image

Holly Jaskolka


Holly is an animal lover with a passion for travel and living a plant-based lifestyle. She enjoys practicing and teaching yoga, cooking, and visiting new places. She currently delivers self-care sessions that utilize EFT (emotional freedom technique) to support people struggling with their breakups. She enjoys writing about travel topics including road trips with pets and maintaining a vegan lifestyle on the road. She gained valuable experience during an epic road trip to Valencia from the UK!


Shannon Solange

Sunday 26th of February 2023

Great tips! Thanks for making my research a lot simpler 🙏