Recent advances in structural studies of forkhead transcription factors and the insights they provide into the mechanism of DNA recognition.