Zolpidem 10 mg pill is used to treat insomnia. It helps you go to sleep faster and stay asleep through the night. It is often used for a short period. It comes under the brand name Ambien. It is a nonbenzodiazepine hypnotic that is slightly effective for insomnia.