For a study, the researchers sought to use the National Surgical Quality Improvement Program (NSQIP) database to assess preoperative characteristics that could lead to a more extended stay in the Hospitalization and readmission. Between 2007 and 2017, records for surgery with the Current Procedural Terminology code 55866 (prostatectomy) were analyzed using the NSQIP database. The impact of preoperative variables on prolonged LOS and hospital readmission rates within 30 days were assessed using chi-square and t-tests. Multivariable logistic regression was used to calculate odds ratios (ORs), p-values, and CI. Between 2007 and 2017, a total of 40,764 patients received MI-RP. About 11.7% of patients had a LOS of more than 2 days, and 3.9% were readmitted to the hospital within 30 days. Within 30 days of surgery, preoperative congestive heart failure was highly linked with prolonged LOS (OR=6.16) and readmission (OR=3.28). Unplanned intubation was shown to be the most crucial postoperative factor for readmission (OR=57.1), whereas bleeding requiring transfusion was found to be the most significant postoperative cause for prolonged LOS (OR=23.9). A body mass index (BMI) of greater than 30 was linked to both a longer LOS and a higher readmission rate. Cardiopulmonary variables and BMI were detrimental effects on postoperative quality indicators using the NSQIP database. Patients with comorbidities should be advised about their unique risk factors before surgery. It was critical to mitigate these issues to achieve the best results.