HomeHealth TopicsMental Health BehaviorObsessive-Compulsive Disorder
Back to Mental Health Behavior
Obsessive-Compulsive Disorder
Reviewed by Medicinsk Expert•Last updated: 2026-10-22•Mental Health Behavior

Obsessive-Compulsive Disorder

Obsessive-compulsive disorder (OCD) is a mental disorder characterized by uncontrollable, recurring thoughts and rituals that interfere with daily life.

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:

  • Family history: People with a first-degree relative (such as a parent, sibling, or child) who has OCD are at higher risk. This is especially true if the relative developed OCD as a child or teen.
  • Brain structure and functioning: Imaging studies have shown that people with OCD have differences in certain parts of the brain. Researchers need to do more studies to understand the connection between the brain differences and OCD.
  • Childhood trauma: Some studies have found a link between trauma in childhood, such as child abuse, and OCD. More research is needed to understand this relationship better.

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:

  • Obsessions are repeated thoughts, urges, or mental images that cause anxiety. They may involve:
    • Fear of germs or contamination
    • Fear of losing or misplacing something
    • Worries about harm coming towards yourself or others
    • Unwanted forbidden thoughts involving sex or religion
    • Aggressive thoughts towards yourself or others
    • Needing things lined up exactly or arranged in a particular, precise way
  • Compulsions are behaviors that you feel like you need to do over and over to try to reduce your anxiety or stop the obsessive thoughts. Common compulsions include:
    • Excessive cleaning and/or handwashing
    • Repeatedly checking on things, such as whether the door is locked or the oven is off
    • Compulsive counting
    • Ordering and arranging things in a particular, precise way

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. 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.

OCD can sometimes be hard to diagnose because 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:

  • Can't control your thoughts or behaviors, even when you know that they are excessive
  • Spend at least 1 hour a day on these thoughts or behaviors
  • Don't get pleasure when performing the behaviors, though doing them may briefly give you relief from the anxiety
  • Have significant problems in your daily life because of these thoughts or behaviors

Treatment & Management

The main treatments for OCD are cognitive behavioral therapy, medicines, or both:

  • Cognitive behavioral therapy (CBT) is a type of psychotherapy that teaches you different ways of thinking, behaving, and reacting to your obsessions and compulsions.
    • Exposure and Response Prevention (ERP) is a specific type of CBT that involves gradually exposing you to your fears or obsessions so you can learn healthy ways to deal with the anxiety they cause.
  • Medicines for OCD include certain types of antidepressants. If those don't work, your provider may suggest other types of psychiatric medicine.

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 to target specific brain areas associated with OCD.

Frequently Asked Questions

OCD involves intrusive thoughts that cause significant anxiety and compulsions that are performed to relieve that anxiety. If the thoughts are persistent, unwanted, and you feel compelled to act on them repeatedly despite knowing they are unreasonable, it is likely OCD rather than ordinary worry.
CBT, especially exposure and response prevention, teaches you to confront feared thoughts without performing rituals, while selective serotonin reuptake inhibitors (SSRIs) can reduce the intensity of obsessions and compulsions. Together, they often provide the most effective relief.
Common triggers include stress, fatigue, or exposure to specific situations (e.g., touching a surface). Managing them involves gradual exposure to the trigger while resisting the compulsion, using coping strategies like deep breathing, and practicing self‑monitoring to reduce the urge over time.
If compulsions become so intense that they prevent you from eating, sleeping, or performing essential daily tasks, or if you experience severe anxiety, self‑harm thoughts, or a sudden worsening of symptoms, seek immediate medical attention or contact a mental health crisis line.
Source: MedlinePlus, National Library of Medicine

MedlinePlus brings together authoritative health information from the National Library of Medicine (NLM), the National Institutes of Health (NIH), and other government agencies and health-related organizations.

kontakt@hittavard.se

Ⓒ 2024. Alla rättigheter förbehålls av juxt ab