Lorazepam (brand name Ativan) is a medication in the benzodiazepine class. It’s typically prescribed for short-term relief of anxiety, panic attacks, and sometimes insomnia. Lorazepam works by calming the brain and central nervous system, which helps to reduce symptoms of anxiety, promote relaxation, and induce sleepiness.