Ambien is a powerful prescription medication that treats adults with mild sleeping disorders( insomnia). It belongs to the sedative-hypnotic drug class. Ambien is a highly effective medication that encourages seven to eight hours of uninterrupted sleep.