Obsessive-compulsive disorder (OCD) causes people to have recurrent unwanted or unreasonable thoughts or sensations (obsessions) or make them feel driven to do something repeatedly (compulsions).