This study identified G3BP1, MAF, NCEH1 and TMEM45A as key pathological genes in both TNBC and MDD. Here, MAF is linked to major depressive disorder.