Diagnosis often involves a combination of clinical evaluation and laboratory tests. A lumbar puncture (spinal tap) is typically performed to obtain cerebrospinal fluid (CSF) for analysis. Laboratory tests on the CSF can identify the specific bacteria responsible for the infection. Additional tests may include blood cultures and imaging studies like CT scans or MRIs.