Is It Illegal to Sleep in Public? US Laws 2026

Legally Explained
On: May 31, 2026 |
257 Views

Whether it is illegal to sleep in public depends entirely on where you are, what local laws say, and a landmark 2024 Supreme Court ruling that changed the rules for cities across the country.

There is no single federal law that bans sleeping in public. But thousands of city and county ordinances do, and enforcement varies wildly from one block to the next.

In 2024, the Supreme Court handed cities far more power to enforce anti-sleeping and anti-camping rules. That ruling affects everyone from unhoused Americans to road-trippers taking a park nap.

This article covers the real laws, specific state rules, what police can actually do, and the penalties you could face in 2026.

Is It Illegal to Sleep in Public

Sleeping in public is not illegal under federal law, but it is prohibited in many cities and counties through local ordinances.

The United States has no single national law banning public sleeping. Instead, the legality depends on where you are standing, what time it is, and what the local government has decided to put in its municipal code. A park in one city might welcome an afternoon nap on a bench. The same behavior in the next city over could result in a citation.

Most public sleeping laws fall into a few categories. Some cities ban “camping,” which they define broadly enough to include lying down with any kind of bedding. Others prohibit blocking public walkways. Others use park hour restrictions to make overnight sleeping technically illegal without ever mentioning sleep directly.

Quick Facts:

  • Federal law: No ban on sleeping in public
  • State law: Varies; most states defer to local ordinances
  • Local ordinances: Thousands of cities have anti-sleeping or anti-camping rules
  • Enforcement: Highly variable; police discretion plays a major role

The practical reality is that sleeping in public is legal in some places and illegal in others, often with no clear signage to tell you which situation you are in.

Is It Illegal to Sleep in a Public Park

Sleeping in a public park is illegal in many US cities, particularly overnight, but daytime napping is rarely enforced unless park rules specifically prohibit it.

Most public parks have posted hours. Sleeping in a park after closing hours violates park rules and can result in a citation or a police order to leave. During open hours, the rules are less clear. Many parks do not explicitly ban lying down or sleeping, but anti-camping ordinances in the surrounding city often apply to park grounds.

Cities like Los Angeles, San Francisco, Denver, and Seattle have specific ordinances that prohibit camping, which includes sleeping with any kind of bedding or shelter, in public parks at any hour. Violations in those cities can result in citations, fines, or property confiscation.

CityPark Sleeping RulePenalty Range
Los Angeles, CAAnti-camping ordinance applies to parksFine up to $1,000; possible arrest
Denver, COUrban camping ban covers park groundsFine of $100 per violation
Seattle, WAAnti-camping rules enforced in parksCivil infraction; fines vary
Austin, TXCity ordinance bans public campingClass C misdemeanor; fine up to $500
Phoenix, AZAnti-camping ordinance appliesFine and possible criminal citation

Daytime park sleeping for a quick rest is rarely ticketed in smaller cities or suburban parks. The risk increases significantly in urban areas with visible encampments.

Is Sleeping in Public a Crime

Sleeping in public can be a crime, a civil infraction, or perfectly legal, depending entirely on where it happens.

The legal category matters. A criminal charge, even a misdemeanor, creates a record. A civil infraction is more like a parking ticket. Some jurisdictions treat public sleeping as neither. The 2024 Supreme Court ruling in City of Grants Pass v. Johnson confirmed that cities can criminalize sleeping in public without violating the Eighth Amendment’s prohibition on cruel and unusual punishment.

Before that ruling, the 9th Circuit Court of Appeals had held in Martin v. City of Boise (2018) that cities could not punish people for sleeping in public if no adequate shelter alternatives existed. The Grants Pass decision overturned that protection. Cities can now enforce sleeping bans even when shelters are full or unavailable.

 sleep in public

What determines whether it is a crime:

  • Whether the local ordinance classifies it as a misdemeanor or civil infraction
  • Whether the person was warned first and refused to move
  • Whether they are on private property without permission
  • Whether camping equipment, tents, or bedding is involved
  • Whether park hours were violated

