There are several types of sedative-hypnotic medications, each having a unique mechanism of action. Benzodiazepines, such as Valium and Xanax, enhance the effects of GABA in the brain and are commonly prescribed for anxiety and insomnia. Non-benzodiazepine hypnotics, such as Ambien and Lunesta, target specific receptors in the brain and are used for short-term treatment of insomnia.