The heat-shock transcription factor HSF1 is rapidly activated by either hyper- or hypo-osmotic stress in mammalian cells.