Sleeping pills such as Ambien and Restoril may double someone's risk of a car crash — even after their effects should have worn off — and may raise the risk as much as having too much to drink, researchers reported Thursday. 

A close look at medical and driving records showed that people who took any one of the three popular sleeping aids had anywhere between a 25 percent and three times higher risk of being involved in an accident while driving. 

"We found that each of the medications independently was associated with an increased risk of motor vehicle crashes," Ryan Hansen of the University of Washington's school of pharmacy, who led the study, told NBC News. 

The findings, published in the American Journal of Public Health, help justify U.S. Food and Drug Administration warnings about the pills. 

In 2013, the FDA told makers to cut the recommended doses of sleeping pills because of research showing they can stay in the bloodstream at levels high enough to interfere with morning driving, which increases the risk of car accidents. 

The FDA said doctors should aim to prescribe the lowest possible dose.
Hansen's team looked at the medical records and driving records of more than 400,000 people enrolled in a health plan in the state. They chose only adults who were also drivers. 

Of them, just under 6 percent were written new prescriptions for sleeping aids between 2003 and 2008. 
 
They collected data on the three pills: zolpidem, sold under the brand name Ambien; trazodone, sometimes sold under the brand name Oleptro; and temazepam, brand name Restoril. Each works through a different mechanism to help people sleep. 

People who took Restoril had a 27 percent higher risk of being involved in a crash over the five years studied. People who took trazodone or Desyrel had nearly double the risk — 91 percent higher. Ambien users had the highest risk — they were more than twice as likely as non-users to have a car crash over the five years.