THE BALANCEhttps://thebalance.clinic/resources/mental-health/anxiety/difference-between-anxiety-and-ocd/

Swiss roots. International expertise. Personal care, delivered with privacy and discretion.

THE BALANCE

Private admissions

Let’s talk about your next step.

Speak with our admissions team about treatment for you or someone you care about.

Privacy and discretion from the first conversation.

Your admissions team

Jil Moore
Jil MooreClient Relations Director
Cynthia Nakhle
Cynthia NakhleAdmissions Manager
Abdullah Boulad, Founder & CEO

Prefer to speak with our founder?

Abdullah Boulad · Swiss entrepreneur · Founder & CEO

Clinical resource

Difference Between Anxiety and OCD

GAD involves excessive, difficult-to-control worry, while OCD involves obsessions and/or compulsions. Their themes can overlap, so thought content alone does not distinguish them.

Clinically reviewed byDr. Sarah Boss, MD
Stone residence with a swimming pool, lawn and palm trees

Quick Summary

  • Generalized anxiety disorder typically centers on excessive worry about plausible everyday concerns, while OCD involves intrusive obsessions that may be improbable or unusual.
  • People with OCD perform overt or mental compulsions to reduce distress, whereas those with generalized anxiety more commonly respond through persistent worry and rumination.
  • Both conditions may be treated with tailored cognitive behavioral therapy and medication, but accurate assessment is important when anxiety and OCD occur together.

It is common to feel anxious or worried at some point in life. However, for people with an obsessive-compulsive disorder (OCD), the anxiety related to these intrusive thoughts may force them toward persistent compulsive rituals that may make life difficult. Some people fear that something terrible will happen unless they perform a ritual; others seek relief from distress or a feeling that things are not “just right”. Rituals may provide temporary relief, but the distress often returns, maintaining the cycle. So does this mean that OCD is a type of anxiety disorder? If not, how are they different from one another?

OCD can cause intense anxiety, but anxiety itself is a symptom, not a single diagnosis. This article focuses mainly on generalized anxiety disorder (GAD) and OCD and explains the difference between anxiety and OCD, why they are separately categorized, and what happens when they overlap.

From a historical point of view, both obsessive-compulsive disorder (OCD) and generalized anxiety disorder (GAD) were categorized as anxiety disorders. As per the Diagnostic and Statistical Manual of Mental Disorders (DSM), experts’ diagnostic reference guide to classify psychiatric disorders once grouped both the issues in the same section. However, in 2013, the fifth edition of DSM separated them into different chapters.

This separation is retained in DSM-5-TR, published in 2022. GAD remains in the anxiety disorders chapter, while OCD is classified under “Obsessive-Compulsive and Related Disorders.” Some other issues that share the section include body dysmorphic disorder (BDD), trichotillomania (hair-pulling disorder), and hoarding disorder. This grouping reflects similarities among obsessive-compulsive and related disorders and distinctions from anxiety disorders; it does not mean that the conditions have completely separate, established biological causes. Some clinical differences are explained below.

The pattern and function of thoughts can help distinguish OCD from GAD, but thought content alone cannot establish a diagnosis. GAD involves excessive, difficult-to-control worry across areas such as family, school, work, health, relationships, and finances. These issues are the ones that almost all people worry about, but people with underlying anxiety do so to the extent that it significantly disrupts their daily functioning.

OCD involves intrusive, unwanted thoughts, images or urges and/or compulsions. Its themes can overlap with everyday GAD concerns, so whether a fear seems plausible does not reliably distinguish the conditions. Informal descriptions of OCD themes include:

  • Contamination OCD, in which people obsess about germs and dirt and their effect on their health. For example, they may fear catching an infection by coming in contact with the suspected contaminant
  • Hit and Run OCD, in which the sufferer obsesses over the fear of running over people with their vehicle
  • Harm OCD, describes intrusive, unwanted fears or images of accidentally or intentionally harming oneself or others. Having such thoughts does not by itself mean a person wants or intends to act on them
  • Relationship OCD, in which the focus of obsessions is the fear of not loving one’s partner or not being sexually attracted to them
  • Scrupulosity OCD describes religious and/or moral obsessions, such as distressing fears of sin, offending one’s faith, or failing to meet personal moral standards.

These are examples of symptom themes, not separate formal diagnoses or an exhaustive list. OCD can involve many subjects, including realistic everyday concerns. Assessment considers how thoughts are experienced, any rituals or avoidance, and their effect on daily life rather than judging only how probable the feared event seems.

