Pharmacologic inhibitors of cyclin-dependent kinases 4 and 6 (CDK4/6) are an approved treatment for hormone receptor-positive breast cancer and are currently under evaluation across hundreds of clinical trials for other cancer types. The clinical success of these inhibitors is largely attributed to well-defined tumor-intrinsic cytostatic mechanisms, whereas their emerging role as immunomodulatory agents is less understood. Using integrated epigenomic, transcriptomic, and proteomic analyses, we demonstrated a novel action of CDK4/6 inhibitors in promoting the phenotypic and functional acquisition of immunologic T-cell memory. Short-term priming with a CDK4/6 inhibitor promoted long-term endogenous antitumor T-cell immunity in mice, enhanced the persistence and therapeutic efficacy of chimeric antigen receptor T cells, and induced a retinoblastoma-dependent T-cell phenotype supportive of favorable responses to immune checkpoint blockade in patients with melanoma. Together, these mechanistic insights significantly broaden the prospective utility of CDK4/6 inhibitors as clinical tools to boost antitumor T-cell immunity. SIGNIFICANCE: Immunologic memory is critical for sustained antitumor immunity. Our discovery that CDK4/6 inhibitors drive T-cell memory fate commitment sheds new light on their clinical activity, which is essential for the design of clinical trial protocols incorporating these agents, particularly in combination with immunotherapy, for the treatment of cancer..