Alex Ehsan, MD, PhD · Medical search

Obsessive-Compulsive Disorder

Educational information. Individual clinical review of this presentation by Dr. Ehsan is not yet documented. It does not replace personal medical evaluation.

Source: MedlinePlus, National Library of Medicine. Read the original source

MedlinePlus data edition September 26, 2026. Imported September 27, 2026. These dates do not indicate a new clinical review of the article.

What is obsessive-compulsive disorder (OCD)?

Obsessive-compulsive disorder (OCD) is a mental disorder in which you have thoughts (obsessions) and rituals (compulsions) over and over. They interfere with your life, but you cannot control or stop them.

What causes obsessive-compulsive disorder (OCD)?

The cause of obsessive-compulsive disorder (OCD) is unknown. Factors such as genetics, brain biology and chemistry, and your environment may play a role.

Who is at risk for obsessive-compulsive disorder (OCD)?

Obsessive-compulsive disorder (OCD) usually begins when you are a teen or young adult. Boys often develop OCD at a younger age than girls.

Risk factors for OCD include:

In some cases, children may develop OCD or OCD symptoms following a streptococcal infection. This is called Pediatric Autoimmune Neuropsychiatric Disorders Associated with Streptococcal Infections (PANDAS).

What are the symptoms of obsessive-compulsive disorder (OCD)?

People with OCD may have symptoms of obsessions, compulsions, or both:

Some people with OCD also have Tourette syndrome or another tic disorder. Tics are sudden twitches, movements, or sounds that people do over and over. People who have tics cannot stop their body from doing these things.

How is obsessive-compulsive disorder (OCD) diagnosed?

The first step is to talk with your health care provider about your symptoms. It's important to check whether a physical problem is causing your symptoms. So your provider will do a physical exam and will ask you about your medical history. If your symptoms do not seem to be caused by a physical problem, your provider may do an OCD test or may refer you to a mental health specialist for further evaluation or treatment.

Obsessive-compulsive disorder (OCD) can sometimes be hard to diagnose. Its symptoms are like those of other mental disorders, such as anxiety disorders. It is also possible to have both OCD and another mental disorder.

Not everyone who has obsessions or compulsions has OCD. Your symptoms would usually be considered OCD when you:

What are the treatments for obsessive-compulsive disorder (OCD)?

The main treatments for obsessive-compulsive disorder (OCD) are cognitive behavioral therapy, medicines, or both:

If you have severe OCD that does not get better with these treatments, your provider may suggest a treatment called repetitive transcranial magnetic stimulation (rTMS). It is a brain stimulation procedure that uses magnetic waves. It can target specific brain areas associated with OCD.

NIH: National Institute of Mental Health

Questions for your care team

General prompts to help prepare for your appointment.

For a life-threatening emergency, call 911 in the U.S. or your local emergency number.

Browse all patient guides