Can You Sleep at Rest Stops in California? The 8-Hour Limit

Sleeping at rest stops in California is legal for up to eight hours in any 24-hour period, and the rule applies whether you’re in a passenger car, an RV, or a commercial truck. What you cannot do is treat the rest area like a campground. That distinction is where citations and tows come from.

The Eight-Hour Limit

California caps your stay at any rest area at eight hours within a rolling 24-hour window. Once your time is up, you have to leave, and you can’t return to the same rest area until the 24-hour clock resets.1Cornell Law School. California Code of Regulations Title 21, 2205 – General

The limit tracks total time, not continuous time. Parking for six hours, driving off, and coming back two hours later does not start a fresh clock. It’s the combined time you and your vehicle spend at that location.

Sleeping Versus Camping

Sleeping inside your vehicle within the eight-hour window is fine. What the regulation prohibits is camping, and in practice the line falls on whether you set anything up outside the vehicle. Pitching a tent, extending an awning, unfolding chairs around a table, or running an external shelter all cross into camping.1Cornell Law School. California Code of Regulations Title 21, 2205 – General

RV travelers get one useful allowance: cooking inside a self-contained vehicle is permitted. Gas stoves inside a properly equipped RV, travel trailer, or motor home are allowed. Setting up a camp stove or grill on the pavement is not.1Cornell Law School. California Code of Regulations Title 21, 2205 – General

Selling anything at a rest area is also off limits. California law bars commercial activity within the freeway right-of-way, with a narrow exception for vending machines operated by authorized blind entrepreneurs.2California Legislative Information. California Vehicle Code 22520.5

What Happens If You Overstay

The California Highway Patrol and local law enforcement patrol rest areas, and Caltrans has added security cameras and dedicated CHP office space at many locations.3Caltrans. Safety Roadside Rest Areas If an officer finds you’ve exceeded eight hours or set up camp, the usual result is being told to move on. Refusing can lead to a citation.

Leaving a vehicle sitting for an extended period is a bigger problem. California law prohibits abandoning a vehicle on any highway or public property, and peace officers can remove vehicles that obstruct traffic or violate parking rules.4California Legislative Information. California Vehicle Code 22651 Retrieving an impounded vehicle means paying towing and storage fees, which turns a free rest stop into a costly one.

Staying Safe Overnight

Rest areas are generally safe, but you’re parked in a publicly accessible location, often at night, next to strangers. A few habits help:

  • Park under lighting rather than tucked between large trucks where your vehicle can be boxed in or hidden.
  • Check cell coverage as soon as you pull in. No signal is a reason to continue to the next stop.
  • Keep doors locked, windows up or barely cracked, and valuables out of sight.
  • Know the rest area name and your approximate mile marker in case you need to call for help.

Solo travelers should be especially cautious. If a rest area feels deserted or poorly lit, driving to the next exit and stopping at a well-lit gas station or 24-hour business is a reasonable call.

Before your trip, it’s worth confirming that the rest areas along your route are actually open. Caltrans closes facilities for maintenance and construction, and Caltrans QuickMap shows which ones are operating.3Caltrans. Safety Roadside Rest Areas

Sleeping on City Streets Is a Separate Question

If you assume you can leave a rest area and park on a residential street or in a commercial lot to sleep, check local rules first. Many California cities restrict or ban vehicle sleeping on public streets, particularly near schools, parks, and homes. After the U.S. Supreme Court’s 2024 decision in City of Grants Pass v. Johnson, local governments have broader authority to enforce anti-camping ordinances, including those covering vehicle habitation, regardless of shelter availability.5Supreme Court of the United States. City of Grants Pass v. Johnson

Enforcement varies by city. Some prohibit overnight vehicle sleeping outright; others restrict it by zone or hour. Penalties range from warnings to citations to impoundment. The eight-hour rest area window, short as it is, often gives more legal certainty than a random street.

When Eight Hours Isn’t Enough

Eight hours covers a nap, but not a full night with dinner and morning routines built in. California offers better options for longer stays.

State Park Campgrounds

California State Parks operate developed campgrounds with fire rings, picnic tables, and restrooms. Most parks cap individual stays based on the campground’s rules, with a 30-night maximum per calendar year at most parks. Once you hit the consecutive-night limit at a campground, you have to leave and wait 48 hours before returning to that same park.6California State Parks. Camping Information and Reservations Policies

BLM and National Forest Land

Bureau of Land Management land allows dispersed camping in many parts of California for up to 14 days within any 28-day period. After the 14th day, you have to move at least 25 miles away and can’t return to that spot until the 29th day. Personal property can’t be left unattended for more than 10 days.7Bureau of Land Management. California Recreation Activities

National Forest dispersed camping follows a similar 14-day pattern, though specific rules vary by forest. Many forest roads close seasonally from mid-December through mid-April due to snow.8USDA Forest Service. Dispersed Camping – Stanislaus National Forest

Retail Lots and Truck Stops

Some Walmart locations and similar large retailers allow overnight parking, but it’s up to each store’s management. Corporate policy doesn’t guarantee it, and local ordinances or lease terms can override informal permission. Go inside, find a manager, and ask first. Truck stops built for commercial drivers usually welcome overnight parking from anyone and often have showers, fuel, and 24-hour food.

Rules for Commercial Drivers

Long-haul truckers face a second layer of rules. Federal hours-of-service regulations require at least 10 consecutive hours off duty before starting a new driving window. That time can be spent in a sleeper berth, fully off duty, or a combination. Drivers can also split rest by pairing at least seven consecutive hours in a sleeper berth with a separate off-duty period of at least two hours, as long as the two periods total 10 hours or more.9Federal Motor Carrier Safety Administration. Interstate Truck Drivers Guide to Hours of Service

California’s eight-hour rest area limit and the 10-hour federal requirement don’t line up. A driver who parks at a rest stop for a full mandatory reset will be two hours over the state cap. Enforcement at rest areas tends to focus on multi-day squatters rather than truckers meeting federal rules, but the conflict is real. Truck stops and designated safe parking areas are more reliable for drivers who need a complete 10-hour break.