Responses to distressing thoughts also help distinguish GAD from OCD. People with GAD may worry repeatedly, avoid situations or seek reassurance. Worry alone is not an OCD-type compulsion. In OCD, compulsions are repetitive behaviors or mental acts that a person feels driven to perform in response to an obsession or according to rigid rules, often to reduce distress or prevent a feared event.

For instance, someone with GAD may repeatedly worry, “what if I lose my job and end up going broke?” They may spend considerable time considering possible consequences or seeking reassurance. This pattern does not by itself establish OCD.  

In OCD, compulsions may be visible, such as repeated lock checking, or covert, such as silently counting, praying or mentally reviewing events. They may aim to reduce distress, neutralize an obsession or achieve a feeling that things are “just right”. Relief is often temporary, and mental rituals can be as disruptive as visible behaviors.

The treatment modalities for anxiety and OCD overlap significantly, despite having some critical differences. For example, both conditions respond well to psychotherapy called cognitive behavioral therapy and a particular class of antidepressants called selective serotonin reuptake inhibitors (SSRIs).

Cognitive Behavioral Therapy (CBT)

CBT refers to a type of behavioral therapy that encourages people to identify and change the negative thoughts contributing to the symptoms. While this therapy generally performs well in managing OCD and GAD, the specific techniques used may differ. For example:

  • CBT for GAD may include cognitive restructuring, in which people identify and evaluate anxiety-provoking thoughts, alongside work on behaviors that maintain worry.
  • CBT for OCD usually includes exposure and response prevention (ERP): planned, gradual contact with triggers while resisting compulsive responses, including mental rituals and neutralizing. With a trained therapist, people practice managing distress and uncertainty without relying on rituals.

Medications

Medication choices differ between GAD and OCD. The adult recommendations below follow NICE guidance used in England; medicine licenses vary by country and age. SSRIs are options for both disorders, while SNRIs are options for GAD but are not standard first-line medication for OCD. Psychotherapy, medication or a combination is selected according to severity, preferences and previous response, not on the assumption that combination treatment is always better.

  • For adults with GAD choosing medication, NICE recommends an SSRI first, followed by another SSRI or an SNRI if the initial SSRI is ineffective.
  • For adults with OCD, initial medication options include SSRIs such as sertraline, fluoxetine, fluvoxamine or paroxetine. Clomipramine, a tricyclic antidepressant rather than an SSRI, may be considered after an inadequate SSRI response or poor tolerability, or according to preference and previous response.

SSRIs can take several weeks to help GAD, and benefit in OCD may take up to 12 weeks. Prescribers should discuss side effects and monitor symptoms, particularly early in treatment and after dose changes. Seek prompt medical advice for worsening agitation or suicidal thoughts. If you may act on suicidal thoughts or cannot keep yourself or someone else safe, seek immediate help from local emergency services or the nearest emergency department. Do not stop or change medication without advice from the prescriber; stopping antidepressants abruptly can cause withdrawal symptoms.

OCD and GAD can occur together, and either can also occur with depression or other mental health conditions. Co-occurrence does not mean that one disorder inevitably causes another. Assessment should consider the full symptom pattern and how each condition affects functioning and treatment needs.

An accurate assessment is important when OCD and GAD occur together. SSRIs may help both, but treatment should address each condition and individual responses vary. Sodium valproate is not a routine guideline-recommended treatment for this combination. It has major reproductive risks, including birth defects and developmental harm following exposure during pregnancy; anyone already taking it should seek specialist advice rather than stop it abruptly. For treatment-resistant OCD, antipsychotic augmentation may be considered only after adequate standard treatment trials and specialist multidisciplinary review, with discussion and monitoring of adverse effects. It is not a general treatment for co-occurring OCD and GAD.

Distinguishing between OCD and an anxiety disorder can be challenging, given the commonalities in their symptoms. However, some key differences may aid in establishing an accurate diagnosis and commencement of suitable treatment.

Whether symptoms relate to GAD, OCD or another condition, persistent worry and intrusive thoughts can be distressing. Effective treatments are available, although progress and treatment needs vary. A primary care clinician or qualified mental health professional can assess symptoms and discuss an individual plan. Outpatient care is often appropriate; specialist or more intensive care may be needed for severe symptoms or an inadequate response to treatment.

If worry, intrusive thoughts or rituals are affecting daily life, seek a professional assessment. You do not need to know which diagnosis fits before asking for help.

Questions

Frequently Asked Questions

