Immunological memory is the ability of an animal to make a second, more effective, immune response to an antigen that has been encountered previously. In this Review, Professor Beverley discusses how T-cell memory is generated and maintained, and highlights the heterogeneity of T-cell memory populations in terms of their kinetics, homing and function.