In practical terms, first contact with police usually results in a warning or an order to move. Repeat contact or refusal to comply escalates to a citation or arrest.

Key Takeaway: Sleeping in public is not automatically a crime under US federal law, but thousands of local ordinances make it one, and the 2024 Supreme Court ruling gave cities the green light to enforce those laws more aggressively in 2026.

Is It Illegal to Sleep on a Park Bench

Sleeping on a park bench is legal in some cities and illegal in others, and the law often depends on whether the park is open, not just whether you are on a bench.

Many cities have installed what advocates call “hostile architecture” on benches: armrests in the middle, sloped surfaces, or narrow seats that physically prevent lying down. This is not law, it is design. But some cities back up that design with actual ordinances that specifically prohibit lying down on public benches.

New York City, for example, has rules against lying across multiple seats on subway benches or park benches in certain areas. Los Angeles Municipal Code Section 41.18 prohibits sitting, lying, or sleeping in public rights-of-way, including park adjacent areas, within specified distances of certain locations.

Quick Facts on Park Bench Sleeping:

  • Many cities use bench design rather than law to prevent sleeping
  • Where specific ordinances exist, violations are usually civil infractions
  • Parks open 24 hours are less likely to enforce bench sleeping rules
  • Parks with posted closing hours give police a clearer enforcement mechanism

The safest assumption is that lying down or sleeping on a public park bench overnight is a risk, especially in a major city. A daytime nap in a small-town park on a bench is unlikely to attract any attention.

Is It Illegal to Sleep in Your Car in Public

Sleeping in your car in a public space is legal in some states and explicitly illegal in others.

There is no federal law against sleeping in your vehicle. But states and cities have their own rules, and they vary significantly. Some cities ban overnight sleeping in vehicles parked on public streets. Others ban it in parks and recreation areas. Some have no rule at all.

Hawaii was one of the first states to pass a statewide vehicle habitation law, prohibiting people from living in their vehicles in many areas. California law is complex; some cities ban it citywide while others have designated safe parking zones.

State/CityVehicle Sleeping LawNotes
HawaiiStatewide restriction in many areasEnforced through local county ordinances
Los Angeles, CABanned on many streets and near parksLAMC Section 85.02
San Diego, CARestricted in many areasActive enforcement
New York, NYNo specific statewide banLocal rules vary by borough
Portland, ORRules vary; some areas permittedSafe parking programs in place
Austin, TXNo specific vehicle sleeping banTrespassing rules apply on private lots

Van lifers and road travelers are often the people searching this question. The honest answer is: check the specific city ordinance before you park for the night. What is fine in one town is a citation in the next.

Is It Illegal to Sleep on the Beach

Sleeping on a public beach is illegal on most managed US beaches overnight, though enforcement varies widely.

Most public beaches are managed by state parks, county parks, or municipal authorities. They have posted hours. Staying past those hours to sleep is typically a violation of park rules, which can result in a ranger warning, a civil citation, or being asked to leave.

Some beaches in Florida, California, Hawaii, and along the Gulf Coast have specific overnight camping bans unless you are in a designated campsite with a permit. Simply laying out a blanket and sleeping past midnight on a Florida county beach, for example, can result in a citation under local ordinances.

Beaches where overnight sleeping is commonly prohibited:

  • Miami Beach, FL: Overnight ban strictly enforced by beach patrol
  • Santa Monica, CA: Los Angeles County beach rules ban overnight stays
  • Waikiki, HI: Honolulu ordinances ban beach camping without permit
  • Myrtle Beach, SC: City ordinance prohibits overnight beach activity
  • Virginia Beach, VA: Overnight sleeping on beach restricted

There are exceptions. Some state parks have designated beach camping areas where sleeping overnight is legal with a paid permit. The rule of thumb is simple: if there is no campsite permit and no posted “open 24 hours” sign, sleeping overnight on the beach is probably prohibited.

Is It Illegal to Sleep in a Train Station

Sleeping in a train station is not explicitly illegal under federal law, but train station operators can and do enforce rules that prohibit it on their property.

