Logistic regression identified a promising role of urinary β2M combined with smoking and education for predicting cognitive impairment in CKD. Here, B2M is linked to chronic kidney disease.