BackgroundHeadache is a common occurrence after endoscopic endonasal surgery (EES) for pituitary adenomas and significantly impacts the quality of life of patients. This study aims to investigate the effectiveness of nasal irrigation in relieving postoperative headache after EES.MethodsA retrospective analysis was conducted on a cohort of 101 patients (Cohort I) who underwent EES for pituitary adenomas to explore the risk factors associated with postoperative headache. Another cohort of 72 patients (Cohort II) who received adjuvant nasal irrigation following surgery was enrolled for further analysis. The Headache Impact Test (HIT-6) was used to score the severity of headache, and patients with a HIT score > 55 were classified as having headache.ResultsIn Cohort I, 21.78% of patients experienced headache one month after EES, which decreased to 5.94% at the three-month follow-up. Multivariate analysis revealed that postoperative nasal sinusitis (OR = 3.88, 95%CI 1.16–13.03, p = 0.028) and Hardy’s grade C-D (OR = 10.53, 95%CI 1.02-109.19, p = 0.049) independently predicted the presence of postoperative headache at one month. At the three-month follow-up, patients with sinusitis had higher HIT-6 scores compared to those without sinusitis (44.43 ± 9.78 vs. 39.72 ± 5.25, p = 0.017). In Cohort II, the incidence of sinusitis at three months was significantly lower than that in Cohort I (p = 0.028). Importantly, both the incidence of headache and HIT-6 scores in Cohort II were significantly lower than those in Cohort I at the one- and three-month follow-ups.ConclusionsPostoperative sinusitis is an independent risk factor for the development of headache following EES for pituitary adenomas. Prophylactic nasal irrigation helps relieve postoperative headache, possibly by preventing the occurrence of sinusitis.