Is Sleeping in Your Car Legal in Maryland? (2026)

Confidence: High

Yes — Sleeping in Your Car is legal in Maryland as of 2026.

Key Restriction
None statewide
Penalty
Varies; typically a local ordinance violation (civil fine), such as in Ocean City. DUI charges are possible if intoxicated, but Maryland's 'shelter doctrine' can be a defense.
Last Updated
2026-03-25

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.

Advertisement

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
Recent Changes

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.

Charge Level
Varies; typically a local ordinance violation (civil fine), such as in Ocean City. DUI charges are possible if intoxicated, but Maryland's 'shelter doctrine' can be a defense.
Enforcement Likelihood
High in Ocean City, where it is explicitly prohibited. Low to moderate in other areas and primarily complaint-driven. DUI enforcement is high statewide.
Common Triggers
Parking overnight in Ocean City, resident complaints in other municipalities, or suspicion of intoxication.
Common Mistakes

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.

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 →

Neighboring States

Laws change at state lines. Here is how bordering states compare on Sleeping in Your Car:

Advertisement

Frequently Asked Questions

Is sleeping in your car legal in Maryland?
Yes — Sleeping in Your Car is legal in Maryland as of 2026. 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.
Is it legal to sleep in your car in Maryland?
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.
Does the law on sleeping in your car change at the Maryland border?
Yes. Sleeping in Your Car is legal with restrictions in neighboring Delaware. Laws change at state lines — check each state individually before traveling.

Interactive Tools

Get Sleeping in Your Car Legal Updates

Get notified when sleeping in your car laws change in any state.

No spam. Unsubscribe anytime.

EH
Ethan Harper Independent Legal Researcher

Reviewed by cross-referencing the cited state statute against current legislative databases and regulatory publications.

Last reviewed: 2026-03-25 Method: Statute cross-reference

Sources & Verification

1.
Primary Citation
2.
Statute Summary
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 f…
Verified: 2026-03-25 Reviewed by: Ethan Harper Method: Statute cross-reference Confidence: High

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.

More Maryland Legality Guides

Sleeping in Your Car in Other States

Advertisement