Sleeping in your car is not explicitly illegal under Maryland state law, but local ordinances and circumstances like intoxication can lead to citations or arrests.
Statewide Legal Framework
Maryland’s Motor Vehicle Code lacks a blanket prohibition on using vehicles for rest, focusing instead on safe operation and parking rules.
Issues arise from “actual physical control” doctrines—if you’re intoxicated with keys accessible or in the driver’s seat, police can charge DUI even if parked and asleep, as courts view you capable of driving.
No statewide “safe parking” program exists as of 2026, leaving regulation to counties and cities.
Local Ordinances and Variations
Enforcement varies: Anne Arundel County has no broad ban but prohibits overnight stays in parks after dusk; Ocean City explicitly forbids sleeping in vehicles citywide, with fines for violations. Baltimore and Montgomery may ticket for loitering or public nuisance in lots; Walmart parking often allows short-term rests if unposted…