Reviewed by Dr. Savannah Lord, DSW, LICSW, LADC · October 2026
You were doing something completely ordinary, making coffee or driving to work or holding a friend's baby, and a thought landed out of nowhere. Violent, sexual, blasphemous, or plain weird. You didn't want it, it doesn't sound like you, and now you can't stop turning it over to figure out what it says about you. If that's where you are, you're in much bigger company than you think. Most people have thoughts like this. What changes from person to person is what happens after the thought shows up.
An intrusive thought is an unwanted thought, image or urge that pops into your mind and feels out of character. It can be about harm, sex, religion, contamination, mistakes, relationships or health. Researchers who surveyed people across six continents found that the large majority reported having unwanted intrusive thoughts at some point, and that the content was strikingly similar from place to place (Radomsky et al., 2014). Most people notice a thought like that, think "well, that was strange," and move on with their day.
That's worth sitting with for a second, because the brain generates these thoughts all the time as part of being a prediction machine that tests possibilities, including ones it has no intention of acting on. Having the thought isn't a wish, it isn't a plan, and it doesn't reveal some hidden truth about who you are.
In OCD, the thought itself isn't the problem. The loop is. An intrusive thought gets stuck, and instead of passing through, it starts to feel dangerous or meaningful, like something you have to resolve. The National Institute of Mental Health describes obsessions as repeated, intrusive and unwanted thoughts, urges or mental images that make most people anxious, and compulsions as the things a person then feels driven to do to cope.
From the inside, that can look like a lot of things. You might test yourself (Do I feel aroused? Do I want to? Would I ever do it?), avoid the people, places or objects linked to the thought, or ask friends or the internet whether you're a bad person. You might pray, confess, repeat words, or try to cancel the thought in your head. NIMH uses an hour or more a day as one marker, along with real interference at school, at work, in relationships or with sleep.
NIMH lists unwanted, forbidden or taboo thoughts involving sex, religion or harm among the common obsessions. People with these themes are often the most ashamed, and the least likely to tell anyone, which is part of why OCD so often goes unrecognized for years. Only a licensed professional can say whether what you're experiencing is OCD. Intrusive thoughts also show up alongside other conditions, including anxiety, depression and postpartum conditions.
It feels logical to push a disturbing thought away. The trouble is that it tends to come back stronger, because the struggle itself tells your brain the thought is a threat worth watching. Rituals work the same way. Checking, reassurance and mental review buy a little relief, and then the next round of doubt arrives louder than the last, with your brain now convinced the thought was dangerous enough to need all that effort.
Naming the thought for what it is ("that's an intrusive thought") creates a little distance, and from there the work is mostly about letting it be there without answering it. You don't have to like the thought, argue with it, or prove it wrong. When you can, skip the ritual, or delay it, or do it more slowly or less often, and go back to whatever you were doing. Not to prove anything, but because your life is there and the thought doesn't get to run it.
Reassurance deserves its own mention, because it's the ritual that looks most like help. Asking someone if you're okay, searching online for proof you're not dangerous, confessing the thought to clear your conscience: each one keeps the loop running. What does help is telling someone safe what's going on. Shame feeds OCD, and a person who understands can take a surprising amount of weight off.
NIMH says OCD is treated with psychotherapy, medication, or both. The talk therapy with the strongest research behind it is a form of CBT called exposure and response prevention (ERP), where you face triggers in planned steps and practice not doing the ritual. NIMH says it reduces compulsive behaviors, even for people who don't respond well to medication. Our guide What is ERP? goes into how it works.
A good ERP clinician won't be shocked by taboo thoughts. They've heard them before, many times. They won't ask you to act on them, and they also won't keep reassuring you that you're "not that kind of person," because that reassurance tends to feed the loop rather than end it.
Intrusive thoughts aren't the same as intent. But get help now if you feel at risk of acting on a thought about hurting yourself or someone else, if you're thinking about suicide, or if you feel unsafe. Call or text 988, or call 911.
Does having a violent thought mean I'm dangerous?
No. Intrusive thoughts are unwanted and distressing, and they don't predict action. A professional can help you sort out what you're experiencing.
Why do my thoughts go to the worst place?
OCD tends to latch onto what you care about most. The thought targets the things that matter to you, which is exactly why it hurts.
Can I stop thinking them?
Aiming for no thoughts at all tends to backfire. The goal is a different relationship with them.
Is this OCD or anxiety?
Only an evaluation can say. Look for the loop: an unwanted thought, distress, then a ritual or avoidance to make it stop.
You're not the only one. The Second Guess Society is a peer support group for adults in individual therapy for OCD and phobias, in Vermont and Maine. It meets every other Tuesday, 4:00 to 5:30 pm, and the next group starts January 19, 2027.
Keep reading
If you're in crisis, call or text 988.
This guide is general education. It isn't medical advice and doesn't replace an evaluation by a licensed professional.