Abstract: [Objective] To observe the effect of quetiapine combined with midazolam on the prognosis of patients with dementia and sleep disorders. [Method] From July 2018 to August 2019, 130 patients with dementia and sleep disorders were selected as the control group and the observation group. The control group (n=65) was treated with quetiapine alone, and the observation group (n =65) Give quetiapine + midazolam to evaluate the clinical efficacy to observe the prognostic indicators. [Results] After the treatment in the observation group, the pathological efficacy, ie rhythm disorder, behavior disorder, mental disorder, fear anxiety and hallucination scores of the BEHAVE-AD scale were lower than the control group, the difference was statistically significant (P<0.05). Before the treatment, the MMSE scores of the two groups were not statistically different (P>0.05). After the treatment, the evaluation scores increased, and the observation group was more significant, the difference was statistically significant (P<0.05). ). The quality of life scores of the two groups were not statistically different before the treatment (P>0.05). After the treatment, the evaluation scores increased, and the observation group was more significant, the difference was statistically significant (P< 0.05). The sleep quality of the two groups was compared. The PSQI score of the observation group after treatment was lower than that of the control group (P<0.05). The total effective rate of the observation group was higher than that of the control group, which was statistically significant (P<0.05). [Conclusion ] Quetiapine combined with midazolam was given to patients with Alzheimer's disease and sleep disorders. The effect is accurate, safe and reliable.