Skip to content
Verified: July 2026

Traffic Violation Research — Open Container Law

Is It Illegal to Drink in a Parked Car?

Last Verified: July 2026Independent Research Report

The car isn’t going anywhere. The engine is off, the keys are in a pocket, and cracking a beer in the driver’s seat feels like the same thing as cracking one on the porch. That assumption is exactly what the open container statutes in nearly every state were written to eliminate. So is it illegal to drink in a parked car?

Yes. In nearly every state, open container law bans drinking or holding an unsealed alcohol container inside a vehicle on a highway or trafficway, whether it is moving, idling, or fully parked.

That answer holds in the overwhelming majority of situations people actually find themselves in — including many parking lots that feel “private” but are not. The rest of this report walks through why the law does not care whether the engine is running, which parking lots and driveways actually fall outside it, the local ordinances that close the remaining gaps, and the much more serious line a driver crosses the moment that parked-car drink turns into a DUI risk.

Research Summary

Three Things That Surprise People About This Law

Zero Sips Required
Consumption Is Not the Trigger

Open container laws are strict liability offenses tied to the state of the container. An officer does not have to see anyone drink — an unsealed, opened, or partially emptied container within reach is enough on its own.

“Private” Often Isn’t
The Trafficway Test

Courts have ruled that privately owned mall, restaurant, and club parking lots count as a “trafficway” because the public customarily drives through them — placing them under the exact same statutes as a public street.

One Step From DUI
Actual Physical Control

An open container fine is the smaller risk. If the driver is impaired and capable of operating the vehicle’s machinery, the same parked car can support a full DUI arrest under the “actual physical control” doctrine.

Every open container statute in the country traces back to the same source: a piece of federal highway legislation that never mentions a parking lot, a driveway, or a beer can by name. The Transportation Equity Act for the 21st Century (TEA-21) created 23 U.S.C. § 154, which conditions a state’s full federal-aid highway apportionment on enacting an open container law that bans both possession and consumption of alcohol inside a motor vehicle’s passenger area — for the driver and every passenger alike.[1] A state that will not comply does not get a warning; the federal government redirects 3% of that state’s highway construction money into restricted alcohol-enforcement spending instead.[1] For a full breakdown of the federal funding mechanism, the passenger-area definitions, and the commercial-vehicle exceptions, see our companion report on drinking as a passenger in a car.

Why “The Car Wasn’t Moving” Is Not a Defense

Pennsylvania’s version of this federally mandated statute, 75 Pa.C.S. § 3809, states the general rule plainly: an operator or occupant of a motor vehicle may not possess an open alcoholic beverage container, and may not consume an alcoholic beverage in a motor vehicle, while the vehicle is on a highway in the Commonwealth.[3] Nothing in that sentence conditions the ban on the vehicle being in gear, the transmission engaged, or the wheels turning. The statute reaches the vehicle’s location, not its motion.

That design is deliberate. Lawmakers built open container statutes as strict liability offenses — meaning the prosecution does not have to prove the driver or passenger actually drank from the container, only that it existed in an open, unsealed, or partially emptied state inside the passenger compartment.[14] If an officer looks through the window of a parked car and sees an open can within arm’s reach of the driver’s seat, the violation is already complete. Whether the can is half-full or completely empty, and whether anyone took a sip in the last ten minutes, does not change the citation.

The logic behind this is prophylactic rather than punitive. By banning the mere presence of accessible open alcohol in the cabin, the law removes the opportunity for a parked, sober arrival to become an impaired departure. An open container within reach of the driver’s seat is treated as the precursor to impaired driving, so the statute penalizes the precursor directly instead of waiting to see whether the car eventually moves.

There is one narrow exception built into most states’ knowledge requirement: a driver is not liable if they had no reasonable way of knowing the container was open. Legal commentary on Pennsylvania’s statute gives the standard example — a sealed bottle of liquor that breaks open in the trunk during a grocery run does not create liability, because the driver lacked the requisite knowledge before the accident occurred.[14] A can cracked open in the cupholder and left there while the driver goes inside a store does not qualify for that exception; the driver knew, and the container remained accessible in the passenger compartment.

In Pennsylvania, a first violation of § 3809 is a summary offense — not a misdemeanor or felony — carrying a fine, and both the driver and any passenger holding the container can be cited depending on who has actual or constructive possession of it at the moment police arrive.[16]

Where the Statute Actually Reaches: Highways, Trafficways, and Parking Lots

