In adults, zolpidem is used to treat a sleep disorder known as insomnia. It makes you fall asleep quicker if you have trouble falling asleep, so you can get a better night's sleep. Sedative-hypnotics, such as zolpidem, are a type of drug. It produces a soothing effect by acting on your brain.