By recapitulating conditions of limited CD28-mediated costimulation during adult infection, we provide evidence that signaling through CD28 differentially impacts epitope-specific CD8+ T cell responses and that reduced expression of CD86 and CD80 constitutes one mechanism by which neonatal mice establish an epitope hierarchy that is distinct from that of adults. This evidence concerns the gene CD28 and infection.