FOXO transcription factors promote longevity from worms to mammals, but the mechanisms by which FOXO extends lifespan have remained elusive. In the nematode Caenorhabditis elegans, FOXO is now shown to recruit the nucleosome remodelling complex SWI/SNF to its target genes, which is essential for FOXO to elicit stress resistance and longevity.