Diazepam (commonly sold under the brand name Valium) is a prescription medication used to treat anxiety, muscle spasms, seizures, and alcohol withdrawal symptoms. It belongs to the benzodiazepine class of drugs, which work by enhancing the effects of a calming neurotransmitter in the brain called GABA. Diazepam is also sometimes used as a sedative before medical procedures.