A personality disorder is a type of mental disorder that involves a rigid and unhealthy pattern of thinking, functioning, and behaving. A person with a personality disorder has trouble perceiving and relating to situations and people, causing significant problems and limitations in relationships, social activities, work, and school.