In analyzing the risk for peritonitis over two years by fully adjusted model, RPR (HR 0.59, 95% CI 0.38–0.91, p = .017), male sex (HR 0.57, 95% CI 0.37–0.87, p = .008), primary diabetic kidney disease (HR 0.26, 95% CI 0.12–0.56, p = <.001), and time-varying serum albumin levels (HR 0.47, 95% CI 0.35–0.64, p < .001) were associated with a reduced risk for peritonitis. Here, ALB is linked to peritonitis.