Diazepam is classed as a benzodiazepine medication. Benzodiazepines are used for their sedative, anxiety-relieving and muscle-relaxing effects. The medication works by acting on receptors in the brain called GABA receptors. This causes a release of the neurotransmitter GABA in the brain, causing one to feel more relaxed and sleepy.