Obsessive-compulsive disorder, usually shortened to OCD, is a mental health condition involving unwanted thoughts, images or urges and repeated actions intended to reduce the distress they cause. It can be exhausting, time-consuming and difficult to explain, particularly when the thoughts feel frightening or shameful.
OCD is not simply liking things tidy, being careful or having particular preferences. It can make someone wash until their skin is sore, check the same appliance repeatedly, avoid people they love or spend hours mentally reviewing whether they have done something wrong.
Some compulsions are visible, but others take place entirely in the mind. A person can therefore have severe OCD without anyone around them realising what is happening.
Effective treatments are available. With appropriate cognitive behavioural therapy, medication or a combination of the two, many people can reduce the hold OCD has over their lives.
This article provides general information and is not a substitute for individual medical advice. If you feel unable to keep yourself or someone else safe, seek urgent mental health help.
What is obsessive-compulsive disorder?
OCD usually involves a repeating cycle of obsessions, emotional distress and compulsions.
- Obsessions are unwanted thoughts, images, doubts or urges that repeatedly enter the mind.
- Distress may involve anxiety, fear, disgust, guilt, shame or a feeling that something is incomplete or “not right”.
- Compulsions are behaviours or mental acts performed to reduce the distress or prevent a feared event.
The compulsion may bring temporary relief, but that relief teaches the brain that the ritual was necessary. The next time the obsession appears, the urge to carry out the compulsion can become even stronger.
For example, someone may suddenly wonder whether they left the cooker on. They return to check it, but after leaving the house another doubt appears: “What if I looked at the wrong switch?” They check again, take a photograph and ask someone else for reassurance. Each action provides short-lived relief, but none creates lasting certainty.
Most people occasionally double-check something or experience an unwanted thought. With OCD, the thoughts and rituals are persistent enough to cause significant distress, consume time or interfere with ordinary life.
What are obsessions?
An obsession is not the same as an ordinary worry or an enjoyable interest. It is an unwanted mental event that repeatedly demands attention, even when the person recognises that it may be irrational or exaggerated.
Obsessions often focus on subjects that matter deeply to the individual. Someone who cares greatly about protecting their family may experience intrusive thoughts about harming them. A religious person may develop distressing blasphemous thoughts. A person who values honesty may repeatedly fear that they have lied or cheated without realising it.
Common OCD themes include:
- fear of contamination, infection, chemicals or bodily fluids;
- fear of accidentally harming another person;
- unwanted violent, sexual or religious thoughts or images;
- doubt about whether a door was locked or an appliance switched off;
- fear of making a serious mistake;
- a need for symmetry, exactness or things to feel “just right”;
- fear of losing control and acting on an unwanted impulse;
- persistent doubts about identity, relationships or personal morality;
- fear of being responsible for something bad happening;
- concern about illness or physical symptoms.
Intrusive thoughts can be vivid and deeply upsetting. A person may misinterpret their presence as evidence about their character or intentions. In reality, having a thought is not the same as wanting it, agreeing with it or being likely to act on it.
People with OCD are typically distressed precisely because the thought conflicts with their values. The NHS guidance on OCD symptoms makes clear that unwanted violent or sexual thoughts do not mean a person will act on them.
What are compulsions?
A compulsion is something a person feels driven to do in response to an obsession, anxiety or uncomfortable sense of uncertainty. It may be intended to prevent harm, obtain certainty, neutralise a thought or make a feeling go away.
Common visible compulsions include:
- repeated handwashing, showering or cleaning;
- checking locks, taps, switches or appliances;
- checking the body for signs of illness or injury;
- arranging objects until they feel correct;
- repeating movements or everyday actions;
- asking other people for reassurance;
- confessing minor actions or thoughts;
- avoiding people, objects, places or information associated with a fear.
Mental compulsions
Some rituals happen silently and may be invisible to everyone else. These can include:
- repeating particular words, phrases or prayers;
- counting in a specific pattern;
- replacing a “bad” thought with a “good” one;
- reviewing memories to check what happened;
- testing emotional or physical reactions;
- trying to prove what a thought means;
- mentally checking whether you are a good or safe person.
The term “Pure O” is sometimes used for OCD dominated by intrusive thoughts. However, people described this way usually still have compulsions. They may be mental reviewing, reassurance seeking, avoidance or attempts to suppress and neutralise thoughts rather than obvious physical rituals.
Reassurance seeking
Reassurance can become a compulsion when the same question is asked repeatedly but no answer feels certain for long. Someone may repeatedly ask whether they offended another person, whether a physical sensation is dangerous or whether an intrusive thought means something about them.
Online searching can serve the same purpose. A person may spend hours comparing symptoms, reading moral discussions or looking for proof that their fear is impossible.
Reassurance briefly reduces anxiety, but OCD soon creates a new exception or doubt. Treatment therefore aims to help someone tolerate uncertainty rather than find a perfect answer to every obsession.
How OCD can affect everyday life
OCD ranges from relatively mild symptoms to severe illness that affects almost every part of the day. Some people spend an hour or two on rituals, while others become effectively housebound.
Possible effects include:
- being repeatedly late because of checking or washing;
- avoiding work, education, public transport or social situations;
- taking much longer than usual to complete routine tasks;
- damaged skin from repeated washing or cleaning products;
- difficulty concentrating because attention is occupied by intrusive thoughts;
- relationship tension caused by reassurance seeking or involving relatives in rituals;
- sleep disruption from checking, reviewing or repeated routines;
- financial difficulties caused by avoidance or inability to work;
- depression, isolation and loss of confidence.
People often conceal their symptoms because they fear being judged. This can make OCD appear less severe than it is. Someone may seem to be functioning normally while spending much of the day carrying out mental rituals.
OCD can also change over time. The underlying cycle may remain similar while the subject of the obsession shifts from contamination to relationships, health, morality or another theme.
What causes OCD?
There is no single established cause. OCD is likely to develop through a combination of biological vulnerability, learning, temperament and life experiences.
The condition sometimes runs in families, suggesting that genes contribute to susceptibility. This does not mean that a child will necessarily develop OCD because a parent has it, or that family behaviour caused the illness.
Differences in brain circuits involved in detecting threats, forming habits and deciding when a task is complete may also play a part. Serotonin and other chemical messengers are involved, although OCD cannot be explained simply as having too little of one chemical.
Symptoms may begin or worsen during periods of stress, illness, major responsibility, bereavement or change. Pregnancy and the period after birth can also be times when OCD first appears or becomes more severe.
Stress is better understood as a possible trigger or amplifier than as the complete cause. Many people experience stressful events without developing OCD, while some develop the condition without any identifiable trigger.
OCD can begin in childhood, around puberty or during early adulthood, although it may start at any age. It affects people of all genders and backgrounds.
How is OCD diagnosed?
There is no blood test or brain scan used routinely to diagnose OCD. Diagnosis is based on a careful discussion of the person’s obsessions, compulsions, distress and the effect on everyday life.
A GP, psychologist or mental health professional may ask:
- what thoughts, images, urges or doubts keep returning;
- what you do to make the anxiety or uncertainty feel better;
- how much time the symptoms take each day;
- what places, people or situations you avoid;
- whether family members are involved in checking or reassurance;
- how symptoms affect work, education, relationships and self-care;
- whether you also experience depression, anxiety or thoughts of self-harm.
Clinicians sometimes use a structured questionnaire or rating scale to understand symptom severity and monitor progress. One commonly used tool is the Yale-Brown Obsessive Compulsive Scale, known as the Y-BOCS, but a questionnaire alone does not make the diagnosis.
People are often frightened to disclose taboo intrusive thoughts. A clinician familiar with OCD should understand that unwanted thoughts about violence, sex, religion or harm can be symptoms of the condition. Describing them honestly helps the clinician distinguish an obsession from an actual intention to harm.
Insight can vary
Many people recognise that their fear is exaggerated but still feel unable to resist the ritual. Others have less insight, particularly when anxiety is intense, and may feel that the feared danger is genuinely likely.
You do not need to know with certainty that a belief is irrational to receive help. The clinician will consider the full pattern, including distress, repetition and attempts to reduce uncertainty.
Other conditions that can overlap with OCD
OCD may occur alongside depression, generalised anxiety disorder, panic disorder, eating disorders, autism, ADHD, tic disorders or body dysmorphic disorder.
It is not the same as obsessive-compulsive personality disorder, sometimes abbreviated to OCPD. OCPD involves long-standing patterns such as perfectionism, control and rigidity that may feel appropriate to the person. OCD involves unwanted obsessions and compulsions that commonly cause distress.
Health-related OCD can resemble health anxiety. Repetitive checking, reassurance seeking and internet research can occur in both. A clinician will focus on the pattern and function of the behaviour rather than relying only on the topic of the fear.
Our guides to anxiety disorder symptoms and depression explain two conditions that commonly occur alongside OCD.
How is OCD treated?
The main evidence-based treatments are cognitive behavioural therapy with exposure and response prevention, and selective serotonin reuptake inhibitor medication. The recommended approach depends on symptom severity, how much daily functioning is affected, previous treatment and personal preference.
People with milder impairment may be offered a brief or low-intensity psychological intervention. More intensive CBT or medication may be appropriate when symptoms have a greater effect. Severe OCD is often treated with CBT and medication together.
Improvement can take time, and treatment may feel challenging before it becomes easier. The goal is not to eliminate every unwanted thought. It is to change the response to those thoughts so they no longer dictate behaviour.
Cognitive behavioural therapy and ERP
OCD therapy is usually a specialised form of cognitive behavioural therapy that includes exposure and response prevention, or ERP.
Exposure means gradually facing a thought, object or situation that triggers obsessional fear. Response prevention means choosing not to perform the usual compulsion or neutralising ritual.
For example, someone with contamination OCD might touch an object they consider mildly contaminated and then delay or omit washing. Someone with checking OCD might lock a door once and leave without photographing or returning to it. A person with intrusive harm thoughts may practise allowing the thought to be present without analysing what it means.
ERP is normally planned in steps. Treatment begins with situations that feel difficult but manageable rather than immediately confronting the most frightening fear. With repetition, the person learns that anxiety and uncertainty can be tolerated without carrying out the compulsion.
The purpose is not always to prove that the feared event cannot happen. Instead, therapy helps the person live without demanding impossible certainty.
A trained therapist should work collaboratively and explain the reason for each exercise. ERP should not involve genuine danger, humiliation or forcing someone into an activity without consent.
NICE recommends CBT including ERP as a central treatment for OCD. You can read the full recommendations in the NICE guideline on OCD treatment.
What therapy may involve
Therapy commonly includes:
- understanding the obsession-anxiety-compulsion cycle;
- identifying obvious and hidden rituals;
- creating a graded plan for exposure exercises;
- practising between appointments;
- reducing avoidance and reassurance seeking;
- learning how to respond to setbacks;
- planning how to apply the skills to future OCD themes.
Some sessions may take place by video, telephone or in a group. People with severe symptoms, complex mental rituals or difficulty leaving home may need more intensive or specialist treatment.
Medication for OCD
The main medicines used for OCD are selective serotonin reuptake inhibitors, or SSRIs. Although these medicines are called antidepressants, they are also used to treat OCD when depression is not present.
SSRIs used for adults may include fluoxetine, fluvoxamine, sertraline, paroxetine or citalopram. The choice depends on medical history, possible interactions, side effects, pregnancy considerations and previous response. Some uses may be off-label, which means a medicine is used in a way not specifically covered by its licence but supported by clinical guidance.
Medication often takes longer to work for OCD than it does for depression. It may take up to 12 weeks to notice a useful improvement, and the effective dose may differ from that used for depression. Dose decisions should be made by the prescriber.
Possible SSRI side effects include:
- nausea or digestive upset;
- headache or dizziness;
- sleep disturbance;
- increased anxiety or agitation at first;
- sexual side effects;
- feeling emotionally different or less responsive.
Some side effects improve during the first few weeks, while others may persist. Tell your prescriber if side effects are troublesome rather than stopping on your own.
SSRIs do not cause craving in the way addictive drugs do, but they can cause withdrawal symptoms if doses are missed or treatment is stopped suddenly. Reduction should generally be gradual and agreed with a healthcare professional.
Seek prompt help if starting or changing an antidepressant leads to severe agitation, suicidal thoughts or an urge to harm yourself.
If the first treatment does not help
Lack of improvement after a short period does not necessarily mean treatment has failed. The clinician should check whether the medicine has been taken consistently, whether the dose and duration are adequate and whether the therapy included suitable ERP.
If one approach has not helped enough, options may include:
- combining CBT with an SSRI;
- trying a different SSRI;
- considering clomipramine under medical supervision;
- receiving more intensive or specialist CBT;
- referral to a multidisciplinary OCD service.
More complex medication combinations should be managed by clinicians with suitable expertise. Severe, chronic or treatment-resistant OCD can still improve with specialist care.
OCD in children, pregnancy and after birth
Children and young people
OCD can begin during childhood. A child may repeatedly ask whether something bad will happen, wash excessively, need activities repeated in an exact way or take an unusually long time to get ready for school.
Young children may not be able to explain why they carry out a ritual. They might become extremely upset if a parent interrupts it or refuses to answer a repeated question.
Not every routine or preference is OCD. Repetitive behaviour can be part of normal development or associated with autism and other conditions. Assessment looks at the distress, function and impact of the behaviour.
For children and young people with moderate or severe OCD, NICE recommends developmentally appropriate CBT with ERP involving parents or carers. Medication may be considered in certain circumstances with specialist assessment and careful monitoring.
OCD during pregnancy and after birth
OCD can begin or worsen during pregnancy or after a baby is born. Obsessions may involve contamination, making a serious mistake or deliberately or accidentally harming the baby. Compulsions might include excessive sterilising, repeatedly checking breathing, avoiding being alone with the baby or asking others for constant reassurance.
Unwanted harm thoughts can be terrifying, but in OCD they do not mean that the parent wants to act. Tell a GP, midwife or health visitor what is happening so that they can assess the symptoms properly and arrange appropriate support.
Treatment decisions during pregnancy or breastfeeding should consider the effects of untreated illness as well as the potential benefits and risks of medication. Do not stop prescribed medication suddenly without medical advice.
How to get help for OCD in the UK
You can start by speaking to your GP. Explain both the obsessions and what you do in response, including mental rituals and avoidance. If describing the thoughts aloud feels too difficult, write them down or show the clinician a note on your phone.
Adults in England can also usually self-refer to NHS Talking Therapies without first seeing a GP. You do not need an existing diagnosis to make a referral. Arrangements differ in Scotland, Wales and Northern Ireland.
When contacting a service, ask whether the therapist has experience delivering CBT with ERP for OCD. General counselling may provide emotional support, but it is not the same as an evidence-based OCD treatment.
Our guide to accessing mental health services in the UK explains the main NHS, charity and private routes. We also have a guide to self-referral for mental health support.
National organisations offering information and peer support include OCD-UK, OCD Action and TOP UK.
When urgent help is needed
OCD can become overwhelming, particularly when combined with severe depression. Get urgent help if you feel unable to continue, cannot keep yourself safe or have plans to end your life.
In England, call NHS 111 and select the mental health option where available. You can also call Samaritans free on 116 123 at any time. Call 999 or go to A&E if there is an immediate danger to life.
If the fear comes from an unwanted OCD thought rather than an intention, you still deserve support. A mental health professional can assess the difference and help you manage the distress.
Supporting someone with OCD
It is natural to want to reassure someone you care about. However, repeatedly answering the same question, checking things for them or helping them avoid triggers can unintentionally become part of the OCD cycle. Clinicians call this family accommodation.
Changing that pattern abruptly without explanation can feel rejecting and may cause intense distress. It is usually better to agree on a gradual approach, ideally with guidance from the person’s therapist.
You might say: “I know this feels frightening, and I care about you. I think answering again would help the OCD rather than help you.” You can then support them in using the strategies agreed in therapy.
A helpful supporter can:
- listen without judging the content of intrusive thoughts;
- encourage professional treatment;
- recognise progress that may not be obvious to others;
- avoid criticising or mocking rituals;
- support agreed ERP exercises without forcing them;
- look after their own wellbeing and seek advice when needed.
Recovery is rarely perfectly smooth. A flare during stress does not erase earlier progress, and returning to previously learned ERP skills can help.
Frequently asked questions about OCD
How do I know whether a habit is OCD?
A habit is more likely to be part of OCD when it is driven by distress, fear or a need for certainty and feels difficult to resist. Clinicians also consider how much time it takes and whether it interferes with ordinary life.
Are intrusive thoughts normal?
Almost everyone experiences occasional unwanted or strange thoughts. In OCD, the thought becomes persistent and highly significant, leading to distress, analysis, avoidance or rituals. The problem is not simply having the thought but becoming trapped in the response to it.
Do violent intrusive thoughts make someone dangerous?
Unwanted, distressing violent thoughts are a recognised OCD symptom and do not mean the person wants to act. A clinician should still assess any safety concern individually, especially if there is genuine intent, planning or loss of control.
Can OCD exist without visible compulsions?
Yes. Compulsions may involve mental reviewing, counting, praying, neutralising thoughts, checking feelings or seeking reassurance. This is sometimes informally called “Pure O”, although it still involves compulsive responses.
Is OCD the same as being tidy or perfectionistic?
No. People with OCD do not necessarily like tidiness, and many have no symmetry-related symptoms. OCD involves unwanted obsessions and compulsions that cause distress or impairment. Preferring an organised room is not, by itself, OCD.
Can OCD go away on its own?
Symptoms can fluctuate, but OCD is unlikely to improve reliably without appropriate treatment. CBT with ERP, medication or both can significantly reduce its impact.
How long does OCD treatment take?
The duration depends on severity and complexity. Relatively mild OCD may respond to a shorter course of therapy, while severe symptoms may require longer and more intensive treatment. SSRIs can take up to 12 weeks to show their full early benefit.
Can OCD change themes?
Yes. A person may initially fear contamination and later become preoccupied with harm, relationships or morality. Treatment focuses on the underlying cycle rather than trying to obtain certainty about each new subject.
Can stress make OCD worse?
Yes. Symptoms commonly intensify during illness, major changes, sleep disruption or emotional stress. Stress management can be helpful, but it does not replace OCD-specific treatment such as ERP.
Is reassurance helpful?
Ordinary emotional support is helpful, but repeatedly providing certainty about the same obsession can reinforce the cycle. A therapist can help the person and their family reduce reassurance gradually and compassionately.
Can OCD be cured?
Some people reach a point where symptoms are minimal, while others continue to manage a vulnerability to OCD. Treatment can make a major difference even when occasional intrusive thoughts remain. The aim is for those thoughts to lose their authority over everyday life.