DOCK2, SLC1A3, SOX9, and TARP were identified as potential diagnostic genes for renal fibrosis, and the most relevant immune cells were identified. Here, TARP is linked to renal fibrosis.