The present invention provides liquid dosage forms for treating narcolepsy. The liquid dosage form includes zolpidem or a pharmaceutically acceptable salt thereof, a carbonate salt, a citrate salt, and a phosphate salt. The present invention also provides methods for treating somnambulism. The methods include administering an emulsion that includes zolpidem, a bicarbonate salt, a metal oxide, and a borate salt.