Barrier tissues such as the skin contain various populations of immune cells that contribute to protection from infections. These include recently identified tissue-resident memory T cells (T RM ). In the skin, these memory CD8 + T cells reside in the epidermis after being recruited to this site by infection or inflammation. In this study, we demonstrate prolonged persistence of epidermal T RM preferentially at the site of prior infection despite sustained migration. Computational simulation of T RM migration within the skin over long periods revealed that the slow rate of random migration effectively constrains these memory cells within the region of skin in which they form. Notably, formation of T RM involved a concomitant local reduction in dendritic epidermal γδ T-cell numbers in the epidermis, indicating that these populations persist in mutual exclusion and may compete for local survival signals. Accordingly, we show that expression of the aryl hydrocarbon receptor, a transcription factor important for dendritic epidermal γδ T-cell maintenance in skin, also contributes to the persistence of skin T RM . Together, these data suggest that skin tissue-resident memory T cells persist within a tightly regulated epidermal T-cell niche. T he skin is a complex organ that acts as a primary barrier between the body and the environment. Multiple leukocyte subsets reside within the main compartments of the skin, the dermis and the epidermis, as well as the hair follicles that are contiguous with the epidermis. Populations of macrophages, dendritic cells, mast cells, γδ T cells and αβ T cells are present in the dermis, and Langerhans cells (LCs) and dendritic epidermal γδ T cells (DETCs) lie in a strategic network in the epidermis (1). We recently described a population of memory CD8 + T cells that enter the epidermis and hair follicles during infection or inflammation and become long-lived populations of tissue-resident memory T cells (T RM ) (2-5). These memory T cells are sequestered in this site and are distinct from circulating effector memory (T EM ) and central memory (T CM ) populations (3, 6). Memory CD8 + T cells in the epidermis display a dendritic morphology and move at a slower velocity than T cells within the dermis. These memory T cells are sequestered in the skin epithelial layer and do not recirculate to other tissues. In contrast, memory CD4 + T cells are found within the dermis and at least a proportion of these cells are capable of recirculating around the body (3, 7).In this study, we sought to further examine the mechanisms of T RM persistence within the skin. We reveal that skin T RM persist at the site of their formation and despite displaying a sustained mode of random migration, the slow rate of this movement locally constrains these memory cells. Examination of other cells in this environment showed that although epidermal T RM regularly interact with LC, these interactions were not required for persistence. In contrast, skin tissue-resident memory T cells replaced DETCs in the epidermis, seem...