For ectotherms, lifespan is increased at low temperature and decreased at high temperature. A new study in Caenorhabditis elegans shows that thermosensory neurons can counteract the effects of high temperature on lifespan by controlling the activity of a steroid signaling pathway.