What Is Zolpidem? Zolpidem is a prescription medication commonly used to treat insomnia and sleep disorders. It belongs to a class of drugs known as sedative-hypnotics. Zolpidem works by slowing down brain activity to help you fall asleep faster and maintain a full night’s rest.