Ambien (zolpidem) is a medication commonly prescribed for insomnia. Its half-life is about 2 to 3 hours, and it generally takes around 15 hours for the drug to be mostly eliminated from the body. Detection times vary by testing method; Urine Tests detect ...