This study investigated the extent to which work disability patterns including sickness absence and disability pension (SA/DP) before and after acute myocardial infarction (AMI) were associated with subsequent common mental disorders (CMDs) such as depression and anxiety in AMI patients without previous CMD. Total 11,493 patients 26-64 years with incident AMI during 2008-10 were followed up for CMD (measured as antidepressant prescription) through 2013. Four SA/DP trajectory groups during the 3-years pre-AMI and 1-year post-AMI were identified. Hazard ratios (HRs) with 95% confidence intervals for subsequent CMD were estimated in Cox models. Higher pre-AMI SA/DP annual levels (>1-12 months/year) were associated with 40-60% increased CMD rate than the majority (78%) with low increasing levels (increasing up to 1 month/year). Regarding post-AMI findings, constant high (~25-30 days/month) SA/DP levels within the first 3 months was associated with a 76% higher CMD rate, compared to constant low (0 days/month). A gradually decreasing post-AMI SA/DP pattern over a 12-month period suggested protective influences for CMD (HR = 0.80). This is the first study to demonstrate that pre- and post-AMI work disability patterns are associated with subsequent CMD risk in AMI patients. Work disability patterns should be considered as an indicator of AMI prognosis in terms of CMD risk.