Diazepam, commonly known by the brand name Valium, is a medication belonging to the benzodiazepine class. Diazepam is primarily used to treat anxiety disorders, including generalized anxiety disorder (GAD), panic disorder, and social anxiety disorder.