Diazepam 5 mg is a prescription medication for the treatment of anxiety, insomnia, panic attacks, and symptoms of acute alcohol withdrawal. It is a medication of the benzodiazepine family that is known for its calming effect. You may also use this medication as a premedication for inducing sedation, amnesia before specific medical therapies.