Hypothyroidism and hyperthyroidism are associated with gain and loss of body weight, respectively. This Review discusses the epidemiological evidence for weight changes in thyroid dysfunction, the role of thyroid hormone in weight regulation, the effect of treatment and the implications for population health.