Recent work shows that after stimulation with antigen, CD4+ and CD8+ T cells embark on a programme of proliferation that is closely linked with the acquisition of effector functions and leads ultimately to memory-cell formation. Here, we discuss the signals required for commitment to this programme of development and the factors that might influence its progression. Models of the pathways of effector and memory T-cell differentiation are discussed, and we highlight the implications of this new understanding for the optimization of vaccine strategies.