Compared with the general Chinese population, patients with IIMs and anti-transcriptional intermediary factor (TIF1)-γ antibodies (SIR = 17.28, 95% CI 11.94 to 24.14), anti-nuclear matrix protein (NXP2) antibodies (SIR = 8.14, 95% CI 1.63 to 23.86), or anti-SAE1 antibodies (SIR = 12.92, 95% CI 3.23 to 32.94), or who were MSAs-negative (SIR = 3.99, 95% CI 1.96 to 7.14) faced increased risk of cancer. Here, TRIM24 is linked to cancer.