Ferroptosis, a major mechanism of non-apoptotic programmed cell death, critically regulates the homeostasis and functionality of peripheral CD4+ and CD8+ T cells, thus controlling follicular helper T (TFH) cell-dependent humoral immunity and CD8+ T cell-mediated anti-tumour immunity. Resistance to ferroptosis in T cells is strongly influenced by dietary composition in mice and systemic metabolism in humans. These dietary effects on ferroptosis (DEF) in T cells shape both humoral immunity (e.g., vaccination) and cellular immunity (e.g., cancer immunotherapy). Mechanistically, DEFs are microbiota-independent and are driven by variations in dietary polyunsaturated and monounsaturated fatty acids (PUFAs and MUFAs) that lead to variations in abundance of lipid species in lymphoid tissues and T cells. These findings highlight the physiological importance of metabolic regulation in T cell ferroptosis and suggest new strategies to enhance vaccine efficacy and T cell-based immunotherapies by targeting ferroptosis and metabolic pathways.