The comorbidity of OSA and MDD is driven by shared dysregulation in mitochondrial OXPHOS and antigen presentation pathways, mediated by key hub genes CD74 and RPL26L1, which promote neuroinflammation and disrupt cellular energy metabolism via altered immune cell infiltration. This evidence concerns the gene CD74 and major depressive disorder.