This epidemiological study investigates the association of recent stroke, acute coronary syndrome or pneumonia and adverse perioperative outcomes following elective non-cardiac and cardiac surgery using routinely collected UK primary and secondary care patient data.