Objective To explore the effect of respiratory training based on mechanical vibration-assisted sputum expulsion on arterial blood gases in patients with chronic obstructive pulmonary type 2 respiratory failure and clinical efficacy observation. Methods 105 patients with chronic obstructive pulmonary disease combined with type 2 respiratory failure who were hospitalized in our hospital from November 2019 to February 2023 were selected as study subjects. They were randomly numbered and divided into experimental and control groups according to the order of admission, and 3 patients withdrew from the study cohort due to their own reasons, and 51 cases each of the experimental and control groups were finally included. Patients in the control group were given conventional treatment and lung function exercise, while the experimental group was given respiratory training with mechanical vibration-assisted sputum expulsion. Lung function and blood gas analysis indexes were measured before and 2 weeks after treatment to evaluate the clinical efficacy and incidence of adverse events in the two groups. Results After the treatment, pulmonary function indexes such as PEF, FVC, FEV1 and FEV1/FVC, and blood gas analysis indexes such as PaO2, PaCO2 of the experimental group and daily sputum excretion improved significantly compared with those of the pre-treatment and control groups (P<0.05). The total clinical efficacy rate of the patients in the experimental group was significantly higher than that of the control group (P<0.05), and the incidence of adverse events was lower than that of the control group, but the difference was not statistically significant (P>0.05). Conclusion Respiratory training based on mechanical vibration-assisted sputum expectoration can help improve the lung function and blood gas level of patients with chronic obstructive pulmonary disease combined with type 2 respiratory failure, and it has a certain clinical value in promoting the rehabilitation and prognosis of patients.