Xanax (alprazolam) is a prescription medication used to treat two conditions: generalized anxiety disorder and panic disorder. It belongs to a class of drugs called benzodiazepines, which work by calming overactive brain signaling. It’s one of the most widely prescribed psychiatric medications in the United States, and it acts fast, with most people feeling its effects within the first hour.
FDA-Approved Uses
Xanax has two official uses approved by the FDA. The first is generalized anxiety disorder, a condition where you experience excessive worry about multiple areas of life, more days than not, for six months or longer. This isn’t everyday stress. It comes with physical symptoms like muscle tension, restlessness, a racing heart, sweating, trouble sleeping, and difficulty concentrating. The second approved use is panic disorder, with or without agoraphobia (a fear of situations where escape might be difficult). Panic disorder involves recurrent, unexpected panic attacks: sudden surges of intense fear that peak within about 10 minutes and can include a pounding heart, chest pain, shortness of breath, dizziness, numbness, and a feeling of losing control or dying.
Xanax is also effective for anxiety that occurs alongside depression. While it isn’t classified as an antidepressant, the FDA label notes that anxiety associated with depression responds to it. Some doctors also prescribe it off-label for sleep problems, particularly when insomnia is driven by anxiety.
How Xanax Works in the Brain
Your brain has a natural braking system built around a chemical messenger called GABA. When GABA attaches to its receptors on brain cells, it opens tiny channels that let negatively charged particles flow in, which quiets the cell down and makes it less likely to fire. Xanax doesn’t replace GABA or act like it. Instead, it latches onto a separate spot on the same receptor and amplifies GABA’s natural calming effect, increasing how often those channels open. The result is a broad slowing of nervous system activity, which is why Xanax reduces anxiety, relaxes muscles, and causes drowsiness.
This same mechanism also explains why Xanax carries a risk of feeling pleasurable for some people. It indirectly boosts dopamine activity in the brain’s reward pathway by quieting certain inhibitory cells, which can contribute to its potential for misuse.
How Quickly It Works and How Long It Lasts
The standard (immediate-release) tablet reaches peak effect in about 1.5 hours, and roughly 64% of people feel the full benefit within the first hour. Its therapeutic effects last an average of about 5 hours, though this can range from 3 to 11 hours depending on the person.
An extended-release version works on a similar timeline for onset (peaking around 1.6 hours) but lasts much longer, averaging about 11 hours with a range of 3 to 24 hours. This longer duration means fewer doses throughout the day and more stable relief, which is particularly useful for panic disorder where breakthrough symptoms between doses can be a problem.
Common Side Effects
Drowsiness is the most frequent side effect by a wide margin. In clinical trials for anxiety, 41% of people taking Xanax reported it, compared to about 22% on a placebo. In panic disorder trials, where doses tend to be higher, that number jumped to nearly 77%.
Other common side effects differ depending on the dose range. For people treated for anxiety at lower doses, the most notable effects beyond drowsiness included lightheadedness (21%), dry mouth (15%), and headache (13%). At the higher doses used for panic disorder, the side effect profile is broader and more pronounced:
- Fatigue: about 49% of patients
- Impaired coordination: 40%
- Memory problems: 33%
- Cognitive difficulties: 29%
- Increased appetite and weight gain: 33% and 27%, respectively
- Slurred speech: 23%
- Constipation: 26%
- Blurred vision: 21%
Many of these effects are most noticeable when you first start the medication or after a dose increase, and they often lessen over time as your body adjusts.
Dependence and Withdrawal Risks
The FDA requires its strongest safety alert, a boxed warning, on all benzodiazepines including Xanax. This warning highlights the risks of abuse, addiction, physical dependence, and withdrawal. Physical dependence can develop after taking Xanax steadily for just several days to weeks, even when you’re taking it exactly as prescribed.
Because Xanax is a short-acting benzodiazepine, it’s particularly prone to causing “rebound” symptoms between doses. This means the very symptoms it treats, like anxiety, restlessness, trouble sleeping, and tremor, can flare up as each dose wears off. This rebound effect can make it feel like the underlying condition is worsening, when it’s actually a sign of physical dependence.
Stopping Xanax abruptly or cutting the dose too quickly can trigger withdrawal reactions that range from uncomfortable to dangerous, including seizures. For this reason, tapering is essential. An outpatient taper typically starts with a reduction of 5% to 25% of the original dose, followed by similar reductions every one to four weeks based on how you feel. A complete taper usually takes 8 to 12 weeks, though some people need longer. In some cases, a doctor may switch you to a longer-acting benzodiazepine first, which produces smoother, more gradual changes in blood levels and makes withdrawal easier to manage.
Dangerous Interactions
Combining Xanax with opioid painkillers, alcohol, or other sedating substances is one of the most dangerous drug interactions in modern medicine. Both Xanax and opioids suppress breathing and cause sedation on their own. Together, these effects multiply. A study of patients in North Carolina found that the overdose death rate among people prescribed both a benzodiazepine and an opioid was 10 times higher than among those receiving opioids alone. Research among U.S. veterans showed that the risk of overdose death increased in a dose-dependent way, meaning the higher the benzodiazepine dose, the greater the danger.
Both opioids and benzodiazepines now carry FDA boxed warnings about this specific combination. Alcohol poses a similar risk because it also depresses the central nervous system. Even moderate drinking while taking Xanax can lead to extreme sedation, dangerously slowed breathing, and loss of consciousness.
Typical Dosing
For generalized anxiety disorder, the usual starting dose is 0.25 mg to 0.5 mg taken three times daily, with a maximum of 4 mg per day. For panic disorder, treatment typically starts at 0.5 mg three times daily, and the doses used in clinical trials averaged 5 to 6 mg per day. Some patients required up to 10 mg daily, though anyone taking more than 4 mg per day needs regular reassessment. The higher doses required for panic disorder are a major reason the side effect rates are so much steeper in that group.
Xanax is generally intended for short-term use, particularly for anxiety. For panic disorder, treatment courses tend to be longer, but the goal remains to use the lowest effective dose for the shortest period that makes clinical sense.