State vehicle codes do not apply the open container ban to every square foot of land within the state’s borders. Pennsylvania’s vehicle code, for example, explicitly limits the reach of its serious traffic provisions — including the open container and DUI statutes — to vehicles located on a “highway” or “trafficway.”[5]

A “highway” is any publicly maintained way open to the public for vehicular travel, which sweeps in roads on college campuses and public parks.[7] A “trafficway” is broader still: any way or place, publicly or privately owned, where any part is open to the public for vehicular travel “as a matter of right or custom.” That second category is what catches most people off guard, because it does not depend on who holds the deed to the land — it depends on how the public actually uses it.

Geographic Reach of Open Container and DUI Statutes

Location TypeStatutory DefinitionDoes the Ban Apply?
Highway"The entire width between the boundary lines of every way publicly maintained when any part is open to public vehicular travel," including roads on college and public park grounds.Fully applies.
Trafficway"Every way or place of which any part is open to the public for purposes of vehicular travel as a matter of right or custom" — including privately owned mall, restaurant, and club parking lots.Fully applies.
Gated community / military baseRoads and lots where public entry is restricted by a gate, checkpoint, or guard, so the public cannot enter as a matter of right or custom.Generally does not apply under the vehicle code (fact-specific).
Private residential drivewayPrivate land not open to public vehicular travel and not accessed by the public as a matter of right or custom.Not reached by the state vehicle code — though local ordinances can still apply.

Source: 75 Pa.C.S. §§ 102, 3101(b), as applied in PennDOT v. McLaughlin, Commonwealth v. McFadden, Commonwealth v. Wilson, and Commonwealth v. Guzman. See the Primary Source Directory below.

The trafficway test is why a shopping-center parking lot, a fast-food lot, or even a private club’s lot generally does not offer an escape from open container law. In one Pennsylvania case, a defendant argued that an Elks Club parking lot was private property beyond the reach of the DUI statute; the court disagreed, ruling the lot was a trafficway because it was open to public use by custom, and upheld the conviction.[8] The same reasoning applies to the open container ban — the statute does not ask who owns the parking lot, only whether the public drives through it as a matter of course.

The opposite result holds where access is genuinely restricted. When a defendant was charged after a crash inside a gated residential community, the defense argued the community’s internal roads were not trafficways because entry required passing a gate and, at times, a security officer. Courts evaluating similar restricted-access locations — gated communities and military installations among them — have found that where the public cannot enter as a matter of right or custom, the statutory definition of a trafficway is not met.[6] A private residential driveway sits even further outside the statute: it is neither publicly maintained nor open to public travel by custom, so the state vehicle code’s open container ban generally does not reach it at all. For the DUI-specific version of this same jurisdictional question — including how it plays out for a car sitting in someone’s own driveway — see our report on whether you can get a DUI in your driveway and the broader analysis of drinking and driving on private property.

The Backstop the State Code Misses: Municipal “Public Place” Ordinances

A driveway or a genuinely restricted lot that escapes the state vehicle code is not automatically a safe place to drink. Municipal governments write their own alcohol ordinances to close exactly this gap, and those ordinances frequently use a much broader definition of “public place” than the state’s highway or trafficway test.

The City of Lancaster, Pennsylvania, illustrates how far this net extends. Its municipal code separately bans possessing an open or unsealed alcohol container in any “public place,” a term it defines to include any street, sidewalk, park, playground, or place the general public has access to and a right to use for business or lawful purposes — explicitly including the area directly in front of a store, restaurant, or tavern.[10] A car parked on a public street or in a municipal lot inside city limits falls squarely within that definition, independent of whether it also happens to meet the state’s trafficway test.

Lancaster’s code goes a step further than most state statutes by also regulating private land: it separately bars entering someone else’s private property with an open container without the owner’s permission.[10] First-offense fines start at $25 and climb to $100 for repeat violations, enforced through a summary proceeding, with unpaid fines carrying up to 30 days of potential imprisonment.[10] Other Pennsylvania municipalities run similarly broad ordinances — the Borough of Gettysburg, for instance, makes it unlawful to drink alcohol on any public street, municipal lot, or privately owned parking lot that is open to public use, and separately bans possessing an open container inside a vehicle parked in those areas.[11]

The Practical Takeaway

Passing the state’s highway or trafficway test is necessary, but it is not sufficient. A parked car sitting somewhere the state vehicle code cannot reach — a dead-end driveway, a restricted lot — can still trigger a citation under a local ordinance the moment it sits on a public street, in a municipal lot, or on someone else’s property without permission. The only category of location both frameworks consistently leave alone is a person’s own private driveway or yard.

