Ambien, generically known as Zolpidem Zolpidem Hydrochlorid , is a prescription drug primarily used to address sleep difficulties . This brief-acting sedative works by impacting certain chemicals in the central nervous system to encourage relaxation. It's typically administered just shortly before going to sleep and is not rec