Background Implementation of modern stroke unit care might have attenuated the negative effect of infections on stroke outcome. Our aim was to investigate changes in the occurrence of pneumonia and urinary infections diagnosed after admission to experienced Polish stroke center between 1995 and 2015, and their association with hospital mortality. Materials and Methods This is a retrospective registry-based analysis of consecutive patients with acute stroke from highly urbanized area (Warsaw, Poland) in years 1995-2015. A total of 5174 patients were divided to 4 time periods: 1995-2000 (n = 883), 2001-2006 (n = 1567), 2006-2010 (n = 1539), and 2011-2015 (n = 1183). Odds ratios (ORs) for hospital death were calculated after adjustment for age, congestive heart failure, preexisting disability, stroke type, and baseline neurological deficit, separately in years 1995-2015, 1995-2000, and 2011-2015. Results Over time there was a significant decrease in the proportion of patients diagnosed with pneumonia (20%, 19%, 9%, and 15%, respectively) or urinary tract infection (29%, 21%, 24%, and 18%, respectively) and in the proportion of patients having body temperature of 38.0°C or higher at least once within first 7 days of hospital stay (20%, 20%, 13%, and 13%, respectively), without significant change in the use of antibiotics (range 35%-37%). Hospital mortality was strongly predicted by pneumonia (OR 3.6-4.2) and fever (OR 2.7-4.7) but not urinary infections. Conclusions Over the last 2 decades there was a decrease in the proportion of patients with acute stroke diagnosed with pneumonia or urinary tract infection during stroke unit stay. Hospital death was strongly predicted by pneumonia and fever but no by urinary infections.