This is when drugs, medicines or toxins trigger unwanted repeated thoughts and compulsive behaviors that weren't there before the exposure began.
Reviewed by the HeyPsych Medical Review Board
It is rare. How common it is depends on the group of people and the type of substance used.
You are not the only one.
Signs are grouped the way clinicians describe them. Recognising some is a reason to talk to someone, not a diagnosis.
“I never had thoughts like this before I started that medication. Now I can't get them out of my head no matter how hard I try.”
School & work
Decline in academic or work performance due to compulsions and substance effects.
Social
Withdrawal or strained relationships due to rituals or avoidance.
Medical
Neglect of medical needs, poor treatment adherence, worsening of underlying medical conditions.
Emotional
Heightened anxiety, frustration, and shame.
Most people do best with a combination. Choose a kind of treatment to see what it involves.
Ways to start that you can sign up for yourself, from our reviews. Not a substitute for an assessment.
You get a 12-week program on your phone: weekly lessons and practices, a biofeedback breathing device, and a licensed therapist you can message and meet by video.
Copay with insurance or free through some employers; self-pay price not published · Strong research support
RelieVRx is a VR headset program your clinician can prescribe for chronic low back pain.
Covered by insurance (Medicare, VA, some private plans) with a prescription; self-pay price not published · Strong research support
You answer an intake questionnaire, get matched with a licensed therapist, then message them any time and meet by live video depending on your plan.
$69–$109/week self-pay; copay with insurance · Strong research support
Small things to try alongside care. Tick off what you've tried.
Your ticks stay on this device. They are not sent to HeyPsych.
Get checked if unwanted repeated thoughts or urges to repeat actions start after beginning or raising the dose of a substance or medicine, or if they keep going after stopping it. Get urgent help if you have thoughts of suicide.
Everything we know about Substance/Medication-Induced Obsessive-Compulsive Disorder, section by section.
9 chapters · about 12 min to read it all. Open any one.
Primary {link:condition:ocd-due-to-medical-condition:OCD} develops independently of substance use and typically has an earlier, more gradual onset. Substance-induced {link:condition:ocd-due-to-medical-condition:OCD} has a clear temporal link to substance exposure and may resolve when the substance is removed. However, distinguishing between them can be difficult if someone has both substance use and preexisting {link:condition:ocd-due-to-medical-condition:OCD} vulnerability.
While both are caused by substances, substance-induced anxiety features general worry, panic, or nervousness without the specific pattern of obsessions and compulsions. Substance-induced {link:condition:ocd-due-to-medical-condition:OCD} involves intrusive unwanted thoughts paired with ritualistic behaviors aimed at reducing the anxiety those thoughts cause.
OCPD involves rigid personality traits like perfectionism and need for control that are consistent over time and feel natural to the person. Substance-induced {link:condition:ocd-due-to-medical-condition:OCD} involves distressing intrusive thoughts and time-consuming rituals that the person recognizes as excessive and wishes they could stop.
Delirium involves fluctuating consciousness, confusion, and disorientation that are not present in substance-induced {link:condition:ocd-due-to-medical-condition:OCD}. While both can be triggered by substances, people with substance-induced {link:condition:ocd-due-to-medical-condition:OCD} remain alert and oriented while experiencing their obsessions and compulsions.
Many substances have been linked to {link:condition:ocd-due-to-medical-condition:OCD}-like symptoms including stimulants (amphetamines, cocaine, caffeine), corticosteroids, some antipsychotics, certain antibiotics, interferon, and some hallucinogens. Heavy metals and other toxins can also trigger symptoms. The list continues to grow as more cases are documented.
Many people see improvement after discontinuing the triggering substance, but recovery varies. Some experience complete resolution within weeks, while others have symptoms that persist for months or longer. Early treatment with therapy and sometimes medication can help speed recovery.
Yes, many prescription medications have been linked to {link:condition:ocd-due-to-medical-condition:OCD} symptoms. Corticosteroids, certain {link:condition:attention-deficit-hyperactivity-disorder:ADHD} medications, some antibiotics, and various other prescribed drugs can trigger obsessive-compulsive symptoms in susceptible individuals. Always report new psychiatric symptoms to your prescriber.
General substance-induced anxiety involves worry, nervousness, or panic without a specific focus. Substance-induced {link:condition:ocd-due-to-medical-condition:OCD} involves specific unwanted intrusive thoughts (obsessions) paired with repetitive behaviors or mental acts (compulsions) performed to reduce the anxiety caused by those thoughts.
The key difference is timing. Substance-induced {link:condition:ocd-due-to-medical-condition:OCD} begins during or shortly after substance exposure, while primary {link:condition:ocd-due-to-medical-condition:OCD} typically develops gradually without a substance trigger. If you had no {link:condition:ocd-due-to-medical-condition:OCD} symptoms before substance use and symptoms appeared after starting a substance, the induced form is more likely.
High doses of caffeine can trigger or worsen {link:condition:ocd-due-to-medical-condition:OCD} symptoms in susceptible individuals. Caffeine increases anxiety and arousal, which can lower the threshold for obsessive thoughts and compulsive behaviors. People prone to anxiety may be particularly sensitive.
Stimulant-induced anxiety causes general nervousness, restlessness, and worry. Stimulant-induced {link:condition:ocd-due-to-medical-condition:OCD} specifically involves intrusive unwanted thoughts that lead to ritualistic behaviors. Someone might feel generally anxious on stimulants, but {link:condition:ocd-due-to-medical-condition:OCD} involves the characteristic obsession-compulsion cycle.
This is a challenging situation that requires careful discussion with your doctors. Sometimes doses can be adjusted, alternative medications tried, or psychiatric treatment added to manage {link:condition:ocd-due-to-medical-condition:OCD} symptoms while continuing necessary medical treatment. The decision involves weighing benefits and risks.
Not necessarily, but some cases do persist. Research suggests that longer exposure, higher doses, and underlying vulnerability to {link:condition:ocd-due-to-medical-condition:OCD} increase the risk of persistent symptoms. Early intervention and substance cessation when possible improve outcomes.
Corticosteroids can cause various psychiatric effects including mood swings, depression, mania, and psychosis. {link:condition:ocd-due-to-medical-condition:OCD} specifically involves obsessions and compulsions. Someone on steroids might have mood symptoms without {link:condition:ocd-due-to-medical-condition:OCD}, or they might have {link:condition:ocd-due-to-medical-condition:OCD} without significant mood changes.
While most substance-induced {link:condition:ocd-due-to-medical-condition:OCD} improves after stopping the drug, some cases persist long-term. Heavy, prolonged use appears to increase the risk of lasting symptoms. There's also concern that substance use might unmask underlying {link:condition:ocd-due-to-medical-condition:OCD} vulnerability in some individuals.
Most improvement occurs within the first few weeks to months after substance cessation. If symptoms persist beyond a month after the substance should be fully cleared from your system, treatment for the {link:condition:ocd-due-to-medical-condition:OCD} symptoms themselves becomes increasingly important.
The key is the temporal relationship. If {link:condition:ocd-due-to-medical-condition:OCD} symptoms existed before substance use began, that's co-occurring conditions. If {link:condition:ocd-due-to-medical-condition:OCD} symptoms only appeared after substance use started and have a clear timeline connection, that suggests the substance-induced form.
Yes, withdrawal from various substances including alcohol, benzodiazepines, and opioids has been associated with the emergence of {link:condition:ocd-due-to-medical-condition:OCD} symptoms. These may resolve as withdrawal completes, but some individuals require ongoing treatment.
Never stop prescribed medication without consulting your doctor. Abrupt discontinuation can be dangerous for some medications. Contact your prescriber to discuss your concerns - they can evaluate whether the medication might be responsible and discuss alternatives or adjustments.
Yes, high-caffeine energy drinks and certain supplements can trigger {link:condition:ocd-due-to-medical-condition:OCD} symptoms in susceptible individuals. Substances marketed as cognitive enhancers or workout supplements may contain compounds that affect brain chemistry in ways that promote obsessive-compulsive symptoms.
This distinction is debated. Some believe substances directly cause {link:condition:ocd-due-to-medical-condition:OCD} in vulnerable individuals, while others think substances lower the threshold for symptoms that would have eventually appeared anyway. Practically, the treatment approach is similar regardless.
Treatment typically involves discontinuing the triggering substance when possible, combined with standard {link:condition:ocd-due-to-medical-condition:OCD} treatments. Exposure and Response Prevention therapy is the most effective psychological treatment. SSRIs may be helpful for persistent symptoms. Addressing any underlying substance use disorder is also essential.
Doctors look for clear timing between substance exposure and symptom onset, absence of {link:condition:ocd-due-to-medical-condition:OCD} symptoms before substance use, use of a substance known to cause {link:condition:ocd-due-to-medical-condition:OCD}-like symptoms, and symptoms not better explained by other conditions. Improvement after stopping the substance supports the diagnosis.
Having experienced substance-induced {link:condition:ocd-due-to-medical-condition:OCD} likely indicates some vulnerability, so there may be increased risk with future substance exposure. Discussing this with your doctor before starting new medications and avoiding recreational substances that previously caused symptoms is advisable.
This information about mental health conditions is for educational purposes only. If you believe you may be experiencing symptoms of a mental health condition, please consult with a qualified healthcare professional for proper evaluation and diagnosis.
Recognise this in yourself or someone close? Help is available, and it works.
Find a psychiatrist