Obsessive-compulsive disorder (OCD) is an anxiety disorder characterized by uncontrollable, unwanted thoughts and repetitive, ritualized behaviors you feel compelled to perform. If you have OCD, you probably recognize that your obsessive thoughts and compulsive behaviors are irrational—but even so, you feel unable to resist them and break free.