Pneumoconiosis (PCN) has several comorbidities, most notably pulmonary and cardiovascular diseases. However, much is still unknown about the relationship between PCN and acute myocardial infarction (AMI). The present study aimed to clarify the association between PCN and subsequent AMI risk using a retrospective cohort study design. This was a population-based, retrospective cohort study that used data from Taiwan's National Health Insurance Database. A total of 7556 newly diagnosed patients with PCN and 7556 individuals without PCN were included in the PCN and comparison cohort (PC and CC), respectively, between 2008 and 2018, with propensity score matching for age, gender, comorbidity, medication, and date of PCN diagnosis. The occurrence of AMI was monitored until the end of 2019, and AMI risk was assessed using Cox proportional hazard regression models. The overall incidence of AMI was 1.34-fold higher in the PC than in the CC (4.33 vs. 3.23 per 1000 person-years, respectively, p < 0.05), with an adjusted hazard ratio (aHR) of 1.36 (95% confidence interval (CI): 1.08-1.72) after controlling for age, gender, comorbidity, and medication. Further analyses showed a higher risk of AMI with increased annual number of emergency department visits among patients with PCN (aHR: 1.30, 95% CI: 1.01-1.66 (<1) and aHR: 1.68, 95% CI: 1.13-2.50 (≥1)). Patients with PCN had a significantly higher risk of developing AMI than those without PCN. Clinicians should pay more attention to prevent AMI episodes in patients with PCN.