The clinical data of 7 patients (3 males and 4 females) with functional pituitary neuroendocrine tumor treated by endoscopic transnasal resection of the cavernous sinus medial wall from May to October 2023 in the Department of Neurosurgery of the First Affiliated Hospital of University of Science and Technology of China were retrospectively analyzed. They ranged in age from 29 to 60, with an average age of 45. The clinical diagnosis was acromegaly in 5 cases and Cushing's disease in 2 cases. There were 1 cases of microadenoma and 6 cases of macroadenoma. Knosp grade: Grade 1 adenoma in 3 cases, grade 2 adenoma in 3 cases and grade 3A adenoma in 1 case. Intraoperative resection of cavernous sinus medial wall was performed on the side of tumor. Five cases were determined to be invaded by tumor, and 2 cases were uncertain. No internal carotid artery injury occurred in all patients. The average intraoperative blood loss was 156 ml, and no patient was transfused. Postoperative endocrine remission was found in 6 cases, and tumor cells were found in 6 cases by pathological examination of the medial wall of cavernous sinus. No serious complications occurred in all patients. For Knosp grade 1-3 functional pituitary neuroendocrine tumor surgery, if there is no clear false envelope or normal pituitary between the tumor and the cavernous sinus medial wall during the operation, the cavernous sinus medial wall should be actively removed to improve the postoperative endocrine remission rate.