Objectives To explore the risk factors for hypoxemia during one-lung ventilation(OLV)after cardiopulmo-nary bypass(CPB)in thoracoscopic cardiac surgery.Methods Clinical data of patients to propose thoracoscopic cardiac surgery from June 2021 to June 2022 in Guangdong Provincial People's Hospital were retrospectively analyzed.Univariate analysis and binary regression analysis were used to identify the risk factors associated with hypoxemia during OLV after CPB.Results Hypoxemia occurred with the incidence of 29%during OLV after CPB in thoracoscopic cardiac surgery.Univariate analysis results showed that significant differences between the two groups included age(P=0.020),smoking(P<0.001),thickness of interventricular septal(P=0.018),the dose of sulfentanil(P=0.017),duration of surgery(P=0.030),ultrafiltration rate(P=0.023),type of myocardial protective fluid(P=0.035),aortic cross clamp duration(P=0.022),the duration of CPB(P=0.031),the duration of surgery(P=0.036).Binary Logistic regression analysis showed that age(OR=0.029,P=0.037),smoking(OR=1.638,P<0.001),interventricular septal thickness(OR=0.172,P=0.043)were risk factors influencing the incidence of hypoxemia,while the dose of sulfentanil was the protect factor of the incidence of hypox-emia after CPB.Conclusions Patients with old age and smoking history have a greater risk of hypoxemia undergoing thoracoscopic cardiac surgery after CPB.