What Drugs Cause Depression and Anxiety?

Several widely prescribed medications can cause or worsen depression and anxiety, sometimes in people with no prior mental health history. Corticosteroids, hormonal contraceptives, acne treatments, seizure medications, and even common acid reflux drugs have all been linked to mood changes. Knowing which drugs carry this risk helps you recognize symptoms early and have a more informed conversation with your prescriber.

Corticosteroids

Drugs like prednisone, prescribed for inflammation, asthma, and autoimmune conditions, are among the most well-documented causes of psychiatric side effects. A meta-analysis in the Journal of Clinical Endocrinology & Metabolism found that 22% of people taking synthetic corticosteroids experienced depression, and 8% developed anxiety. More than half experienced noticeable behavioral changes such as irritability, agitation, or emotional instability.

The mechanism involves how these drugs interact with the brain’s own stress hormone system. Your body naturally produces cortisol, which fluctuates throughout the day. Synthetic corticosteroids flood the brain’s cortisol receptors, particularly during times when natural cortisol is normally low, like in the evening. At the same time, they suppress your body’s own cortisol production through a feedback loop, which can starve certain brain receptors of the signals they need to regulate mood. The result is a one-two punch: overstimulation in some pathways and depletion in others. Symptoms can appear within days of starting treatment, especially at higher doses.

Hormonal Contraceptives

The relationship between hormonal birth control and depression has been studied extensively, with mixed but important findings. Data from the Danish drug registry showed that women currently using oral contraceptives had a 1.8 times higher rate of antidepressant use compared to nonusers. Teenagers appear to be the most vulnerable group.

Non-oral methods, including injections, skin patches, and vaginal rings, showed a stronger association with depression than oral pills. A large Swedish cohort study of 740,000 women found no overall increased risk of depression across the general population, but did confirm a modest increase in risk among adolescents. This age-dependent pattern suggests that developing brains may be more sensitive to the hormonal shifts these medications create. If you notice persistent low mood or increased anxiety after starting or switching contraception, the timing is worth noting and discussing with your provider.

Isotretinoin for Acne

Isotretinoin, originally sold as Accutane, carries an FDA warning about psychiatric side effects. Across the largest clinical studies, roughly 3 to 4% of patients developed depression during treatment, with rates in individual studies ranging from 0% to 11% depending on the population studied.

More concerning are findings on suicidal thoughts. In a study of over 1,400 members of the Israel Defense Forces, 7.5% of those on isotretinoin reported suicidal ideation or attempted suicide, compared to 3.5% in the comparison group. A Swedish cohort of nearly 6,000 patients found a 1.78 times increased risk of hospitalization for a suicide attempt. Symptoms typically improved after stopping the medication, which is an important signal that the drug itself was contributing. If you’re prescribed isotretinoin, monitoring your mood throughout the course of treatment is essential.

Seizure Medications

In 2008, the FDA issued a safety alert covering 11 antiepileptic drugs after an analysis revealed an increased risk of suicidal thoughts and behaviors. The drugs named included gabapentin, pregabalin, lamotrigine, topiramate, valproate, levetiracetam, carbamazepine, oxcarbazepine, felbamate, tiagabine, and zonisamide. The FDA concluded that this risk likely applies to all drugs in the class, not just those specifically studied.

These medications are prescribed not only for epilepsy but also for nerve pain, migraines, and bipolar disorder. Because they work by altering electrical signaling in the brain, their effects on mood are not entirely surprising. The risk is present regardless of the condition being treated, so even someone taking gabapentin for back pain should be aware of potential mood changes.

Beta-Blockers

Beta-blockers have been linked to depression in clinical lore for more than 50 years, but recent evidence complicates that picture. A large meta-analysis found that beta-blockers were not associated with an increased risk of depression compared to either placebo or other active medications. They were, however, associated with significantly more fatigue and unusual dreams.

