BackgroundTotal knee arthroplasty is currently a reliable treatment for end-stage knee osteoarthritis. However, chronic postsurgical pain (CPSP) is substantially thought to reduce patient satisfaction. NSAID-based oral analgesics were used to manage CPSP, but research on the duration of postoperative analgesic use (DAU) and prolonged analgesic use (PAU) are presently scarce.MethodsPreoperative, perioperative, and one-year or above postoperative follow-up data were collected from 162 patients who underwent total knee arthroplasty between 1 June 2018 and 1 March 2019, and the DAU and the discontinuation time of each patient after discharge were recorded. Observational statistical analysis, diagnostic test, and predictive nomogram construction were performed on the collected data.ResultsThe 3-month DAU has good diagnostic utility for poor outcome of postoperative months twelve (POM12). The constructed nomogram shows that gender, preoperative Numeric Rating Scale (NRS) movement pain scores, duration of surgery, postoperative days three (POD3) moderate to severe movement pain, and POD3 pain rescue medication were significant prognostic predictors of PAU after discharge. The area under the curve (AUC) of the 3-month, 6-month, and 12-month nomogram receiver operating characteristic (ROC) curves were calculated to be 0.741, 0.736, and 0.781.ConclusionPAU was defined as more than three months of NSAID-based oral analgesic use after TKA. Prognostic predictors of PAU after TKA were identified, and visualized nomogram was plotted and evaluated. The evaluation indicated that the prediction model had the good predictive ability and was a valuable tool for predicting PAU after discharge.