Background: Frequent and highly prevalent as comorbidities in Chronic obstructive pulmonary disease (COPD) patients, both depression and anxiety seem to have an impact on COPD prognosis. However, they are underdiagnosed and rarely treated properly. Aim: to establish the prevalence of depression and anxiety in patients admitted for acute exacerbation of COPD (AECOPD) and determine their influence on COPD prognosis.Methods: Prospective observational study conducted from October 1, 2016 to October 1, 2018 at the following centers in Galicia, Spain: Salnés County Hospital, Arquitecto Marcide, and Clinic Hospital Complex of Santiago de Compostela. Patients admitted for AECOPD who agreed to participate and completed the anxiety and depression scale (HADS) were included in the study.Results: 288 patients (46.8%) were included, mean age was 73.7 years (SD 10.9), 84.7% were male. 67.7% patients were diagnosed with probable depression, and depression was established in 41.7%; anxiety was probable in 68.2% and established in 35.4%. 60.4% of all patients showed symptoms of both anxiety and depression. Multivariate analysis relates established depression with a higher risk of late readmission (OR 2.06, 95% CI 1.28; 3.31) and a lower risk of mortality at 18 months (OR 0.57, 95% CI 0.37;0.90) Conclusion: the prevalence of anxiety and depression in COPD patients is high. Depression seems to be an independent factor for AECOPD, so early detection and a multidisciplinary approach could improve the prognosis of both entities.The study was approved by the Ethical Committee of Galicia (code 2016/460).