What do you mean by obsessions in OCD?
Obsessions are recurrent, intrusive, unwanted thoughts, urges or images that cause distress. They may involve realistic everyday themes or feared connections that seem implausible; content alone does not establish OCD. For example, a student with OCD-related compulsions may believe they must line up all items on their desk in perfect symmetry and count them every day to prevent failing a test. Similarly, a parent may believe they have to say a certain phrase at certain times to protect their children from harm.
What are some common examples of compulsions in OCD?
A compulsion is a repetitive behavior or mental act that a person feels driven to perform in response to an obsession or according to rigid rules. Examples include excessive ordering, reassurance seeking, cleaning, stove checking, or silently repeating words to reduce distress or prevent a feared outcome. These actions are excessive or not realistically connected to what they are intended to prevent; ordinary checking or habits alone do not establish OCD.
Is OCD an anxiety disorder?
Despite overlap in anxiety and OCD symptoms, OCD is classified separately from anxiety disorders in DSM-5 and DSM-5-TR. OCD and GAD were previously separate diagnoses within the anxiety disorders chapter; OCD was not part of GAD. The classification reflects clinical and research distinctions, not proof of completely separate neurological causes.
How do you treat OCD and GAD?
Treatment may involve CBT, medication or both, depending on symptoms, preferences and previous response. CBT for GAD can include evaluating worry-related thoughts and changing behaviors that maintain anxiety. CBT for OCD usually includes ERP: facing triggers while resisting compulsive behaviors and mental rituals. SSRIs are medication options for both conditions. Combining treatments may be appropriate, but is not automatically necessary or superior for everyone.
Are OCD and anxiety similar to any other psychiatric issue?
OCD may have similar traits to other conditions that one can easily confuse. These conditions include:
 
olfactory reference syndrome
body dysmorphic disorder
hoarding disorder
body-focused repetitive behavior disorders
 
These conditions have distinct symptom patterns: body dysmorphic disorder centers on perceived appearance flaws, hoarding disorder on difficulty discarding possessions, and body-focused repetitive behavior disorders include hair pulling and skin picking. Avoidance can also occur in agoraphobia and separation anxiety disorder, but its presence alone does not establish OCD. A clinician considers the full pattern rather than a shared symptom.

Editorial evidence

Evidence & sources

Selected clinical guidelines, peer-reviewed research, and public-health sources used in this article.

01American Psychiatric Association. (2024). Obsessive-compulsive and related disorders.View source
02Obsessive-Compulsive Disorder (OCD) – National Institute of Mental Health (NIMH). (www.nimh.nih.gov).View source
03National Institute for Health and Care Excellence. (2005). Obsessive-compulsive disorder and body dysmorphic disorder: Treatment (CG31).View source
View all 16 sourcesShow fewer sources
04American Psychiatric Association. (2025). What is the DSM?View source
05World Health Organization. (2025). ICD-11 for mortality and morbidity statistics (2025-01 release).View source
06Gava, I., Barbui, C., Aguglia, E., Carlino, D., Churchill, R., De Vanna, M., & McGuire, H. (2007). Psychological treatments versus treatment as usual for obsessive compulsive disorder (OCD). Cochrane Database of Systematic Reviews, 2, CD005333. doi:10.1002/14651858.CD005333.pub2.View source
07National Health Service. (n.d.). Generalised anxiety disorder (GAD). National Health Service.View source
08American Psychiatric Association. (2026). What are anxiety disorders?View source
09National Institute for Health and Care Excellence. (2011). Generalised anxiety disorder and panic disorder in adults: Management. National Institute for Health and Care Excellence.View source
10MedlinePlus. (n.d.). Obsessive-compulsive disorder (OCD). MedlinePlus.View source
12National Institute of Mental Health. (n.d.). Obsessive-compulsive disorder: When unwanted thoughts or repetitive behaviors take over.View source
13National Institute of Mental Health. (n.d.). Generalized anxiety disorder: What you need to know.View source
14MedlinePlus. (n.d.). Generalized anxiety disorder.View source
15National Health Service. (n.d.). Treatment – Obsessive compulsive disorder (OCD).View source
16Stein, D. J., Costa, D. L. C., Lochner, C., Miguel, E. C., Reddy, Y. C. J., Shavitt, R. G., van den Heuvel, O. A., & Simpson, H. B. (2019). Obsessive-compulsive disorder. Nature Reviews Disease Primers, 5, 52. doi:10.1038/s41572-019-0102-3.View source
What this includes
01

Clinical context

Clear information is framed around complex and co-occurring presentations.

02

Individual factors

Assessment remains essential because needs and risks differ from person to person.

03

Next steps

A confidential conversation can help clarify the most appropriate route forward.

Not sure where the situation fits?

Your admissions team

Jil Moore
Jil MooreClient Relations Director
Cynthia Nakhle
Cynthia NakhleAdmissions Manager

A confidential first conversation can help clarify the presentation and whether our setting is appropriate.

THE BALANCE
A PLACE TO BEGIN

Ask about our care