Alprazolam is prescribed to treat anxiety and panic disorders. It is part of a class of medications called benzodiazepines which act to enhance the effects of a neurotransmitter known as gamma-aminobutyric acid (GABA). GABA acts in the brain to inhibit and produces a calming effect.