Objective: To validate risk factors for methicillin-resistant Staphylococcus aureus (MRSA) and Pseudomonas aeruginosa in patients hospitalized with community-acquired pneumonia (CAP). Design: Retrospective, single-center, cohort study from October 1, 2018, to March 31, 2023. Setting: Mayo Clinic Hospital in Phoenix, AZ. Participants: Adult patients with CAP, identified using ICD-10 diagnosis codes, receipt of systemic antibiotics for a “respiratory tract infection” within 48 hours of hospitalization, and availability of respiratory cultures. Methods: Multivariate logistic regression was used to identify factors independently associated with MRSA or P. aeruginosa isolation in respiratory cultures. Results: A total of 1,485 patients met inclusion criteria; 32 (2.2%) had MRSA and 81 (5.5%) had P. aeruginosa isolated from respiratory culture. Multivariate logistic regression analyses identified substance use disorder [aOR 8.29, P < .001], influenza [aOR 7.64, P = .003], lung abscess/empyema [aOR 4.58, P = .031], and peptic ulcer disease (PUD) [aOR 4.09, P = .017] as MRSA risk factors. Bronchiectasis [aOR 3.67, P < .001], PUD [aOR 3.48, P = .006], and COPD [aOR 2.60, P = .005] were independently associated with P. aeruginosa . Immunocompromised conditions, including transplantation (solid organ and hematopoietic stem cell) and malignant tumor were not independently associated with either organism. Conclusions: Our results substantiate previously demonstrated risk factors for MRSA and P. aeruginosa in CAP. We did not observe an independent association between immunosuppressed conditions evaluated and isolation of MRSA or P. aeruginosa .