T cells undergo metabolic rewiring to meet their bioenergetic, biosynthetic and redox demands following antigen stimulation. To fulfil these needs, effector T cells must adapt to fluctuations in environmental nutrient levels at sites of infection and inflammation. Here, we show that effector T cells can utilize inosine, as an alternative substrate, to support cell growth and function in the absence of glucose in vitro. T cells metabolize inosine into hypoxanthine and phosphorylated ribose by purine nucleoside phosphorylase. We demonstrate that the ribose subunit of inosine can enter into central metabolic pathways to provide ATP and biosynthetic precursors, and that cancer cells display diverse capacities to utilize inosine as a carbon source. Moreover, the supplementation with inosine enhances the anti-tumour efficacy of immune checkpoint blockade and adoptive T-cell transfer in solid tumours that are defective in metabolizing inosine, reflecting the capability of inosine to relieve tumour-imposed metabolic restrictions on T cells.