Xanax (alprazolam) is FDA-approved for two specific conditions: generalized anxiety disorder and panic disorder. These are the only official indications, though doctors sometimes prescribe it off-label for other issues like insomnia. Getting a prescription isn’t just about having the right diagnosis. Your symptoms need to meet specific thresholds, and certain health conditions can rule you out entirely.
Generalized Anxiety Disorder
Generalized anxiety disorder (GAD) is the first condition Xanax is approved to treat. To meet the clinical definition, you need to have excessive anxiety and worry about two or more areas of your life, lasting six months or longer, with the worry present more days than not. This isn’t occasional stress before a big event. It’s a persistent state that disrupts your daily functioning.
Beyond the duration requirement, at least six of 18 recognized symptoms need to be present. These fall into three clusters. The first involves physical tension: trembling, muscle soreness, restlessness, or feeling easily tired. The second covers your body’s stress response: racing heart, sweating, cold or clammy hands, shortness of breath, dizziness, nausea, frequent urination, or a “lump in throat” sensation. The third relates to mental hypervigilance: feeling on edge, an exaggerated startle response, difficulty concentrating, trouble sleeping, or irritability.
One important qualifier: these symptoms can’t be caused by another psychiatric condition or a medical issue like thyroid disease. If your anxiety is actually a side effect of another disorder, treating that underlying condition comes first.
Panic Disorder
The second approved condition is panic disorder, which involves recurrent, unexpected panic attacks followed by at least one month of persistent worry about having more attacks or significant changes in behavior to avoid them (like refusing to leave the house or avoiding places where attacks have occurred).
A panic attack itself is defined as an abrupt surge of intense fear that peaks within minutes. To count clinically, at least four of these symptoms must occur during an episode: pounding or racing heart, trembling, shortness of breath, a choking sensation, chest pain, nausea, dizziness, chills or heat sensations, numbness or tingling, a feeling of unreality or detachment from yourself, fear of losing control, or fear of dying. Many people experiencing their first panic attack believe they’re having a heart attack, which gives a sense of the intensity involved.
Xanax is typically prescribed at a higher starting point for panic disorder than for GAD, reflecting the severity of the condition.
Off-Label Uses
Doctors can legally prescribe Xanax for conditions beyond its two approved indications. The most common off-label use for benzodiazepines as a class is insomnia. Other off-label uses in clinical practice include social anxiety, alcohol withdrawal, and seizure management, though different benzodiazepines may be better suited to some of these purposes.
Off-label doesn’t mean unsupported. It means the drug hasn’t gone through the FDA approval process for that specific condition, even though clinical experience or evidence from related medications suggests it can help. Your doctor makes a judgment call weighing the benefits against the risks.
Conditions That May Disqualify You
Several health factors can make Xanax unsafe or lead your doctor to choose a different treatment. Narrow-angle glaucoma (a type of increased eye pressure) is a notable one. Your doctor may tell you not to take alprazolam at all if you have this condition.
Other conditions that require careful evaluation before prescribing include a history of seizures, lung or breathing problems, and kidney or liver disease. These don’t automatically disqualify you, but they change the risk calculation significantly. Liver disease is particularly relevant because your liver is responsible for breaking down the drug. If it can’t do that efficiently, the medication builds up in your system.
Pregnancy, especially in the final months, is a serious concern. Alprazolam can harm a developing fetus, and breastfeeding while taking it is not recommended. If you’re allergic to alprazolam or any other benzodiazepine, that’s an absolute disqualifier. People with phenylketonuria (PKU) should also know that the dissolving tablet form contains a substance that produces phenylalanine, which their bodies can’t process safely.
Special Considerations for Older Adults
If you’re 65 or older, Xanax faces an uphill battle as a treatment option. The American Geriatrics Society’s Beers Criteria, a widely used safety guide for medications in older adults, gives benzodiazepines including alprazolam a strong “avoid” recommendation. The reasoning is straightforward: older adults are more sensitive to benzodiazepines, metabolize them more slowly, and face elevated risks of cognitive impairment, delirium, falls, fractures, and car accidents while taking them. The potential for physical dependence also increases with age.
There are exceptions. The Beers Criteria acknowledges that benzodiazepines may be appropriate for older adults in cases of severe generalized anxiety disorder, seizure disorders, certain sleep disorders, or withdrawal from alcohol or benzodiazepines themselves. But these are treated as exceptions requiring strong justification, not routine prescribing.
Combining Xanax with opioid medications is another strong “avoid” for older adults due to the risk of profound sedation, respiratory depression, and death. Taking three or more drugs that affect the central nervous system at the same time (antidepressants, anti-seizure medications, antipsychotics, sleep aids, muscle relaxants, or opioids alongside a benzodiazepine) significantly increases fall and fracture risk.
How Long Prescriptions Typically Last
Even when you qualify, Xanax is designed as a short-term treatment. Guidelines from the American Academy of Family Physicians recommend limiting use to fewer than 30 days when possible. More specific guidance suggests two to four weeks of use at no more than three times per week, or daily use for no more than two weeks during periods of extreme stress.
This short timeline exists because physical dependence can develop quickly with benzodiazepines. The longer you take Xanax and the higher the dose, the more your body adapts to its presence, making it harder to stop. For generalized anxiety disorder, your doctor will often use Xanax as a bridge while a longer-term treatment like therapy or a different class of medication takes effect. For panic disorder, clinical trials used doses ranging from 1 to 10 mg daily, with most patients averaging 5 to 6 mg, but these were controlled settings with close monitoring rather than a template for ongoing use.