Diazepam is mainly used to treat anxiety, insomnia, panic attacks and symptoms of acute alcohol withdrawal. It is also used as a premedication for inducing sedation, anxiolysis, or amnesia before certain medical procedures (e.g., endoscopy). In 2020, it was approved for use in the United States as a nasal spray to interrupt seizure activity in people with epilepsy. Diazepam is the drug of choice for treating benzodiazepine dependence with its long half-life allowing easier dose reduction. Benzodiazepines have a relatively low toxicity in overdose.