Does Caffeine Help OCD or Make It Worse?

There is no reliable evidence that caffeine helps OCD. One small clinical trial tested caffeine as an add-on treatment for people whose OCD hadn’t responded to standard medication, and while it showed some preliminary interest, the most common side effect was worsened anxiety, affecting about 37% of those taking caffeine. No major psychiatric organization recommends caffeine for OCD, and the International OCD Foundation explicitly cautions against experimenting with caffeine pills on your own.

What One Clinical Trial Actually Found

The idea that caffeine might help OCD comes largely from a single study published in the Journal of Family Medicine and Primary Care. Researchers gave caffeine tablets to patients with treatment-resistant OCD, starting at a low dose and working up to a maximum of 300 mg per day (roughly the amount in a large coffee). Patients continued their existing medications throughout. Only 24 patients completed the study.

The results were mixed at best. While some symptom scores improved, the caffeine group experienced noticeably more side effects than the placebo group: 14 patients on caffeine reported adverse effects compared to 9 on placebo. The most significant problem was worsening anxiety, which hit 37% of the caffeine group versus just 4% of those on placebo. For a condition that already involves high anxiety, that’s a serious tradeoff. The average dose patients actually tolerated was closer to 150 mg per day, because many couldn’t handle the full 300 mg.

Why Caffeine Can Make OCD Worse

Caffeine blocks receptors in the brain that normally promote calm and drowsiness. That’s why it wakes you up, but it’s also why it can amplify the physical sensations that feed OCD cycles: a racing heart, restlessness, difficulty sitting with uncertainty. When your body is already in a heightened state of arousal, intrusive thoughts can feel more urgent and harder to dismiss, which often drives more compulsive behavior.

Doses above about 400 mg per day are particularly likely to worsen anxiety symptoms, though the threshold varies from person to person depending on genetic factors, including variations in how your body processes caffeine. Some people are far more sensitive than others, and there’s no simple way to predict where you fall without paying attention to how your body responds.

Network analysis research published in BMC Psychiatry found that OCD emerged as one of the most central and influential nodes in the relationship between caffeine use patterns and psychiatric symptoms. In plainer terms, OCD symptoms appear to both drive problematic caffeine use and be worsened by it, creating a feedback loop. Caffeine withdrawal itself can trigger anxiety, irritability, and difficulty concentrating, all of which can intensify OCD symptoms in the short term.

A Serious Interaction With Fluvoxamine

If you take fluvoxamine, one of the most commonly prescribed medications for OCD, caffeine deserves extra attention. Fluvoxamine dramatically slows your body’s ability to break down caffeine. In a pharmacokinetic study published in the British Journal of Clinical Pharmacology, caffeine clearance dropped to less than 10% of normal levels when combined with fluvoxamine. The half-life of caffeine, the time it takes your body to eliminate half of it, jumped from about 5 hours to nearly 56 hours.

That means a single cup of coffee could linger in your system for days instead of hours. With daily coffee drinking, caffeine would accumulate rapidly, potentially reaching levels that cause jitteriness, insomnia, and heightened anxiety even if the same amount of coffee never bothered you before starting the medication. This is why some clinicians recommend that people on fluvoxamine significantly reduce or eliminate caffeine.

What This Means for Your Morning Coffee

Moderate caffeine intake (one to two cups of coffee per day, roughly 100 to 200 mg) is fine for many people with OCD and doesn’t automatically make symptoms worse. The key is paying attention to how you personally respond. If you notice that caffeine makes you feel more on edge, makes intrusive thoughts stickier, or increases the urge to perform compulsions, cutting back is a reasonable experiment.

Caffeine is not a treatment for OCD. The evidence base consists of a single small trial with significant side effects, and no follow-up studies have replicated or expanded on it. The International OCD Foundation’s position is straightforward: no supplements, caffeine included, are considered promising enough for regular use in OCD. The established treatments, cognitive behavioral therapy (particularly exposure and response prevention) and selective serotonin reuptake inhibitors, remain the approaches with strong evidence behind them.

If you’re considering changing your caffeine habits because of OCD, tapering gradually rather than quitting abruptly is worth noting. Caffeine withdrawal can cause headaches, fatigue, irritability, and increased anxiety within 24 hours of stopping, and those symptoms can temporarily make OCD feel worse before things settle down, usually within a week or so.