The Narrow Exceptions That Actually Work

A handful of specific arrangements are exempt from the open container ban even inside a vehicle that is squarely on a highway or trafficway. Passengers in the living quarters of a house coach, camper, or recreational vehicle can legally possess and consume alcohol, because that space is treated as a distinct living area separate from the operator’s control cabin.[2] Passengers — never the driver — riding in a vehicle designed and used primarily to transport people for compensation, such as a licensed bus, taxi, or limousine, are exempt as well, so long as the alcohol stays in the partitioned passenger area and out of the operator’s reach.[2] Our companion report on drinking as a passenger in a car breaks down exactly which vehicle types qualify and where a rideshare vehicle falls in that analysis.

An already-opened or resealed container can also be transported legally if it is physically removed from the passenger compartment — placed in a locked trunk, or, in a vehicle without a trunk, behind the last upright seat or in a locked glove compartment.[15] Federal regulators specifically closed the “cork and carry” loophole some states tried to create for recorked restaurant wine bottles: a resealed container is still legally an “open” one, because its contents were partially removed at some point, and it must be stored outside the passenger area regardless of whether the cap or cork went back in.[2] That rule mattered enough that Pennsylvania had to write a specific carve-out during the COVID-19 pandemic, when the Commonwealth temporarily allowed bars and restaurants to sell prepared mixed drinks to go — the legislature classified those to-go cups as open containers by default, legal to transport only in the trunk or another area the driver and passengers cannot reach.[17]

When Drinking Parked Stops Being an Open Container Problem

Everything above concerns the smaller risk: a fine for the container itself. The larger risk starts the moment the person doing the drinking is also the one capable of operating the vehicle. Most state DUI statutes do not require proof that the car moved — they criminalize being in “actual physical control” of a vehicle while impaired, a doctrine written specifically to let officers intervene before an impaired occupant ever puts the transmission in gear.[4]

Officers investigating a parked, occupied vehicle build that case the same way regardless of whether alcohol was ever seen being consumed: they check whether the engine is running, where the keys are, whether the driver is in the driver’s seat, and what the surrounding location suggests about how the vehicle got there.[13] A person who bought a six-pack, parked legally, and is drinking it in the driver’s seat with the engine running presents a very different case to a prosecutor than the same person who moved to the back seat, shut off the engine, and put the keys in the glovebox. The container is the same either way; the DUI exposure is not.

This is where a 2024 Pennsylvania Supreme Court ruling, Bold v. Commonwealth, matters for anyone weighing whether to just stay put and keep drinking rather than move the car. The Court held that an officer’s observation of an intoxicated person inside a stationary, engine-running vehicle is not, by itself, enough to establish the “reasonable grounds” needed to demand a chemical test — there must be a “clear nexus” between the person and the vehicle’s actual operation.[12] That decision narrowed, but did not eliminate, the actual physical control doctrine. For the full evidentiary matrix courts use — engine status, key location, seat position, and the landmark cases that shaped the doctrine before and after Bold — see our deep-dive report, Can You Get a DUI in a Parked Car?

Frequently Asked Questions

Is it illegal to drink in a parked car?

Yes, in nearly every state, as long as the vehicle sits on a highway or trafficway. The open container ban attaches to the vehicle's location, not whether the engine is running or the transmission is in gear.

Do police have to see me drinking to write a citation?

No. Open container statutes are strict liability offenses tied to the physical state of the container. An unsealed, opened, or partially emptied container observed within reach of the driver's seat establishes the violation on its own, regardless of whether anyone was seen drinking.

Can I drink in my car in a store or restaurant parking lot?

Generally no. Courts have ruled that privately owned lots the public customarily drives through — a mall, a restaurant, even a private club's lot — meet the statutory definition of a "trafficway," which places them under the same open container and DUI statutes as a public street.

What about drinking in a car parked in my own driveway?

A private driveway is usually outside the state vehicle code's open container ban because it is not a highway or trafficway. But local municipal ordinances can still reach it — some explicitly ban open containers on private property without the owner's consent — and an impaired driver behind the wheel can still face a DUI investigation under the actual physical control doctrine.

Can I keep an already-opened bottle in the car if I put it away?

Yes, if it is fully removed from the passenger compartment. A locked trunk works in any vehicle; in a car without a trunk, the container must go behind the last upright seat or in a locked glove compartment. A resealed or recorked bottle is still legally "open" under federal regulations, so recorking it does not change the storage requirement.