Train stations are typically private or quasi-public property operated by transit authorities. Amtrak, for example, is a federally chartered corporation. Its stations are subject to Amtrak’s own code of conduct, which prohibits loitering and sleeping in waiting areas. Transit authorities in major cities like New York’s MTA, Chicago’s Metra, and Los Angeles’s Metro all have similar rules.

Enforcement is handled by transit police or private security. A person sleeping in a waiting area may receive a warning first. Repeated behavior or refusal to comply can result in a citation for trespassing or disorderly conduct.

Transit SystemSleeping PolicyEnforcement
Amtrak (national)Prohibited; code of conduct appliesAmtrak police
New York MTAProhibited in stationsNYPD Transit
Chicago MetraProhibited; loitering rules applyMetra Police
LA MetroProhibited; code of conductMetro Transit Security
BART (San Francisco)Prohibited; Station Agent enforcementBART Police

Airport terminals are a similar situation. Most US airports technically prohibit sleeping, though enforcement at overnight hours for travelers with tickets is usually minimal.

Key Takeaway: Location determines everything. Public parks, beaches, benches, vehicles, and transit stations each have their own legal framework, and the rules shift dramatically between cities and states.

Is It Illegal to Sleep in a Walmart Parking Lot

Sleeping in a Walmart parking lot is not illegal under any state or federal law, but it depends entirely on Walmart’s permission.

Walmart parking lots are private property. Walmart, as the property owner, has the right to decide who may stay and under what conditions. For many years, Walmart had an unofficial policy of allowing overnight RV and vehicle parking. That policy has been significantly reversed. As of 2024 and into 2026, the majority of Walmart locations prohibit overnight parking and post signs stating so.

If a Walmart location posts “No Overnight Parking” or “No Trespassing After Hours,” sleeping in the lot becomes trespassing once you are notified of the rule. Police called by Walmart management can issue a trespassing citation and require you to leave.

How to check before you sleep at a Walmart:

  • Look for posted signs in the parking lot
  • Ask a store manager inside before settling in
  • Check apps like Freecampsites or iOverlander for user-reported Walmart policies by location
  • Understand that permission can be revoked at any time

The legal risk is not being “arrested for sleeping.” It is being cited for trespassing after you have been told to leave and have refused. That is a more serious legal situation.

States Where Sleeping in Public Is Illegal

No US state has a blanket statewide law making all public sleeping illegal, but many states have laws that enable cities to enforce anti-sleeping ordinances.

The enforcement happens at the city and county level. States set the framework, and cities write the specific rules. Some states have passed laws either restricting what cities can do (protecting sleepers) or enabling more aggressive enforcement (protecting city authority to clear encampments).

StateLegal FrameworkNotable Feature
CaliforniaLocal ordinances vary; state has some preemptionsAB 1971 gives cities more enforcement tools
OregonHB 3115 (2021) required cities to allow some campingPost-Grants Pass, cities gaining more authority
TexasSB 987 (2021) banned camping in public statewideOne of few statewide anti-camping laws
FloridaFL Stat 125.0231 limits county camping bansComplex interplay with local ordinances
ArizonaAnti-camping laws common in major citiesPhoenix, Tucson both have active bans
WashingtonLocal ordinances dominate; Seattle active enforcerNo statewide ban; city-by-city

Texas is one of the clearest examples of state-level action. Senate Bill 987, signed in 2021, banned camping in public places statewide. Violation is a Class C misdemeanor with a fine up to $500. Cities cannot opt out.

Key Takeaway: No single state makes all public sleeping illegal, but Texas has a statewide camping ban, and post-Grants Pass, cities in every state have broader authority to enforce local sleeping and camping prohibitions.

California Public Sleeping Laws

California public sleeping laws are among the most watched in the country, driven by the state’s high unhoused population and years of competing court decisions.

Before 2024, California cities in the 9th Circuit were constrained by the Martin v. City of Boise ruling. That ruling said cities could not criminally punish people for sleeping in public if no shelter alternatives existed. The 2024 Grants Pass Supreme Court decision overturned that framework.

