Conclusions: Our study elucidates the common mechanisms of immune response, TGF-β signaling pathway, and natural killer cells in LUAD and T2DM, and identifies ATR, RFC4, and MCM2 as key potential biomarkers and therapeutic targets for the comorbidity of these two conditions. Here, RFC4 is linked to type 2 diabetes mellitus.