Abstract:〔Abstract〕 Objective To explore the effect of preoperative behavior training combined with postoperative ice compress on pain and sleep in patients after nasal endoscopy. Methods A total of 86 patients treated with nasal endoscopy in the First Affiliated Hospital of Xiamen University from January 2020 to December 2021 were selected and divided into a control group and an observation group by random number table method, with 43 cases in each group. The control group received postoperative ice compress, and the observation group received preoperative behavioral training combined with postoperative ice compress intervention. Visual analog scale (VAS), Pittsburgh sleep quality index (PSQI) scores, emotional state [(self-rating anxiety scale (SAS) score, self-rating depression scale (SDS) score] and the incidence of adverse reactions were compared between the two groups at 2 h, 4 h, 6 h, 8 h and 10 h after surgery. Results The VAS scores of 2 h, 4 h, 6 h, 8 h and 10 h in the observation group were lower than those in the control group, the differences were statistically significant (P < 0.05). PSQI scores of all dimensions in the observation group during postoperative nostril tamponage were lower than those in the control group, the differences were statistically significant (P < 0.05). SAS and SDS scores in the observation group were lower than those in the control group at discharge, the differences were statistically significant (P < 0.05). The incidence of adverse reactions in the observation group was 18.60%, lower than 39.53% in the control group, and the difference was statistically significant (P < 0.05). Conclusion In the nursing of patients undergoing nasal endoscopic surgery, preoperative behavior training combined with postoperative ice compress can relieve postoperative pain, improve their sleep quality and emotional state, improve prognosis, and reduce the incidence of adverse reactions.