The intestinal epithelium contains diverse tissue-resident lymphocyte populations that provide frontline immunity while continuously adapting to their local environment. Chronic inflammation alters the composition of this compartment, yet whether resident lymphocyte populations are lost indiscriminately or selectively, and how the epithelial niche is repopulated once depleted remain unknown. Here, we show that purinergic signalling drives spatially organised erosion of intestinal tissue-resident lymphocytes. Depletion was graded along two axes, favouring the small intestine over the large and the villus over the crypt, with local retinoic acid signalling setting sensitivity to purinergic cell death. Erosion was also selective within the resident pool, where sensitivity tracked tissue-resident memory T (TRM) cell differentiation and increased further with time in the tissue, while recent cognate antigen recognition suppressed P2RX7 expression and spared TCR-engaged cells from depletion. These selective pressures established distinct regenerative outcomes across intestinal tissue-resident lymphocytes, with innate-like intraepithelial lymphocytes replenishing the epithelium through TCR-independent proliferation from the crypt-resident populations. In contrast, antigen-specific TRM cells failed to regenerate once depleted, and their recovery instead required local antigen encounter, which restored them independently of circulating memory. Together, these findings reveal that microenvironment-derived danger signals selectively shape the composition of the intestinal resident lymphocyte compartment through spatially organised attrition, preferential retention of antigen-engaged TRM cells, and distinct regenerative programs.