This is when OCD symptoms, like unwanted thoughts that keep coming back and repeated actions, start as a direct result of a medical condition that affects the brain.
Reviewed by the HeyPsych Medical Review Board
No one knows exactly how common it is. It depends on how common the related medical conditions are (for example Huntington's disease, epilepsy or brain injury).
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 anxiety before my stroke. Now I cannot leave the house without checking the locks five times, and even then I sit in my car wondering if I should go back.”
School & work
Absenteeism or inability to concentrate due to both medical illness and OCD symptoms.
Social
Withdrawal from social activities due to distress or rituals.
Medical
Poor adherence to medical treatments due to compulsions (e.g., excessive cleaning interfering with wound care).
Emotional
Frustration, hopelessness, increased anxiety.
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 or get worse after a medical illness and get in the way of recovery or daily life. Get urgent help if you have thoughts of suicide, or sudden confusion or other new brain or nerve symptoms.
Everything we know about Obsessive-Compulsive Disorder Due to Another Medical Condition, section by section.
9 chapters · about 18 min to read it all. Open any one.
Primary {link:condition:ocd-due-to-medical-condition:OCD} typically begins in childhood or early adulthood without a clear medical trigger. {link:condition:ocd-due-to-medical-condition:OCD} due to a medical condition has a clear temporal onset following illness or injury, and symptoms often differ in character or suddenly appear in someone with no prior history of obsessive-compulsive tendencies.
Delirium involves fluctuating consciousness, disorientation, and confusion, with any repetitive behaviors occurring in that context. {link:condition:ocd-due-to-medical-condition:OCD} due to a medical condition features intact consciousness and specific obsessions and compulsions that persist when the person is fully alert and oriented.
OCPD involves a longstanding personality pattern of perfectionism, rigidity, and need for control that the person often views as positive traits. {link:condition:ocd-due-to-medical-condition:OCD} due to a medical condition involves intrusive, unwanted thoughts and compulsions that cause distress and clearly emerged after medical illness.
Adjustment disorder involves emotional distress in response to a stressor but does not feature the specific pattern of obsessions and compulsions seen in {link:condition:ocd-due-to-medical-condition:OCD}. The anxiety is more generalized rather than focused on specific intrusive thoughts with ritualized responses.
It is a form of {link:condition:obsessive-compulsive-disorder:obsessive-compulsive disorder} where the symptoms - intrusive thoughts and repetitive behaviors - develop as a direct result of a medical illness or injury affecting the brain. The symptoms are not better explained by primary {link:condition:ocd-due-to-medical-condition:OCD} or another mental health condition.
Conditions affecting the brain's frontal-striatal circuits can trigger {link:condition:ocd-due-to-medical-condition:OCD} symptoms. These include stroke, traumatic brain injury, brain tumors, Huntington's disease, Parkinson's disease, autoimmune encephalitis, and certain infections. Any condition that damages or alters specific brain regions may potentially cause {link:condition:ocd-due-to-medical-condition:OCD}-like symptoms.
Doctors look for a clear timeline showing {link:condition:ocd-due-to-medical-condition:OCD} symptoms began after the medical condition developed. They review imaging, lab results, and the location of any brain damage. If someone had no {link:condition:ocd-due-to-medical-condition:OCD} symptoms before their illness and develops them afterward, especially if the medical condition affects brain areas linked to {link:condition:ocd-due-to-medical-condition:OCD}, the connection is likely.
Sometimes, especially if the medical condition is reversible. For example, treating an infection or autoimmune condition may reduce {link:condition:ocd-due-to-medical-condition:OCD} symptoms. However, many people need specific {link:condition:ocd-due-to-medical-condition:OCD} treatment like medication or therapy even after the medical condition is addressed, particularly if brain changes are permanent.
Usually yes, but it takes careful teamwork between your medical team and psychiatrist. Doctors consider medicine interactions, liver and kidney function, and any reasons a medicine should not be used with your medical condition. Doses may need changing, but {link:condition:ocd-due-to-medical-condition:OCD} medicines that work are available for most people.
Primary {link:condition:ocd-due-to-medical-condition:OCD} typically starts in childhood or adolescence without a medical trigger and may have genetic components. {link:condition:ocd-due-to-medical-condition:OCD} due to a medical condition has a clear onset following illness or injury, often appears suddenly in adulthood, and is directly linked to brain changes from the medical condition.
Yes. Children can develop {link:condition:ocd-due-to-medical-condition:OCD} symptoms following brain infections, autoimmune conditions like PANDAS, traumatic brain injuries, or other medical illnesses. Pediatric cases require specialized evaluation to determine whether symptoms are medically caused.
For progressive conditions like Huntington's disease, {link:condition:ocd-due-to-medical-condition:OCD} symptoms may fluctuate or worsen over time. For stable conditions like recovered brain injuries, symptoms often remain stable or improve with treatment. Your treatment team can help monitor and adjust care as needed.
Delirium involves confusion, disorientation, and fluctuating consciousness. Any repetitive behaviors occur because the person is confused. In {link:condition:ocd-due-to-medical-condition:OCD} due to a medical condition, the person is fully alert and aware but experiences specific intrusive thoughts and feels compelled to perform rituals.
Yes. Exposure and Response Prevention (ERP) remains effective even when {link:condition:ocd-due-to-medical-condition:OCD} has a medical cause. Therapy may need modifications based on cognitive abilities or physical limitations, but the core approach of gradually facing fears without performing compulsions still works.
{link:condition:ocd-due-to-medical-condition:OCD} involves intrusive, unwanted thoughts and compulsions the person wishes they could stop. OCPD is a personality style featuring perfectionism and rigidity that the person often sees as positive. Medical conditions typically trigger {link:condition:ocd-due-to-medical-condition:OCD}-type symptoms, not personality disorders.
Strokes affecting the basal ganglia, frontal lobes, or connections between these areas can disrupt circuits that regulate repetitive behaviors and intrusive thoughts. The specific symptoms depend on which brain areas are damaged and how severely.
PANDAS (Pediatric Autoimmune Neuropsychiatric Disorders Associated with Streptococcal Infections) is a specific subtype where strep infections trigger {link:condition:ocd-due-to-medical-condition:OCD} symptoms in children. It falls under the broader category of {link:condition:ocd-due-to-medical-condition:OCD} due to a medical condition but has its own diagnostic criteria and treatment approach.
Yes. Autoimmune encephalitis, lupus affecting the brain, and other autoimmune conditions can trigger {link:condition:ocd-due-to-medical-condition:OCD} symptoms. When antibodies attack brain tissue, they may disrupt the circuits involved in obsessive-compulsive behaviors.
{link:condition:ocd-due-to-medical-condition:OCD} involves specific intrusive thoughts (obsessions) and ritualized behaviors (compulsions). Anxiety after brain injury is more generalized worry without the specific obsession-compulsion pattern. Someone can have both, but they are distinct conditions requiring different treatments.
It depends on your medical condition. If the underlying cause is treatable or the brain can recover, symptoms may resolve. For permanent brain changes, ongoing management may be needed, though many people achieve good symptom control and can eventually reduce treatment intensity.
Health anxiety after a medical crisis is understandable and usually involves general worry about illness. {link:condition:ocd-due-to-medical-condition:OCD} involves specific intrusive thoughts and ritualized behaviors that extend beyond reasonable health concerns - like checking locks repeatedly or counting rituals unrelated to health.
This condition specifically refers to {link:condition:ocd-due-to-medical-condition:OCD} caused by a medical illness itself, not medication. If medications are causing {link:condition:ocd-due-to-medical-condition:OCD}-like symptoms, that would be classified as substance/medication-induced {link:condition:ocd-due-to-medical-condition:OCD}, which is a separate diagnosis with different treatment implications.
You might explain that your medical condition affected parts of your brain that control repetitive thoughts and behaviors. The compulsions are symptoms of brain changes, not character flaws or choices. Treatment can help, and understanding from family supports recovery.
Adjustment disorder involves general emotional distress responding to a life stressor. {link:condition:ocd-due-to-medical-condition:OCD} due to a medical condition involves specific brain-based symptoms with clear obsessions and compulsions. The pattern is distinct, and treatment approaches differ significantly.
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