After Grants Pass, California cities gained new authority to enforce anti-camping and anti-sleeping ordinances. Governor Newsom issued an executive order in August 2024 directing state agencies to clear homeless encampments. Cities like Los Angeles, San Francisco, San Diego, and Sacramento all moved to strengthen enforcement.

California-specific rules in 2026:

  • Los Angeles Municipal Code Section 41.18: Prohibits sitting, lying, or sleeping on public sidewalks near certain locations
  • San Francisco: Anti-sitting and anti-camping ordinances enforced with fines and civil citations
  • San Diego: Municipal Code prohibits camping on public property
  • Sacramento: Banned public camping after Grants Pass ruling; enforcement active

Penalties in California cities typically start as civil infractions. Fines range from $75 to $1,000 depending on the city. Repeat offenses or failure to comply can escalate to criminal misdemeanor charges.

Texas Public Sleeping Laws

Texas has one of the clearest and most enforceable public sleeping laws in the country, operating at the state level rather than leaving it entirely to cities.

Texas Senate Bill 987, passed in 2021 and enforced through 2026, makes camping in a public place a Class C misdemeanor statewide. “Camping” under the law means using public space for living accommodation purposes, including sleeping with bedding or shelter materials. The maximum fine is $500 for a first offense.

Austin had passed a local ordinance allowing some public camping before SB 987. The state law preempted it. Austin’s voters later passed Proposition B in 2021, reinstating the camping ban citywide. The result is that Austin enforces both the state law and its own municipal rules.

Texas enforcement in practice:

  • Police give warnings first in most encounters
  • Citations follow refusal to move or repeat behavior
  • Tents, sleeping bags, or bedding increase likelihood of citation under “camping” definition
  • Houston, Dallas, Fort Worth, and San Antonio all actively enforce public sleeping rules
Texas CityEnforcement LevelPenalty
AustinActive; both city and state law applyClass C misdemeanor; up to $500 fine
HoustonActive; city ordinances enforcedClass C misdemeanor
DallasActive; anti-camping rules enforcedCitation and possible arrest
San AntonioActive; municipal code appliedFine range varies

A Class C misdemeanor in Texas does not carry jail time, but it does create a criminal record entry.

Florida Public Sleeping Laws

Florida’s public sleeping laws are primarily local, but the state has created a framework that gives counties significant authority to regulate public spaces.

Florida Statute 125.0231 allows county governments to regulate or prohibit public camping within their jurisdictions. Cities have additional authority under their municipal codes. The result is a patchwork of rules across the state, with some counties being more aggressive than others.

Miami-Dade County has an ordinance that prohibits sleeping or lying down on public property in many areas. Broward County has similar rules. In the Tampa Bay area, St. Petersburg has been particularly active in enforcing anti-camping ordinances near the waterfront and downtown areas.

Florida city-by-city snapshot:

  • Miami: County ordinance prohibits public sleeping in many designated areas
  • St. Petersburg: Active enforcement; ordinance passed in 2022 strengthened after Grants Pass
  • Orlando: Downtown sleeping ban enforced by Orlando Police
  • Jacksonville: City ordinance bans camping on public property
  • Tallahassee: Anti-camping rules enforced; FSU campus area particularly active

Penalties in Florida municipalities are typically civil infractions for first offenses, ranging from $50 to $500. Criminal misdemeanor charges apply for repeat offenses or refusal to comply with a lawful police order.

Supreme Court Ruling on Sleeping in Public

The US Supreme Court’s 2024 ruling in City of Grants Pass v. Johnson is the most important legal development on public sleeping in decades.

The case came from Grants Pass, Oregon, a small city that had passed ordinances fining people for sleeping outside with bedding. Homeless individuals sued, arguing the laws violated the Eighth Amendment’s ban on cruel and unusual punishment. The 9th Circuit had agreed, citing Martin v. City of Boise, and said cities could not punish people for sleeping outside if there was no available shelter.

