Intrusive thoughts are a symptom of obsessive-compulsive disorder (OCD), a mental health condition in which a person experiences involuntary obsessions and compulsions that may cause distress.