OCD

Obsessions and compulsions: how the OCD cycle works

In brief

Obsessive-compulsive disorder has two main components that reinforce one another. An obsession is a thought, image, urge or doubt that appears without the person choosing it and causes distress. A compulsion is the behaviour or mental act they perform to reduce that distress. The relief does not last: when the obsession or sense of threat returns, so does the need to repeat the compulsion. This creates a cycle that can take up a large part of the day. This article explains how the two components are connected, why many compulsions are invisible, how they differ from an ordinary habit and how the cycle can be broken. Estimates vary depending on the country and the method used; the NIMH puts lifetime prevalence among US adults at 2.3%.

What is an obsession?

An obsession is a thought, image, urge or doubt that repeatedly enters the mind without the person seeking it and is difficult to put aside. The standard diagnostic manual, the DSM-5-TR, defines obsessions as intrusive and unwanted, adding that they cause marked anxiety or distress in most people.

Their content varies greatly from one person to another. It may involve a fear of contamination, doubt about whether the gas was left on, a violent image in the mind of someone who would never hurt another person, a need for everything to be symmetrical, or a sexual or religious thought that conflicts with the person's values. What these experiences have in common is not their subject but the person's relationship with the thought: they do not want it and reject it, while attempts to drive it away or neutralise it can keep their attention fixed on it.

What is a compulsion?

A compulsion is a response to this distress. The DSM-5-TR defines it as a repetitive behaviour or mental act that a person feels driven to perform in response to an obsession or according to rigid rules, with the aim of reducing distress or preventing something they fear. This is the key point: a compulsion is not performed for pleasure, but to relieve the tension left by the obsession or the feeling that something is not right.

The manual adds an important detail: the behaviour is either not realistically connected with what it is intended to prevent or is clearly excessive. Checking a door that is already locked again and again does not offer realistic protection against burglary; washing one's hands twenty times does not provide proportionate protection from illness. Many people recognise that the ritual is excessive, but levels of insight vary and, even when they recognise this, stopping can be extremely difficult.

The cycle that connects them

The two components often form a repeating cycle. An obsession appears and causes distress. A compulsion reduces that distress and, for a few minutes, the person feels calmer. The relief, however, has the opposite effect from the one intended: by reducing distress immediately, it strengthens the idea that the ritual was necessary and maintains the association between the obsession and the compulsive response. When the distress returns, the perceived need to repeat the compulsion is reinforced as well.

Over time, the cycle may take up more and more of the day. One check becomes ten; a single wash becomes a half-hour routine. The DSM-5-TR gives more than one hour a day as an example of symptoms that are time-consuming, but this is not an essential requirement: OCD can also be present when symptoms take less time but cause clinically significant distress or substantially interfere with daily life. In severe cases, they can fill most of the day and affect education, work, sleep and family life.

Visible compulsions

Some compulsions are easy to observe, and these have shaped the popular image of the disorder: washing repeatedly; checking doors, locks and appliances; arranging and aligning objects; repeatedly asking for reassurance; touching things in a particular sequence; or repeating a movement until the feeling that something is wrong goes away.

It is important to clear up a common misunderstanding. People do not repeat these actions because they enjoy them or want attention, but because they feel they must do so to reduce fear, doubt, disgust, guilt or a sense of incompleteness. This leads to an important distinction: not every repeated behaviour is a compulsion. Tidying the house, checking email or following routines can be part of anyone's life. What makes an action a compulsion is its function: it is performed to neutralise distress or prevent something feared, and the distress rises sharply when the person tries not to perform it.

Invisible compulsions

Many compulsions cannot be seen because they take place entirely within the mind. They are just as real and can be just as disabling as other compulsions, but they often go unnoticed and deserve particular attention.

A person may count silently, repeat words or phrases in their mind, pray in a particular way, review a memory repeatedly to make sure what happened, replace a "bad" thought with a "good" one to cancel it out, or check their own feelings internally for certainty that everything is all right. These are not distractions or ordinary habits: they serve the same function as washing or checking, but without an outward action.

A cross-sectional study published in 2024 found mental compulsions in 43 of the 80 patients with OCD in its sample, all of whom were seen at a centre in Karnataka, India. Mental compulsions almost always occurred alongside behavioural compulsions; the most common were cancelling a "bad" thought with a "good" one, praying and self-reassurance. Because the person may appear calm or distracted from the outside, these compulsions can go unnoticed unless they are asked about directly. Someone experiencing them may believe that they simply "think too much" and may not mention them during an appointment.

