Background: Stress ulcer prophylaxis (SUP) prescribed in patients admitted to surgical wards with a low risk of stress-related mucosal disease (SRMD) accounted for a considerable proportion of improper use of proton pump inhibitors (PPIs). This study aimed to analyze the appropriateness of SUP prescribing patterns and identify its associated factors in the orthopedics department of a tertiary hospital in the Northwestern China.Methods: In this cross-sectional study, information regarding the demographic and clinical characteristics of 1,200 fracture inpatients who underwent surgical operations from January 2020 to August 2021 were collected from medical records. Established criteria were used to assess the appropriateness of the prescribing pattern for SUP, and the incidence of inappropriate SUP medication was calculated. Logistic regression analyses were used to identify factors associated with inappropriate SUP medication.Results: Approximately, 42.4% of the study population was interpreted as inappropriate prescription of SUP. A total of 397 (33.1%) patients received SUP without a proper indication (overprescription), and the incidence of inappropriate SUP medication was calculated to be 43.11 per 100 patient-days. In addition, 112 (9.3%) inpatients for whom SUP was indicated did not receive SUP (underprescription). PPIs were prescribed in 96.1% of the inpatients who used acid suppression therapy (AST), and intravenous PPIs accounted for 95.3% thereof. In a multivariate logistic regression analysis, age above 65 years and prolonged hospitalization were associated with overprescription of SUP. Increased number of drugs excluding PPIs, the concurrent use of systemic corticosteroids, comorbidity of hypertension, and unemployed or retired status in inpatients were associated with a reduced likelihood of overprescription for SUP. Conversely, prolonged hospitalization, the concurrent use of systemic corticosteroids or anticoagulants, and unemployed status in inpatients were positively associated with underprescription of SUP.Conclusion: There was a high prevalence of inappropriate SUP prescription among noncritically ill inpatients of fracture who underwent surgical operations. We delineated the associated factors with inappropriate SUP medication, which indicated that more information was required for clinicians about rationality and efficiency of their prescribing practices. Effective intervention strategies should be executed by clinical pharmacists to reduce improper SUP medication.