OCD or PTSD? Intrusive Thoughts and How to Tell Them Apart

Both OCD and PTSD can flood you with unwanted, distressing thoughts, but they come from different places. OCD thoughts are usually fears about something that might happen, and you try to neutralize them with compulsions or rituals. PTSD intrusions are memories or flashbacks of something that already happened, triggered by reminders of the trauma. Only a qualified mental health professional can diagnose either one, and both are very treatable.

Michael Callans, MSW Psychology, medical reviewer at Psychology.com

Medically reviewed by Michael Callans, MSW Psychology

Published June 27, 2026 · Last updated June 27, 2026

Key facts

  • OCD intrusive thoughts are feared possibilities, and they drive compulsions (checking, washing, mental rituals) meant to reduce anxiety.
  • PTSD intrusive thoughts are re-experiences of a real past trauma, like flashbacks, nightmares, or vivid memories set off by triggers.
  • The two can co-occur, and trauma can sometimes shape the content of OCD obsessions.
  • OCD responds well to exposure and response prevention (ERP); PTSD responds to trauma-focused therapy and EMDR.
  • You do not need a diagnosis before reaching out. A therapist can help you sort out what is going on.

What are intrusive thoughts, and why do OCD and PTSD both cause them?

Intrusive thoughts are unwanted mental images, urges, or ideas that pop into your head and feel distressing or out of character. Almost everyone has them sometimes. The difference in OCD and PTSD is how often they show up, how much distress they cause, and what your mind does in response.

In both conditions, your brain has gotten stuck in a loop of threat and alarm. But the source of the threat is different. With OCD, the threat is a feared future, a what-if your mind cannot let go of. With PTSD, the threat is a real past event that your nervous system is still treating as if it is happening now. Understanding that difference is the first step to figuring out which one fits, or whether both are in play.

How do intrusive thoughts work in OCD?

In obsessive-compulsive disorder, intrusive thoughts are called obsessions. They are usually fears about something terrible that could happen: that you might harm someone, that you are contaminated, that you left the stove on, that you are a bad person, or that something will go wrong if you do not do things a certain way. These thoughts feel deeply uncomfortable precisely because they go against your values.

To cope with the anxiety, you do compulsions. These are repetitive behaviors or mental acts meant to neutralize the fear or prevent the feared outcome. Common examples include:

The relief is temporary, so the cycle repeats and often grows. According to the National Institute of Mental Health, this obsession-compulsion loop is the core feature of OCD. You can learn more in our guide to OCD.

How do intrusive thoughts work in PTSD?

Post-traumatic stress disorder develops after a frightening or life-threatening experience, such as an accident, assault, combat, abuse, or a sudden loss. In PTSD, intrusive thoughts are not fears about the future. They are re-experiences of the trauma that already happened.

These intrusions can take several forms:

PTSD intrusions are usually set off by triggers, which are sights, sounds, smells, places, or situations that resemble the original trauma. Alongside the intrusions, people with PTSD often avoid reminders, feel on edge or easily startled, and notice changes in mood and how they see the world. The National Institute of Mental Health describes these as the main symptom clusters of PTSD. Our PTSD guide walks through them in more detail.

What is the key difference between OCD and PTSD intrusions?

If you are trying to tell them apart, these questions can help you notice the pattern. Keep in mind this is for understanding, not for self-diagnosis.

These lines are not always clean, which is one reason a professional assessment matters. A trained clinician can ask the right questions and use validated tools to sort it out.

Can you have both OCD and PTSD at the same time?

Yes. OCD and PTSD can co-occur, and they share some underlying features like heightened threat sensitivity and avoidance. Research summarized by the Anxiety and Depression Association of America notes that anxiety-related conditions frequently overlap, and trauma can sometimes shape the content of OCD obsessions.

For some people, a traumatic experience seems to set off or worsen obsessive-compulsive patterns. For others, OCD and PTSD are separate but coexisting conditions, each needing its own attention in treatment. This is exactly why a careful evaluation is worth it. If both are present, a good therapist can build a plan that addresses each one in the right order.

Ready to talk to someone? A licensed therapist can help you make sense of what you are going through and figure out the next step. Browsing is free. Find a Therapist

How are OCD and PTSD treated, and what should you do next?

Here is the most important part: both conditions are very treatable, and many people see real improvement with the right therapy.

For OCD, the gold-standard treatment is a type of cognitive behavioral therapy called exposure and response prevention (ERP). In ERP, you gradually face the things that trigger your obsessions while practicing not doing the compulsion, which teaches your brain that the anxiety fades on its own. Medication, often an SSRI, can also help. See our OCD guide for more.

For PTSD, trauma-focused therapies work well. These include trauma-focused CBT, prolonged exposure, cognitive processing therapy, and EMDR (eye movement desensitization and reprocessing), which helps your brain reprocess traumatic memories so they lose their charge. The American Psychological Association recommends several of these as first-line treatments. Our PTSD guide has more.

You do not have to figure out the diagnosis on your own first. The next step is simply to talk to a mental health professional who can assess what is going on and point you toward the right approach. When you search psychology.com's directory, you can look for therapists who specialize in OCD, trauma, ERP, or EMDR, so you find someone with the right experience for what you are facing.

Frequently asked questions

How do I know if my intrusive thoughts are OCD or PTSD?

A simple clue is whether the thought is a feared future possibility you try to neutralize with a ritual (more like OCD) or a replay of a real past trauma set off by a trigger (more like PTSD). That said, the two can overlap, and only a qualified mental health professional can diagnose either one. The best next step is to book an assessment with a therapist who works with both.

Can trauma cause OCD?

Trauma does not have to be present for OCD to develop, but for some people a traumatic experience seems to trigger or worsen obsessive-compulsive symptoms, and it can sometimes shape the content of obsessions. This is one reason OCD and PTSD sometimes appear together. A clinician can assess whether trauma is playing a role in your case.

Are the intrusive thoughts in OCD dangerous?

Intrusive thoughts in OCD are distressing precisely because they clash with your values, and having them does not mean you want to act on them or that you are a bad person. They are a symptom, not an intention. ERP therapy specifically helps reduce the power these thoughts hold over you.

What kind of therapist should I look for?

For OCD, look for someone trained in exposure and response prevention (ERP). For PTSD, look for someone trained in trauma-focused therapy such as prolonged exposure, cognitive processing therapy, or EMDR. If you suspect both, find a therapist experienced with anxiety and trauma. You can filter by specialty in the psychology.com directory.

Can OCD and PTSD be treated at the same time?

Yes. When both are present, a skilled therapist can build a plan that addresses each condition, often sequencing the work so that one does not get in the way of the other. Treating both is very possible, and many people improve significantly.

References

Medical disclaimer. This page is for general education and is not a substitute for professional medical advice, diagnosis, or treatment. Always seek the advice of a qualified health provider with any questions about a medical condition. If you are in crisis, call or text 988 (US) any time.