The objective of this research is to study the effect of obstructive sleep apnea-hypopnea syndrome on cognitive function of stroke. Based on linear regression equation and Montreal Cognitive Assessment Scale, the degree of cognitive impairment in OSAHS patients was evaluated and the influencing factors of OSAHS-induced cognitive impairment and the correlation between the degree of OSAHS and cognitive impairment were explored. The results are as follows: about 68% of OSAHS patients have cognitive dysfunction, and the incidence of cognitive dysfunction is positively correlated with OSAHS; cognitive impairment of OSAHS patients was associated with age, obesity, years of schooling, and intermittent nocturnal hypoxia or hypoventilation; the severity of cognitive dysfunction of OSAHS patients was positively correlated with age and obesity but negatively correlated with education level; Logistic regression analysis results showed that there were three factors that were finally entered into the regression equation, namely, LSaO2, BMI, and AHI, and the Logistic regression equation obtained was as follows:
Logist
P
=
−
0.109
X
1
+
0.785
X
2
+
1.228
X
3
. This study helps clinical workers to detect and intervene the impaired cognitive ability of patients with OSAHS early, so as to reduce the incidence and mortality of related complications and improve the quality of life of patients.