Does drinking in a parked car risk more than a fine?

Yes. Separate from the open container citation, an impaired person capable of operating the vehicle can be arrested for DUI under the "actual physical control" doctrine, even with the car parked and the engine off. That risk depends heavily on engine status, key location, and where the vehicle is parked.


Legal Disclaimer

This content is provided for informational and educational research purposes only. It does not constitute legal advice and does not create an attorney-client relationship. Laws are subject to change and vary by state and municipality; verify current statutes with your state's official code or consult a qualified attorney in your jurisdiction before taking any action.

Primary Source Directory

  1. Federal Register, Vol. 63, Issue 193 (Oct. 6, 1998) — Open Container Program: U.S. Government Publishing Office / NHTSA — Establishes 23 U.S.C. § 154 and the 3% federal highway funding transfer penalty for non-compliant states.
  2. 23 CFR Part 1270 — Open Container Laws: eCFR, U.S. Federal Highway Administration — Federal definitions of alcoholic beverage, open container, and passenger area; RV living-quarters and commercial-passenger exceptions; resealed-container rule.
  3. 75 Pa.C.S. § 3809 — Restriction on Alcoholic Beverages: Pennsylvania General Assembly — Primary statutory text prohibiting open container possession and alcohol consumption in a motor vehicle on a highway.
  4. 75 Pa.C.S. § 3802 — Driving Under the Influence: Pennsylvania General Assembly — Primary statutory text establishing DUI tiers and the “driving, operating, or in actual physical control” standard.
  5. PennDOT v. McLaughlin, 124 Pa. Commw. 496 (1989): Pennsylvania Commonwealth Court, via Justia Law — Discusses the application of the Vehicle Code’s serious traffic provisions to highways and trafficways under 75 Pa.C.S. § 3101(b).
  6. Commonwealth v. Guzman, 2013 (Pa. Super. Ct.): Pennsylvania Superior Court, via Justia Law — Addresses whether roads inside a gated residential community meet the statutory definition of a trafficway.
  7. Commonwealth v. McFadden, 377 Pa. Super. 454 (1988): Pennsylvania Superior Court, via Justia Law — Discusses the statutory definition of “highway” under 75 Pa.C.S. § 102.
  8. Commonwealth v. Wilson, 381 Pa. Super. 253 (1989): Pennsylvania Superior Court, via Justia Law — Held that a private club’s parking lot was a trafficway because the public used it by custom, upholding a DUI conviction.
  9. City of Lancaster, PA — Code Chapter 88, Article I: Open Containers: City of Lancaster, Pennsylvania, via eCode360 — Official municipal ordinance defining “public place” broadly and separately regulating open containers on private property without consent.
  10. Borough of Gettysburg, PA — Alcohol Consumption on Public Property: Borough of Gettysburg, Pennsylvania, via eCode360 — Official municipal ordinance banning alcohol consumption and open containers in vehicles parked on public streets and public-use parking lots.
  11. Thomas E. Bold, Jr. v. Commonwealth of Pennsylvania, Dep’t of Transp., Bureau of Driver Licensing, No. 36 MAP 2023 (Pa. 2024): Pennsylvania Supreme Court, via Justia Law — Held that observing intoxication inside a stationary, engine-running vehicle alone does not establish “reasonable grounds” without a clear nexus to actual vehicle operation.
  12. NHTSA — DWI Detection and Standardized Field Sobriety Test (SFST) Participant Manual (2023): National Highway Traffic Safety Administration — Official curriculum documenting how officers investigate stationary-vehicle impairment, including engine status, key location, and seat position.
  13. Eshelman Law — “An Overview of Pennsylvania’s Open Container Laws”: Secondary source (legal analysis, context only) — Discusses the strict liability nature of § 3809 and the knowledge-requirement exception for accidentally opened containers.
  14. dui.info — “Open Container”: Secondary source (legal analysis, context only) — Summarizes the trunk/locked-glovebox storage safe harbor and the federal “cork and carry” resealed-container rule.
  15. Mack Law Offices — “Pennsylvania’s Open Container Law in 2025”: Secondary source (legal analysis, context only) — Discusses summary-offense classification, fine ranges, and citation practices for parked-vehicle open container violations.
  16. Act of May 15, 2020, P.L. 156, No. 21 — Prepared Beverages and Mixed Drinks for Off-Premises Consumption: Pennsylvania General Assembly — Official act text classifying to-go mixed drinks as open containers and setting trunk/inaccessible-area transport requirements.