Many exogenous sources of stress can lead to cell death. In recent years, endogenous cellular sources of stress have also been identified, including the stress that arises from the accumulation of unfolded proteins within a cell's endoplasmic reticulum (ER). To counterbalance this type of ER stress, higher eukaryotic cells possess a three-pronged signal-transduction pathway termed the unfolded-protein response (UPR). This Review focuses on the role of the UPR in the mammalian immune system and how manipulation of this complex signalling pathway may be of therapeutic benefit in human disease.