The chemokine receptor CXCR6 is required for the maintenance of liver memory CD8⁺ T cells specific for infectious pathogens.