Here, we identified two CD8 T cell subsets in mouse obstructed kidneys with unilateral ureteric obstruction and revealed their different functions in building an inflammatory or profibrotic environment. Here, CD8A is linked to Ureteral obstruction.