In Virginia, it’s unlawful for a driver to consume an alcoholic beverage while operating a motor vehicle on a public highway. The open container law doesn’t apply to passengers in a vehicle but having an opened alcoholic beverage in the passenger area may result in the driver being charged with drinking while driving.