This distinction matters. Persistent tiredness, low energy, and disrupted sleep can look and feel a lot like depression, both to patients and to clinicians. Researchers have suggested that this overlap may explain the longstanding belief that beta-blockers cause depression. There’s also a confounding factor: people with heart disease are already at elevated risk for depression, so the medication may get blamed for something the underlying condition is driving. That said, the meta-analysis mostly tracked depression as a reported symptom rather than a formal diagnosis, and certain individual beta-blockers like propranolol have shown stronger associations with depression in earlier studies. The question isn’t fully settled.

Proton Pump Inhibitors

Acid reflux drugs like omeprazole and lansoprazole are taken by millions of people, often for months or years. Chronic use has been linked to deficiencies in vitamin B12, magnesium, and vitamin D, all of which play roles in brain chemistry.

Vitamin B12 is a key ingredient your body needs to convert dopamine into norepinephrine, a chemical messenger involved in alertness, motivation, and mood regulation. When B12 levels drop, that conversion slows down. Magnesium, also depleted by long-term PPI use, influences how your body produces dopamine in the first place by affecting the genes involved in dopamine production. These aren’t dramatic, overnight effects. They’re slow, cumulative changes that can gradually shift your mood baseline over months of use, making the connection easy to miss.

Dopamine-Related Medications

Dopamine agonists, used primarily for Parkinson’s disease and restless legs syndrome, can cause depression, confusion, and impulse control problems during long-term use. But the more acute psychiatric risk comes from stopping them. Dopamine agonist withdrawal syndrome affects 15 to 20% of people who suddenly reduce their dose or quit. Symptoms include anxiety, panic attacks, agitation, and fatigue, and they can be severe enough to be mistaken for a new psychiatric condition rather than a withdrawal reaction.

Benzodiazepines and Rebound Effects

Benzodiazepines are prescribed to treat anxiety, but they can paradoxically make it worse when you stop taking them. This “rebound anxiety” is a well-known phenomenon that often feels identical to, or more intense than, the original anxiety that led to the prescription.

The timeline depends on which drug you were taking. Short-acting benzodiazepines typically trigger withdrawal symptoms within one to two days of the last dose, with symptoms peaking around 7 to 14 days before gradually fading. Long-acting versions have a slower, somewhat less intense withdrawal that begins 2 to 7 days after stopping, peaks around day 20, and resolves over a few more weeks. Because the symptoms so closely mimic the original disorder, it’s common for both patients and clinicians to mistake withdrawal for a relapse, which can lead to restarting the medication and deepening the cycle of dependence.

Smoking Cessation Drugs

Varenicline, the active ingredient in Chantix, once carried an FDA black box warning for psychiatric side effects including depression, anxiety, and suicidal behavior. That warning was added in 2009 and removed in 2016 after larger studies failed to confirm the risk. A Dutch population study found no statistically significant association between varenicline use and depression or anxiety. The adjusted risk ratios for both conditions were essentially 1.0, meaning no difference from baseline. There was a small, transient increase in sleep disturbances during the first three to six months of use, but that was the extent of the psychiatric signal. The earlier concerns appear to have been driven by the difficulty of separating the effects of the drug from the psychological stress of quitting nicotine itself.

How to Spot a Drug-Related Mood Change

The most useful clue is timing. Drug-induced depression and anxiety typically emerge within the first few weeks of starting a new medication, increasing a dose, or stopping one abruptly. If your mood shifted noticeably after a medication change and you had no prior history of depression or anxiety, the drug is a strong suspect.

Another hallmark is resolution after stopping. In many of the conditions described above, symptoms improved or disappeared entirely once the medication was discontinued. This pattern, where symptoms appear with the drug and resolve without it, is one of the clearest signals that the medication was the cause. Keep a simple log of when you started or changed medications alongside any shifts in mood, sleep, or energy. That record can be far more useful than trying to reconstruct the timeline from memory months later.