•We identified MID1IP1 and PIK3IP1 as pivotal crosstalk genes in MG-associated DCM, exhibiting robust diagnostic effectiveness. Here, MID1IP1 is linked to myasthenia gravis.