Avoidance: another way the cycle is maintained

There is another response to an obsession that is often overlooked: completely avoiding whatever triggers it. Someone who fears contamination stops using public toilets; someone experiencing images of harm hides knives or avoids being alone with a baby; someone who fears having offended another person stops sending messages.

Avoidance is not exactly the same as a compulsion, but it can serve a similar function. It provides short-term relief while, in the longer term, preventing the person from learning that distress can be tolerated without escaping or performing a ritual. Their life becomes a little more restricted each time. Recognising avoidance matters because a person's OCD may involve extensive avoidance and few visible rituals, while still trapping them in the same cycle.

How the cycle is broken

Distinguishing an obsession from a compulsion is more than a matter of vocabulary: it helps explain where treatment acts. Treatment is not about completely preventing an intrusive thought from appearing. It is about changing the response to that thought by gradually reducing rituals and avoidance.

The first-line psychological treatment is exposure and response prevention (ERP), a specific form of cognitive behavioural therapy. The person approaches an agreed trigger and practises not performing the compulsion or avoiding the situation. They may learn to tolerate uncertainty, continue while distress remains and find that the ritual is not needed to face the trigger. Anxiety does not have to disappear during each exercise. ERP can be adapted for visible compulsions, mental rituals and avoidance. Depending on severity, preference and response, it may be used on its own or with medication prescribed by a clinician.

How the family responds matters too. When relatives take part in a compulsion, repeatedly provide the reassurance requested or help the person to check, they offer relief in the moment but reinforce the cycle. This change should not be made overnight or without support. A professional with expertise in OCD can guide the family in gradually withdrawing this involvement without leaving the person to cope alone.

Frequently asked questions

What is the difference between an obsession and a compulsion?

An obsession is a thought, image, urge or doubt that appears without being sought and causes distress. A compulsion is the behaviour or mental act that a person feels driven to perform to neutralise that distress or prevent something feared.

Can someone have obsessions without compulsions, or compulsions without obsessions?

The DSM-5-TR allows OCD to be diagnosed when obsessions, compulsions or both are present. When someone appears to have obsessions alone, the compulsions are often mental and cannot be seen. When no specific obsession can be identified, a compulsion may be linked to a rigid rule or a sense that something is incomplete or not "right".

Are all compulsions visible?

No. Some are visible, such as washing, checking or arranging. Others take place inside the mind, such as counting, repeating words or reviewing a memory. A 2024 study found mental compulsions in 43 of the 80 patients with OCD in its sample.

Is a habit or routine the same as a compulsion?

No. Tidying, checking or repeating can be part of many people's lives without being a problem. In OCD, the action is performed to neutralise distress or prevent something feared, and not doing it produces a sharp rise in anxiety or in the feeling that something is not right.

Why does a compulsion not resolve an obsession?

Because the relief it provides is short-lived. By reducing distress immediately, it reinforces the association between the obsession and the ritual, so the perceived need to repeat it is maintained.

Can this cycle be broken?

Yes. Exposure and response prevention helps a person to approach what triggers the obsession gradually without performing the compulsion or avoiding the situation. Depending on the individual case, it may be used on its own or alongside medication. It should be guided by a professional with training in OCD.

Sources

American Psychiatric Association (2022). Diagnostic and Statistical Manual of Mental Disorders, Fifth Edition, Text Revision (DSM-5-TR): definitions of obsessions and compulsions, functional impairment and the illustrative threshold of more than one hour a day. · Pal, V., Ramdurg, S. and Chaukimath, S. (2024). "Assessment of the Prevalence and Types of Mental Compulsions in Patients With Obsessive-Compulsive Disorder in North Karnataka: A Cross-Sectional Study". Cureus: mental compulsions present in 43 of the 80 patients in the sample. · International OCD Foundation: "Exposure and Response Prevention (ERP)". · National Institute for Health and Care Excellence: guidance on OCD and cognitive behavioural therapy with ERP. · National Institute of Mental Health: prevalence estimates among US adults (2.3% lifetime).

Coming soon

Living with OCD at Home

The book explains obsessions, compulsions, family accommodation and ERP through specific situations. Publication is planned for September 2026.

Tell me when it's out →
Iris Green

Writes about neurodivergence: practical guides for families, teachers and adults, as well as illustrated fiction. About me