The measurement of optic nerve sheath diameter is a noninvasive, practical, and economical method used to identify increased intracranial pressure. The purpose of this study is to detect the preoperative and postoperative changes in optic nerve sheath diameter in patients with intracranial mass, to correlate these changes with optic nerve diameter variations, and to evaluate the impact of hydrocephalus on these alterations. This study was conducted with patients who presented to our clinic with complaints of intracranial mass, were decided for surgery, and underwent surgical procedures. The optic nerve and optic nerve sheath diameter measurement values were different preoperatively and postoperatively, with a significant decrease in the optic nerve sheath diameter in all groups in postoperative measurements, while the optic nerve diameter significantly increased. Although there was no significant difference between the effects of hydrocephalus and intracranial mass-related increase in intracranial pressure on the optic nerve and optic nerve sheath, it was observed that hydrocephalus increased intracranial pressure when considering the Evans ratio. It has been determined that as ventricular dilatation increases, so does intracranial pressure, which leads to an increase in the diameter of the optic nerve sheath, resulting in papilledema and thinning of the optic nerve. These findings indicate the importance of early cerebrospinal fluid diversion and monitoring optic nerve sheath diameter in the management.