Objective:To evaluate and analyze the efficacy of dexmedetomidine anesthesia in patients undergoing knee replace-ment surgery,to improve the anesthesia effect and reduce the impact of anesthesia.Methods:A total of 300 patients undergoing knee arthroplasty in our hospital from August 2019 to August 2022 were selected for this study,and were randomly divided into a control group(n=150,using lidocaine anesthesia)and an observation group(n=150,using dexmedetomidine+lidocaine anes-thesia regimen)by simple randomization method.The anesthetic effect,sleep quality,and complications were compared between the two groups.Results:The sedative effect score of the observation group at 15 min after anesthesia and after the surgery was higher than that of the control group(P<0.05).The Pittsburgh Sleep Quality Index in the observation group was lower than the[(14.03±2.16)score]of the control group(P<0.05).Heart rate and mean arterial depression were observed at 15 min after anesthesia,30 min after surgery,and those in the control group(P<0.05).The overall incidence of complications in the observa-tion group was lower than that in the control group(P<0.05).Conclusion:Dexmedetomidine can improve the anesthesia effect of knee replacement surgery,ensure short-term sleep quality,have little impact on hemodynamics,and have good generalizability.