Objective To investigate the factors involved in early and mid-term complications after catheter insertion for peritoneal dialysis and to establish prediction models. Methods A total of 158 patients with peritoneal dialysis in the Department of Nephrology of our hospital were retrospectively analyzed. General information, laboratory indices, early complications (within 1 month after the operation), mid-term complications (1–6 months after the operation), and other relevant data were recorded. Multivariate logistic regression analysis was performed to establish a prediction model of complications and generate a nomogram. Receiver operating characteristic (ROC) curve analysis was used to evaluate the efficacy of the model. Results Among the patients, 48 (30.8%) had early complications, which were mainly catheter-related complications, and 29 (18.4%) had mid-term complications, which were mainly abdominal infection and catheter migration. We constructed a prediction model for early complications (area under the curve = 0.697, 95% confidence interval: 0.609–0.785) and mid-term complications (area under the curve = 0.730, 95% confidence interval: 0.622–0.839). The sensitivity was 0.750 and 0.607, and the specificity was 0.589 and 0.765, respectively. Conclusions Our prediction model has clinical significance for risk assessment of early and mid-term complications and prevention of complications after catheterization for peritoneal dialysis.