Ambien, also known by its generic name zolpidem, is a sedative-hypnotic medication commonly prescribed to treat insomnia, a sleep disorder characterized by difficulty falling asleep or staying asleep. It belongs to a class of drugs called non-benzodiazepine hypnotics. This medicine is available in two variants: Ambien 10mg and 5mg. It is one type of sedative-hypnotic medication. Doctors commonly recommend this sleep to every individual.