Background: Stroke-associated infections occur frequently and are associated with unfavorable outcome. Previous cohort studies suggest a protective effect of beta-blockers (BBs) against infections. A sympathetic drive may increase immune suppression and infections. Aim: This study is aimed at investigating the association between BB treatment at baseline and post-stroke infection in the Preventive Antibiotics in Stroke Study (PASS), a prospective clinical trial. Methods: We performed an exploratory analysis in PASS, 2,538 patients with acute phase of stroke (24 h after onset) were randomized to ceftriaxone (intravenous, 2 g per day for 4 days) in addition to stroke unit care, or standard stroke unit care without preventive antibiotic treatment. All clinical data, including use of BBs, was prospectively collected. Infection was diagnosed by the treating physician, and independently by an expert panel blinded for all other data. Multivariable analysis was performed to investigate the relation between BB treatment and infection rate. Results: Infection, as defined by the physician, occurred in 348 of 2,538 patients (14%). Multivariable analysis showed that the use of BBs at baseline was associated with the development of infection during clinical course (adjusted OR (aOR) 1.61, 95% CI 1.19-2.18; p < 0.01). BB use at baseline was also associated with the development of pneumonia (aOR 1.56, 95% CI 1.05-2.30; p = 0.03). Baseline BB use was not associated with mortality (aOR 1.14, 95% CI 0.84-1.53; p = 0.41) or unfavorable outcome at 3 months (aOR 1.10, 95% CI 0.89-1.35; p = 0.39). Conclusions: Patients treated with BBs prior to stroke have a higher rate of infection and pneumonia.