The Supreme Court reversed that decision in June 2024. In a 6-3 ruling, the Court held that anti-camping and anti-sleeping laws do not constitute cruel and unusual punishment under the Eighth Amendment. The majority held that these laws regulate conduct, not status, and that cities have authority to enforce public order laws even if shelters are unavailable.

What the ruling changed:

  • Cities no longer need to prove shelter availability before enforcing sleeping bans
  • States and cities across the country gained immediate authority to enforce or create anti-sleeping ordinances
  • The 9th Circuit’s Martin v. City of Boise protection is eliminated
  • Enforcement actions that were paused pending the ruling resumed quickly after June 2024

The dissent, written by Justice Sotomayor, argued the ruling criminalizes the status of homelessness. That debate continues in 2026. But the law itself is settled: cities can enforce sleeping bans.

Grants Pass v. Johnson Explained

Grants Pass v. Johnson is the Supreme Court case that determined cities can enforce anti-sleeping laws without violating the Constitution.

The city of Grants Pass, Oregon had ordinances that fined people for sleeping outside with a blanket, pillow, or any bedding material. The fines started at $295 and could escalate to criminal trespass charges for repeat violations. Homeless residents sued, arguing this was cruel and unusual punishment for the condition of being homeless.

The 9th Circuit Court of Appeals had ruled in their favor, extending the Martin v. Boise principle. That ruling had effectively created a legal shield in nine western states where cities could not criminalize sleeping if shelters were full.

The Supreme Court’s June 2024 decision removed that shield entirely. Justice Gorsuch, writing for the majority, said the Eighth Amendment limits criminal punishments; it does not bar cities from regulating where people sleep.

Timeline of the legal battle:

YearEvent
2018Martin v. City of Boise decided by 9th Circuit; cities limited
2019Grants Pass begins enforcing stricter ordinances
20229th Circuit rules against Grants Pass using Boise precedent
2023Supreme Court agrees to hear the case
June 2024Supreme Court reverses 6-3; cities gain enforcement authority
2025-2026Cities nationwide expand or enforce anti-sleeping ordinances

The practical result in 2026 is that the legal protections that existed for public sleepers in the western US before 2024 are gone.

Can Police Make You Leave a Public Park

Yes, police can legally order you to leave a public park, and you must comply or face arrest.

A police officer’s order to leave a public space is a lawful order. Refusing a lawful order from a police officer can result in charges for obstruction, disorderly conduct, or trespassing, depending on the state and situation. The fact that a park is “public” does not mean you have an unlimited right to remain there under any circumstances.

Parks have rules. Those rules are enforced. When a park is closed, you are required to leave. When an officer tells you to move because you are violating a park rule, such as a sleeping or camping ordinance, you are legally required to comply.

When police can legally order you to leave:

  • Park is past posted closing hours
  • You are sleeping or camping in violation of a local ordinance
  • You are blocking a pathway or creating a public obstruction
  • You are on private property adjacent to a park
  • You are violating posted park rules about fires, shelters, or camping

What you can do is ask calmly what rule you are violating. You have the right to that information. Arguing, refusing to leave, or becoming confrontational is where legal trouble escalates fast.

Key Takeaway: After the 2024 Grants Pass ruling, police have broad authority to enforce public sleeping laws, and the constitutional protections that once limited enforcement in nine western states no longer exist.

Penalty for Sleeping in Public

Penalties for sleeping in public range from a verbal warning to a criminal misdemeanor charge, depending on the location and circumstances.

Most first-contact encounters result in a warning or an order to move. If you comply, no penalty follows. If you do not, or if you are a repeat contact, the penalties can escalate quickly. The severity depends on whether the local rule classifies the violation as a civil infraction or a criminal offense.

Civil infractions work like traffic tickets. You receive a fine, pay it or contest it, and it typically does not create a criminal record. Criminal citations, even at the misdemeanor level, do create a record and can have consequences for employment, housing applications, and public benefits.

