This study identifies TNFAIP3 as a key molecular target linking chronic obstructive pulmonary disease (COPD) and insomnia, and proposes berbamine as a potential therapeutic drug, filling the gap in understanding shared mechanisms and dual-treatment strategies for this comorbidity. Here, TNFAIP3 is linked to chronic obstructive pulmonary disease.