Depending on the circumstance, FOXO (Forkhead O) (FOXO1, FOXO3, and FOXO4) transcription factors activate the expression of markedly different sets of genes to produce different phenotypic effects. For example, distinct FOXO-regulated transcriptional programs stimulate cell death or enhance organism life span. To gain insight into how FOXOs select specific genes for regulation, we performed a screen for genes that modify FOXO activation of TRAIL, a death receptor ligand capable of inducing extrinsic apoptosis. We discovered that the bZIP transcriptional repressor NFIL3 (nuclear factor interleukin 3-regulated) hindered FOXO transcription factor access to chromatin at the TRAIL promoter by binding to nearby DNA and recruiting histone deacetylase-2 (HDAC2) to reduce histone acetylation. In the same manner, NFIL3 repressed expression of certain FOXO targets--e.g., FAS, GADD45α (growth arrest and DNA damage-inducible, α), and GADD45β--but not others. NFIL3, which we found to be overexpressed in different cancers, supported tumor cell survival largely through repression of TRAIL and antagonized hydrogen peroxide-induced cell death. Moreover, its expression in cancer was associated with lower patient survival. Therefore, NFIL3 alters cancer cell behavior and FOXO function by acting on chromatin to restrict the menu of FOXO target genes. Targeting of NFIL3 could be of therapeutic benefit for cancer patients.