In this large longitudinal cohort study, we demonstrated that patients with IIM who carry anti-TIF1-γ, anti-NXP2, or anti-SAE1 antibodies, and those who are MSAs-negative have increased risk of cancer compared to age-matched and sex-matched control subjects. This evidence concerns the gene MORC3 and acquired idiopathic inflammatory myopathy.