Valium is in a group of drugs called benzodiazepines. It affects chemicals in the brain that may become unbalanced and cause anxiety. Valium is used in the management of anxiety disorders. It may also be used to treat agitation, shakiness, and hallucinations during alcohol withdrawal and to relieve certain types of muscle pain. Valium may also be used for other purposes not listed in this medication guide.