Eukaryotic cells coordinate protein-folding reactions in the endoplasmic reticulum with gene expression in the nucleus and messenger RNA translation in the cytoplasm. As the rate of protein synthesis increases, protein folding can be compromised, so cells have evolved signal-transduction pathways that control transcription and translation -- the 'unfolded protein response'. Recent studies indicate that these pathways also coordinate rates of protein synthesis with nutrient and energy stores, and regulate cell differentiation to survive nutrient-limiting conditions or to produce large amounts of secreted products such as hormones, antibodies or growth factors.