Violation TypeTypical PenaltyCriminal Record
Civil infraction, first offenseFine of $50 to $500No
Class C misdemeanor (Texas, others)Fine up to $500Yes
Class B misdemeanor (repeat or aggravated)Up to 180 days jail; fine up to $2,000Yes
Trespassing after warningFine and possible jail timeYes
Camping ban violation with prior recordEnhanced penalties applyYes

Confiscation of property is an additional penalty in some cities. Los Angeles, for example, has faced legal challenges over destroying the belongings of unhoused individuals during enforcement actions.

What Happens If Police Find You Sleeping in Public

When police find someone sleeping in public, the most common outcome is a verbal warning and a request to move, not an immediate arrest.

Police use discretion heavily in these situations. Officers generally assess the circumstances: is the person a danger, is there a visible ordinance violation, is the park closed, is there camping equipment. The presence of a tent, sleeping bag, or multiple people dramatically increases the likelihood of a citation rather than a warning.

If you are a tourist who fell asleep on a park bench at 2 p.m. in an open park with no posted rules against it, the realistic outcome of police contact is a friendly nudge to wake up and nothing more. If you are sleeping in a closed park at midnight with a tent set up, the outcome is likely a citation and an order to leave.

Typical escalation sequence:

  • First contact: Verbal warning; asked to move
  • Second contact or refusal to move: Citation issued; possible civil fine
  • Third contact or repeat violation: Criminal misdemeanor citation or arrest
  • Refusal to comply with lawful order: Arrest for obstruction or disorderly conduct
  • Property left unattended after order: May be collected and stored or discarded under city rules

The practical advice is simple. If an officer tells you to move, move. Ask where you are allowed to be if you need to. That single act of compliance avoids every legal consequence that follows from refusing.

Frequently Asked Questions

Is it illegal to sleep in a public park in the US?

Sleeping in a public park is illegal in many US cities but not all.
There is no federal law banning it, but local ordinances in cities like Los Angeles, Austin, and Denver prohibit camping or sleeping in parks.
Park closing hours are the most common enforcement mechanism.
Daytime napping in an open park is rarely cited, but overnight sleeping is frequently prohibited.

Can police legally remove you from a public space for sleeping?

Yes, police can legally order you to leave a public space if you are violating a local ordinance or if the space is closed.
You are legally required to comply with a lawful police order to move.
Refusing can result in a citation for obstruction or disorderly conduct, which is a criminal charge.
The 2024 Supreme Court ruling in Grants Pass v. Johnson confirmed cities have broad authority to enforce these rules.

What did the Supreme Court rule about sleeping in public?

The Supreme Court ruled 6-3 in City of Grants Pass v. Johnson in June 2024 that cities can enforce anti-sleeping and anti-camping laws without violating the Eighth Amendment.
The ruling overturned the 9th Circuit’s protection, which had previously limited enforcement in nine western states.
Cities no longer need to prove shelter availability before enforcing sleeping bans.
This is the most significant public sleeping legal development in decades and shapes all enforcement in 2026.

Is sleeping in your car in public illegal?

Sleeping in your car is legal under federal law but illegal in many cities and some states.
Hawaii has statewide restrictions, and cities like Los Angeles and San Diego ban vehicle habitation in many areas.
The legal risk is trespassing if you park on private property without permission, or violating local city ordinances prohibiting vehicle habitation.
Always check local city rules before sleeping in your car overnight.

What is the fine for sleeping in a public park?

Fines for sleeping in a public park typically range from $50 to $1,000 depending on the city and the type of violation.
In Denver, the urban camping ban carries a $100 fine per violation.
In Austin, Texas, violation of the public camping ban is a Class C misdemeanor with a fine up to $500.
Los Angeles violations can reach $1,000 for repeat offenses under certain ordinances.


Laws on public sleeping shifted dramatically after the 2024 Grants Pass ruling, and they continue to tighten in cities across the US heading into 2026. Whether you are a traveler, a van lifer, or just someone who fell asleep in a park, knowing the rules for your specific location is the only real protection.

Bookmark this page as a reference before your next trip, and share it with anyone who needs a straight answer on where US law actually stands on this issue.

Share