In psychology, rigidity or mental rigidity refers to an obstinate inability to yield or a refusal to appreciate another person's viewpoint or emotions characterized by a lack of empathy.