Effective immunity is dependent on long-surviving memory T cells. Various memory subsets make distinct contributions to immune protection, especially in peripheral infection. It has been suggested that T cells in nonlymphoid tissues are important during local infection, although their relationship with populations in the circulation remains poorly defined. Here we describe a unique memory T cell subset present after acute infection with herpes simplex virus that remained resident in the skin and in latently infected sensory ganglia. These T cells were in disequilibrium with the circulating lymphocyte pool and controlled new infection with this virus. Thus, these cells represent an example of tissue-resident memory T cells that can provide protective immunity at points of pathogen entry.