Definition
Obsessive-compulsive disorder (OCD) is a mental disorder in which people have unwanted and repeated thoughts, feelings, ideas, sensations (obsessions), and behaviors that drive them to do something over and over (compulsions).
Often the person carries out the behaviors to get rid of the obsessive thoughts. But this only provides short-term relief. Not doing the obsessive rituals can cause great anxiety and distress.
Alternative Names
Obsessive-compulsive neurosis; OCD
Causes
Health care providers do not know the exact cause of OCD. Factors that may play a role include prior head injury, infections, and abnormal function in certain areas of the brain. Genes (family history) seems to play a strong role. A history of physical or sexual abuse also appears to increase the risk for OCD.
Parents and teachers often recognize OCD symptoms in children. Most people are diagnosed by age 19 or 20, but some do not show symptoms until age 30.
Symptoms
People with OCD have repeated thoughts, urges, or mental images that cause anxiety. These are called obsessions.
Examples are:
- Excessive fear of germs
- Forbidden thoughts related to sex, religion, or harm to others or self
- Need for order
They also perform repeated behaviors in response to their thoughts or obsessions. These are called compulsions.
Examples include:
- Checking and rechecking actions (such as turning out the lights and locking the door)
- Excessive counting
- Ordering things in a certain way
- Repeatedly washing the hands to ward off infection
- Repeating words silently
- Praying silently over and over
Not everyone who has habits or rituals they like to perform has OCD. But, the person with OCD:
- Is not able to control their thoughts or behaviors, even when they understand that they are excessive.
- Spends at least an hour a day on these thoughts or behaviors.
- Does not get pleasure from performing a behavior or ritual, other than perhaps brief relief of anxiety.
- Has major problems in daily life due to these thoughts and rituals.
People with OCD may also have a tic disorder, such as:
- Eye blinking
- Facial grimacing
- Shoulder shrugging
- Head jerking
- Repeated clearing of the throat, sniffing, or grunting sounds
Exams and Tests
The diagnosis is made based on an interview of the person and family members. A physical exam can rule out physical causes. A mental health assessment can rule out other mental disorders.
Questionnaires can help diagnose OCD and track the progress of treatment.
Treatment
OCD is treated using a combination of medicine and behavioral therapy.
Medicines used include antidepressants, antipsychotics, and mood stabilizers.
Clomipramine has been shown to be effective for many with OCD.
Talk therapy (cognitive behavioral therapy; CBT) has been shown to be effective for this disorder. During therapy, the person is exposed many times to a situation that triggers the obsessive thoughts and learns to gradually tolerate the anxiety and resist the urge to do the compulsion. Therapy can also be used to reduce stress and anxiety and resolve inner conflicts.
Support Groups
You can ease the stress of having OCD by joining a support group. Sharing with others who have common experiences and problems can help you not feel alone.
Support groups are usually not a good substitute for talk therapy or taking medicine, but can be a helpful addition.
- International OCD Foundation -- iocdf.org/ocd-finding-help/supportgroups/
- National Institute of Mental Health -- www.nimh.nih.gov/health/find-help
Outlook (Prognosis)
OCD is a long-term (chronic) illness with periods of severe symptoms followed by times of improvement. A completely symptom-free period is unusual. Most people improve with treatment.
Possible Complications
Long-term complications of OCD have to do with the type of obsessions or compulsions. For example, constant handwashing can cause skin breakdown. OCD does not usually progress into another mental problem.
When to Contact a Medical Professional
Contact your provider for an appointment if your symptoms interfere with daily life, work, or relationships.
References
American Psychiatric Association website. Obsessive-compulsive and related disorders. Diagnostic and Statistical Manual of Mental Disorders. 5th ed. Text Revision (DSM-5-TR), Washington, DC: American Psychiatric Association Publishing; 2022.
Lyness JM, Lee HB. Psychiatric disorders in medical practice. In: Goldman L, Cooney KA, eds. Goldman-Cecil Medicine. 27th ed. Philadelphia, PA: Elsevier; 2024:chap 362.
Salvi JD, Ipek S, Keuthen NJ, et al. Obsessive-compulsive and related disorders. In: Stern TA, Wilens TE, Fava M, eds. Massachusetts General Hospital Comprehensive Clinical Psychiatry. 3rd ed. Philadelphia, PA: Elsevier; 2025:chap 32.