Virtue signalling is the conspicuous expression of moral values by an individual done primarily with the intent of enhancing that person's standing within a social group. The term was first used in signalling theory, to describe any behavior that could be used to signal virtue—especially piety among the religious. Since 2015, the term has become more commonly used as a pejorative characterization by commentators to criticize what they regard as the platitudinous, empty, or superficial support of certain political views, and also used within groups to criticize their own members for valuing outward appearance over substantive action.
Within evolutionary biology, signalling theory is a body of theoretical work examining communication between organisms. It is concerned with honest signals. For example, a peacock's tail is an honest signal of his fitness, since a less fit peacock would only be able to produce a less spectacular tail.
Signalling theory has been applied to human behavior. Costly religious rituals such as male circumcision, food and water deprivation, and snake handling look paradoxical in evolutionary terms. Devout religious beliefs wherein such traditions are practiced therefore appear maladaptive. Religion may have arisen to increase and maintain intragroup cooperation. All religions may involve costly and elaborate rituals, performed publicly, to demonstrate loyalty to the religious group. Such behavior is sometimes described as "virtue signalling".
The blog LessWrong was an early user of the term for an audience not comprising signalling theorists. It alluded to the concept as early as February 2009.
The site later squarely expressed the term on July 30, 2013 when commentator sixes_and_sevens began a discussion thread asking "What do conservative political traditions squabble over?" It opened "My upbringing and social circles are moderately left-wing. There's a well-observed failure mode in these circles, not entirely dissimilar to what's discussed in [a previous article] "Why Our Kind Can't Cooperate", where participants sabotage cooperation by going out of their way to find things to disagree about, presumably for moral posturing and virtue-signalling reasons. In recent years I have become fairly sceptical of intrinsic differences between political groups, which leads me to my opening question: what do conservative political traditions squabble over? I find it hard to imagine what form this sort of self-sabotaging moral posturing might take. Can anyone who grew up on the other side of the fence offer any insight?"