Diazepam, better known by the brand name Valium, is a prescription medication used to treat several conditions. Valium belongs to a class of drugs known as benzodiazepines. Other drugs in this class include alprazolam (Xanax), lorazepam (Ativan) and clorazepate (Tranxene).