Is Sleeping in Your Car Legal in Maryland? (2026)
Yes — Sleeping in Your Car is legal in Maryland as of 2026.
Law changed in 2025: House Bill 1164 was introduced in 2025 to prohibit local governments from enacting laws that prevent individuals from resting or sleeping in public spaces, but its passage is not confirmed.
Quick Answer
Sleeping in your car is generally legal in Maryland at rest areas, truck stops, and other designated areas. House Bill 1164 was introduced in 2025 to prohibit local governments from enacting laws that prevent individuals from resting or sleeping in public spaces, but its passage is not confirmed.
What the Law Says
Maryland has no statewide law against sleeping in a car. However, local ordinances, like the one in Ocean City, prohibit it. Maryland recognizes a 'shelter doctrine,' which may protect an individual from a DUI conviction if they are using their car for shelter and not attempting to drive.
— Md. Code, Crim. Law § 6-101
| Category | Details |
|---|---|
| State Law | Generally legal at rest areas and designated spots |
| Common Local Rules | N/A |
| Potential Penalties | May face trespassing charges on private property. |
| Pending Legislation | None known |
House Bill 1164 was introduced in 2025 to prohibit local governments from enacting laws that prevent individuals from resting or sleeping in public spaces, but its passage is not confirmed.
Enforcement Reality
There is no state law against sleeping in a car, but there is a three-hour maximum at rest areas unless a permit is obtained. Local ordinances and trespassing laws apply, and police may investigate for DUI if a person is in their car while intoxicated.
A common mistake is staying at a rest area for longer than the three-hour limit without a permit. Another is sleeping in a car after drinking, which can lead to a DUI arrest.
Local Exceptions
None identified. State law applies uniformly across Maryland. Local ordinances may still vary — check with your city or county government for any additional rules.
Bottom Line
Sleeping in Your Car is legal in Maryland. You can sleeping in your car without violating state law, though federal rules and local ordinances may still apply. Always verify current law before acting.
Maryland vs. the Rest of the US
Across the US, sleeping in your car is fully legal in 37 states, restricted in 13, and illegal in 0. Maryland falls in the LEGAL category.
View the full 50-state map →Reviewed by cross-referencing the cited state statute against current legislative databases and regulatory publications.
Sources & Verification
This page was reviewed by Ethan Harper by comparing the legal status against the cited state statute. AllowedHere is an informational resource and does not provide legal advice. Consult a licensed attorney for guidance specific to your situation.
Comprehensive Maryland Legal Guides
Explore all related legal topics in Maryland — statutes, penalties, and enforcement in one place.