Diazepam, sold under the brand name Valium among others, is a medicine of the benzodiazepine family that acts as an anxiolytic. It is used to treat a range of conditions, including anxiety, seizures, alcohol withdrawal syndrome, muscle spasms, insomnia, and restless legs syndrome. It may also be used to cause memory loss during certain medical procedures. It can be taken orally, as a suppository inserted into the rectum, intramuscularly, intravenously or used as a nasal spray. When injected intravenously, effects begin in one to five minutes and last up to an hour. When taken by mouth, effects begin after 15 to 60 minutes.