Objective:To explore the effects of remifentanil and propofol anesthesia on sleep quality in patients undergoing lapa-roscopic hysterectomy.Methods:A total of 96 patients who underwent laparoscopic hysterectomy in our hospital were selected as the study subjects.The study period was from June 2021 to June 2023.After admission,the above patients were randomly divided into a control group of 48 cases and an observation group of 48 cases.The control group patients were anesthetized with remimazo-lam during surgery,while the observation group patients were anesthetized with propofol.The stability of intraoperative hemody-namic parameters between the two groups of patients was compared.The Pittsburgh Sleep Quality Index(PSQI)and the Asens In-somnia Scale(AIS)were compared one day before surgery,one day after surgery,three days after surgery,and seven days after surgery,respectively.The levels of melatonin in the patient's serum were measured daily in the morning during these time periods,as well as the incidence of postoperative adverse reactions.Results:The heart rate and mean arterial pressure during surgery in the observation group were significantly higher than those in the control group(Ps<0.05).There was no difference in PSQI,AIS scores,and serum melatonin concentration between the two groups of patients before surgery.The improvement effect of the control group was more significant than that of the observation group at the same time after surgery(Ps<0.05).The incidence of adverse reactions in the observation group was not significantly different from that in the control group(P>0.05).Conclusion:The use of remidazolam total anesthesia for intervention in patients undergoing laparoscopic total hysterectomy has a more stable intraopera-tive vital sign and higher clinical safety.However,this anesthetic drug can reduce the patient's sleep quality,while propofol anes-thesia has a relatively small impact on the patient's postoperative sleep quality.This may be due to the mild inhibitory effect of propofol on melatonin secretion after surgery.