Ambien (zolpidem tartrate) 10 mg is a prescription-only sleep aid that belongs to a class of medications called sedative-hypnotics. It is primarily used for the short-term treatment of insomnia, especially in individuals who have trouble initiating sleep. Ambien works by slowing down activity in the brain, allowing you to relax and fall asleep more easily.