This article considers three temporary and reversible penal shaming acts in nineteenth-century Iran: the shaving or cutting of hair, irrespective of gender; the shaving or cutting of men's facial hair; and the forcible removal of headgear or the coerced wearing of silly headgear. Drawing on anthropological, historical, and sociological studies of hair, this study argues that hair and hat punishments embodied elements of ritual, sexuality, social control, and marginalization. In order to understand the meaning of these penal acts, the article looks at general taboos around hair and head exposure alongside licit and voluntary forms of cutting or shaving hair. Illicit sex, heresy, and alcohol consumption were recurring moral crimes most often associated with such forms of humiliating punishment. Since restoration of honor was not the sole prerogative of the government, these punishments were often carried out by those acting on behalf of a religious authority or individually and collectively by ordinary subjects outraged by a moral violation.