Endoscopic third ventriculostomy (ETV) is a type of brain surgery. It treats hydrocephalus. This condition is when cerebrospinal fluid (CSF) builds up in the brain.