Xanax works by increasing the amount of the neurotransmitter GABA in the brain to promote calmness and a relaxed feeling. This greatly helps people who suffer from anxiety disorders so that they are able to remain calmer in a particularly stressful situation, help curb panic attacks and calm their body's overactivity.