Intrusive thoughts: why they happen and when they point to OCD
Why unwanted, shocking thoughts pop into nearly everyone’s head, why some get stuck, and the signs that they may be part of OCD.
Published 12 min read
On this page
Intrusive thoughts are unwanted thoughts, images or urges that pop into your mind uninvited, often disturbing ones that clash with what you value, like a flash of pushing someone off a platform or shouting something offensive in a quiet room. Nearly everyone has them, and having one says nothing about who you are or what you want. They may point to obsessive-compulsive disorder (OCD) when they cause a lot of distress, take up a lot of your day, and come with things you feel you must do to cancel them out or feel safe, such as checking, washing, praying or seeking reassurance.
Key takeaways
- Intrusive thoughts are a normal part of having a mind: research across many countries finds that most people have them.
- The more you fight a thought, the stickier it gets: pushing it away or trying to cancel it tends to bring it back.
- OCD is about the response, not the thought: time, distress, avoidance and rituals are what set it apart.
- OCD is very treatable, and a short questionnaire can show which kinds of thoughts and habits affect you most.
What counts as an intrusive thought?
An intrusive thought is any thought, picture or urge that arrives without you choosing it and feels unwelcome or out of character. What makes it intrusive is how it feels, not what it’s about: it seems to come from nowhere, and it’s usually the opposite of what you’d want.
Some common examples:
- Harm: a sudden image of hurting someone you love, stepping into traffic, or swerving the car.
- Sexual: unwanted sexual thoughts about people or situations that you find upsetting or wrong.
- Religious or moral: blasphemous thoughts, or a fear that you’ve done something sinful or deeply wrong.
- Germs and illness: a jolt of disgust or fear that something you touched has contaminated you or will make someone ill.
- Doubt: “Did I lock the door?”, “Did I hit someone while driving?”, “Did I say something terrible?”
- Relationships: sudden doubts about whether you really love your partner, or whether they’re right for you.
- Embarrassment: an urge to shout, laugh at a funeral, or say something outrageous.
Many people know the strange pull of standing near a cliff edge or a train platform and having a flash of “What if I jumped?”, despite having no wish to. That experience is so common it has a nickname, “the call of the void”.
Why does almost everyone have intrusive thoughts?
Almost everyone has them because the brain generates a constant stream of ideas, most of them random, and some of them are bound to be odd or unpleasant. A mind that’s built to spot danger will throw up possibilities, including the worst ones, so you can avoid them.
This has been studied for decades. In a well-known 1978 study, the psychologists Stanley Rachman and Padmal de Silva found that most people without any mental health problem reported unwanted intrusive thoughts, and that their content was very similar to the obsessions of people with OCD. A large international study led by Adam Radomsky in 2014 found the same thing across many countries: the great majority of people had experienced at least one unwanted intrusive thought in the previous few months.
So the difference between people who struggle and people who don’t isn’t whether the thoughts come. It’s what happens next.
Why do some intrusive thoughts get stuck?
Intrusive thoughts get stuck when they’re treated as important or dangerous. Most people have a strange thought, think “That was weird”, and move on. The thought fades because nothing marked it as worth remembering.
For others, the thought lands differently. It feels like it must mean something: “Why would I think that unless part of me wanted it?” That sense of meaning sets off anxiety, and the anxiety makes the brain watch out for the thought, which makes it come back more often.
A few habits of mind make this more likely:
- Treating thoughts as if they were actions. Psychologists call this thought-action fusion: the feeling that thinking something bad is almost as bad as doing it, or that thinking about an event makes it more likely to happen.
- Trying hard not to think it. In Daniel Wegner’s well-known experiments, people asked not to think about a white bear kept thinking about it, and it came back even more once they were allowed to. Suppression tends to feed a thought.
- An inflated sense of responsibility. Feeling that you must prevent any possible harm, so a fleeting doubt becomes something you have to resolve.
- Needing certainty. Wanting to be completely sure you’re not a bad person, or that nothing bad will happen, which no amount of thinking can deliver.
Stress, tiredness, big life changes and low mood can all make the mind more sensitive, so intrusive thoughts often get louder during difficult periods.
When do intrusive thoughts become OCD?
Intrusive thoughts become part of OCD when they turn into obsessions: thoughts that keep coming back, cause real distress and lead to compulsions, which are things you feel driven to do to reduce the distress or prevent something bad. The thought itself is the same kind that everyone has. What changes is how much of your life it takes over.
Clinicians look at things like:
- Time. The thoughts and rituals take up a lot of the day. The DSM-5 gives “more than an hour a day” as an example of when it becomes significant.
- Distress. The thoughts bring strong anxiety, disgust, guilt or a sense that something isn’t right.
- Compulsions. Washing, checking, arranging, repeating actions, or mental rituals like counting, praying, replaying events or saying a phrase in your head.
- Reassurance seeking. Asking others, or searching online, again and again to be sure nothing bad happened.
- Avoidance. Staying away from people, places or objects that set off the thoughts, like knives, babies, public toilets or driving.
- Interference. The pattern gets in the way of work, relationships or daily routines.
Some people with OCD have few visible rituals and most of their compulsions happen in their head. This is sometimes called “Pure O”, an informal name rather than a diagnosis, and it can be easy to miss because nobody can see it from outside.
If this sounds familiar, the unwanted thoughts and rituals check can help you see how much these patterns have been affecting you. It’s not a diagnosis, and only a professional can assess OCD, but it can show whether talking to someone is worth it.
Everyday intrusive thoughts or an OCD pattern?
The same thought can be harmless for one person and part of OCD for another. This table shows the kinds of differences that matter.
| What to look at | Everyday intrusive thought | More like an OCD pattern |
|---|---|---|
| How often | Now and then | Many times a day |
| How you react | “That was odd”, then move on | Alarm, guilt, a need to make it go away |
| What it seems to mean | Nothing much | Something terrible about you or a risk you must prevent |
| What you do | Nothing in particular | Checking, washing, counting, praying, asking for reassurance |
| Time taken | Seconds | Often an hour or more a day |
| Effect on life | Little or none | Avoiding places or people, routines disrupted |
What does an OCD questionnaire look at?
The check on Sprout uses the Dimensional Obsessive-Compulsive Scale (DOCS), developed by the psychologist Jonathan Abramowitz and colleagues in 2010. Instead of one list of symptoms, it looks at four common kinds of obsessions and compulsions separately:
- Germs and cleaning: worry about germs, illness or contamination, and washing, cleaning or avoiding things because of it.
- Causing harm or bad luck: fear of causing a disaster through carelessness, and checking or seeking reassurance.
- Unwanted thoughts: upsetting thoughts about violence, sex or doing wrong, and the things you do to get rid of them.
- Order and things feeling “just right”: needing things even, balanced or exact, and repeating or arranging until they feel right.
For each kind, it asks five questions about the last month: how much time it takes, how much you avoid things because of it, how distressed you get, how much it disrupts your routine, and how hard it is to set aside. Each kind gets a score from 0 to 20, and the four together give a total from 0 to 80.
The DOCS has no official cut-off scores, so Sprout splits the range into thirds to describe where you sit. For each kind, 0 to 7 reads as few signs, 8 to 13 as some signs and 14 to 20 as many signs. For the total, 0 to 27 is few signs, 28 to 53 is some signs and 54 to 80 is many signs. Seeing the four kinds separately is often the most useful part, because many people are affected mainly by one.
Does having a violent or sexual thought mean you secretly want it?
No. An unwanted thought is not a hidden wish. The fact that a thought horrifies you is itself a sign that it goes against what you value. That’s exactly why it feels so upsetting and why it sticks.
People who are gentle worry about harming someone. People who care about their faith get blasphemous thoughts. New parents who adore their baby get sudden images of something terrible happening to them. Intrusive thoughts tend to target what matters most to you, because those are the thoughts your mind flags as most alarming.
This is a common and very painful worry for people with OCD, and many keep their thoughts secret for years out of shame or fear of how others will react. Doctors and therapists who work with OCD hear about these thoughts often and understand the difference between an unwanted intrusive thought and a genuine wish or plan.
If the thoughts feel different. Intrusive thoughts feel unwanted and frightening. If you’re having thoughts of harming yourself or someone else that feel like something you want or are planning, rather than something you dread, please talk to a doctor or a crisis line today. You can find free, confidential support in your country at findahelpline.com.
Intrusive thoughts after having a baby
Unwanted thoughts about harm coming to a baby, including thoughts of the parent causing it, are very common in the weeks and months after birth. For most new parents they fade with time. If they’re frequent, very distressing, or lead you to avoid being alone with your baby or to check on them constantly, talk to your midwife, health visitor or doctor. Help is available, and saying the thoughts out loud usually brings relief rather than judgement.
How should you respond to an intrusive thought?
The most helpful response is usually the least dramatic one: notice the thought, name it, and let it be there without arguing with it or trying to cancel it out. This feels backwards, because every instinct says to fight it. But fighting is what gives it power.
- Label it. “That’s an intrusive thought.” You’re describing it, not judging it or yourself.
- Don’t try to prove it wrong. Arguing with the thought, or searching your memory for evidence that you’re a good person, keeps you engaged with it.
- Let the anxiety rise and fall. Like any wave of fear, it peaks and fades if you don’t feed it.
- Delay the ritual. If you feel the urge to check, wash or seek reassurance, see if you can wait five minutes. Then perhaps ten. Each delay teaches your brain that the feeling passes on its own.
- Go back to what you were doing. Return your attention to the task or the person in front of you, even while the thought is still there.
- Be kind to yourself about it. Shame keeps intrusive thoughts going. The short self-compassion pause can help when you’re caught up in guilt, and our piece on being kinder to yourself explains why it works.
It’s worth knowing how this differs from ordinary overthinking, which tends to be worry or rumination you get absorbed in rather than a sudden unwanted jolt. Our piece on stopping an overthinking loop covers that side, and some of the same skills, like noticing and naming, help with both.
Can intrusive thoughts be anxiety rather than OCD?
Yes. Intrusive thoughts become more frequent and louder whenever anxiety is high, whether from stress, generalised anxiety, health worries or trauma. Not every sticky, frightening thought is OCD.
A rough way to think about it: general anxiety tends to involve worries about real-life things, like money, health or work, that feel reasonable even if they’re excessive. OCD obsessions often feel more out of character or senseless, and they come with rituals aimed at neutralising them. Trauma-related thoughts are usually memories or images of something that actually happened. The lines blur, and a professional can help sort out which is which.
If everyday worry is more your experience, the GAD-7 anxiety check looks at that, and our piece on GAD-7 results explains what the scores mean.
When the doubts are about your relationship
Repeated, distressing doubts about whether you love your partner, or whether they’re “the one”, can be a form of OCD, especially when they come with constant checking of your feelings or comparing your relationship with others. They can also reflect a more general anxiety about closeness. Our piece on anxious attachment describes that other pattern, which centres on fear of being left rather than on doubt about your own feelings.
What does treatment for OCD involve?
The best-established treatment for OCD is a form of cognitive behavioural therapy called exposure and response prevention (ERP). With a therapist, you gradually face the thoughts, situations or objects that trigger the obsessions while resisting the compulsions, at a pace you agree on. Over time, the brain learns that the anxiety fades on its own and that the feared outcome doesn’t happen.
It can sound daunting, but it’s done step by step, starting with things that feel manageable. Many people find their symptoms ease a lot with treatment. A doctor can talk you through the options, including medication if that’s right for you.
If you’re not sure whether what you’re experiencing is OCD, you don’t need to work that out before asking for help. Describing the thoughts and what you do about them is enough to start a conversation.
If unwanted thoughts are taking over
Unwanted, shocking thoughts are a normal part of having a human brain, and they don’t mean anything about your character. What matters is whether they’re taking up your time, causing you distress and pulling you into rituals or avoidance.
If you’d like to see how much these patterns have been affecting you, and which of the four kinds stands out, you can take the OCD questionnaire in about seven minutes. Your result is a starting point, and something you can take to a doctor or therapist if you decide to talk to someone.
Unwanted thoughts and rituals
How much four kinds of unwanted thoughts and repeated habits have taken up your time and energy over the last month.
20 questions · 7 min · free
Take the test