This study was undertaken to investigate whether obstructive sleep apnea (OSA) produces a survival advantage in acute coronary syndrome (ACS), and to evaluate the mechanism of any benefit, including the impact of age and other risk factors. The National Inpatient Sample was queried for all patients who were admitted for ACS during the years 2013 to 2014. The primary outcomes were all-cause in-hospital mortality and cardiogenic shock (CS). Multivariable logistic regression was used for analysis. A total of 1,080,340 patients with ACS were included, 63,255 patients had OSA. The majority of patients were males (60.3%) and of Caucasian race (75%). The mean age was 67 years (SEM: 0.1). Despite a higher burden of risk factors and older age, OSA patients had a lower risk for mortality and cardiogenic shock adjusted OR 0.68 (95%CI 0.61-0.75), p <0.001 and 0.81 (95%CI: 0.74 to 0.89), p <0.001 respectively. Age was an important effect modifier. Survival advantage and lower risk for CS arises at the age above 55 and become more apparent with increasing age. In conclusion, despite a higher CV risk profile, and older age, OSA produces a survival benefit in ACS. Age is a significant modifier of risk in OSA patients with ACS. Ischemic preconditioning might explain these results.