This study delivers a reproducible 9-gene machine-learning classifier for precise IgA nephropathy diagnosis and highlights HLA-DRA and VASH1 as promising biomarkers. Here, HLA-DRA is linked to IgA glomerulonephritis.