Although most patients with chronic pain are women, the preclinical literature regarding pain processing and the pathophysiology of chronic pain has historically been derived overwhelmingly from the study of male rodents. This Review describes how the recent adoption by a number of funding agencies of policies mandating the incorporation of sex as a biological variable into preclinical research has correlated with an increase in the number of studies investigating sex differences in pain and analgesia. Trends in the field are analysed, with a focus on newly published findings of qualitative sex differences: that is, those findings that are suggestive of differential processing mechanisms in each sex. It is becoming increasingly clear that robust differences exist in the genetic, molecular, cellular and systems-level mechanisms of acute and chronic pain processing in male and female rodents and humans.