Glass containers display varieties of marijuana for sale at the Station, a retail and medical cannabis dispensary in Boulder, Colo., on Aug. 11. (Brennan Linsley/AP)

States with medical-marijuana laws have fewer traffic fatalities than those without, especially among younger drivers, a new study has found.

You would think crash rates might be higher, supposing that more drivers are, too — especially around midnight, when a run to a 7-Eleven becomes necessary.

But, no. Researchers at Columbia University’s Mailman School of Public Health found an 11 percent reduction in traffic fatalities on average when examining places that have enacted medical-marijuana laws — 23 states and the District of Columbia. The presence of medical-marijuana dispensaries also correlated with fewer traffic fatalities, the study found.

Silvia Martins, a physician and associate professor who was the study’s senior author, theorized that lower traffic fatality rates in states with marijuana laws might be related to lower levels of alcohol-impaired driving as people, especially younger people, substitute weed for booze.

There was little evidence of a reduction in the traffic fatality rate for people 45 or older, who are disproportionately represented in larger numbers among enrollees in state medical-marijuana programs. The largest drop in traffic fatality rates in states with medical-marijuana laws occurred among drivers ages 15 to 44.

“We found evidence that states with the marijuana laws in place compared with those which did not, reported, on average, lower rates of drivers endorsing driving after having too many drinks,” Martins said in a written statement. She said other factors that might help explain the correlation could be the “strength of public health laws related to driving, infrastructure characteristics, or the quality of health care systems.”

The researchers cautioned, however, that not all states with medical-marijuana laws experienced declines in traffic fatality rates. California and New Mexico had initial reductions of 16 percent and 17.5 percent, respectively, after the passage of medical-marijuana laws but then saw gradual increases in their traffic fatality rates.

The study, which was published online in the American Journal of Public Health, analyzed National Highway Traffic Safety Administration data on traffic fatalities from 1985 to 2014. The researchers took into account factors such as whether the states had graduated driver licensing laws, as well as median household income, unemployment rates, laws increasing the speed limit to 70 mph or more, laws on enforcing the use of seat belts, and bans on using cellphones and texting while driving.

The researchers undertook the study as more states passed medical-marijuana laws — nine between 2010 and 2014 — and concerns were raised about the possible effect on public safety. Previous research, for example, found that marijuana use caused drivers to weave in traffic more often and have slower reaction times; studies also found that drivers who were high tended to reduce speed and increase headways — suggesting that the users were aware of their marijuana-related impairment and were trying to compensate.