Diagnosis of noninfectious meningitis is based on analysis of cerebrospinal fluid (CSF) obtained by lumbar puncture (preceded by neuroimaging if increased intracranial pressure or an intracranial mass effect is suspected).