Objective:To analyze the effects of non-invasive mechanical ventilation on sleep quality and cognitive function in pa-tients with acute exacerbation of chronic obstructive pulmonary disease(AECOPD)complicated with respiratory failure.Methods:A total of 90 patients with AECOPD combined with type Ⅰ respiratory failure admitted to G2 Respiratory and Critical Care Medi-cine Department of Quanzhou First Hospital from August 2022 to February 2024 were selected as research objects,and were divid-ed into control group and observation group according to random number table method,with 45 cases in each group.The control group was treated with high flow oxygen inhalation through nasal catheter,and the observation group was treated with non-invasive mechanical ventilation.Blood gas parameters of the two groups were compared before and after intervention,including partial pres-sure of arterial oxygen(PO2),partial pressure of carbon dioxide(PCO2)and oxygenation index(OI).Pittsburgh Sleep Quality In-dex(PSQI)was used to compare the changes of sleep quality of the two groups before and after intervention.The cognitive func-tion of the 2 groups before and after the intervention was assessed by the Montreal Cognitive Assessment Scale(MoCA).Results:After intervention,the 72 h arterial oxygen partial pressure(PO2)and oxygenation index(OI)of the observation group were higher than those of the control group,and the PCO2 of the observation group was significantly lower than that of the control group,with statistical significance(P<0.05).After the intervention,PSQI score of the observation group was significantly lower than that of the control group,and MoCA score of the observation group was significantly higher than that of the control group,with statistical significance between the two groups(P<0.05).Conclusion:Non-invasive mechanical ventilation can effectively correct the hy-poxia state in patients with AECOPD complicated with respiratory failure,improve cognitive function and sleep quality,and is wor-thy of clinical application.