Abstract Objective To investigate the predictive value of the systemic immune inflammation (SII) index on the occurrence of stroke‐associated pneumonia (SAP) in patients with acute stroke. Methods Data of patients with or without a previous history of pulmonary who visited the First Affiliated Hospital of Kunming Medical University within 24 h of the onset of stroke were collected between January 2017 and December 2019. Patient's demographic data, stroke type, past medical history, National Institutes of Health Stroke Scale score, Glasgow Coma score, and laboratory tests were collected. Logistic regression models and receiver‐operating characteristic (ROC) curves were used to investigate the predictive value of SII for the development of SAP in patients with stroke. Results We included 395 patients with acute stroke, with a mean age of 63.89 ± 13.42 years, of whom 340 (86.1%) had ischemic stroke, and 55 (13.9%) had hemorrhagic stroke. Out of 395, 113 (28.6%) had SAP and 282 (71.4%) did not, and the SII level in the SAP group was higher than that of the non‐SAP group (p