We describe a patient with a history of longstanding primary generalised epilepsy, on anticonvulsant therapy, who presented with fever, headache, worsening seizures and hallucinations. Among various investigations, the patient had high CSF protein and ACE levels, leptomeningeal nodular enhancement on MRI brain and non-caseating granulomas in the brain and meninges on the biopsy. The patient was diagnosed with neurosarcoidosis. Subsequently, he was found to be panhypogammaglobulinaemic and was diagnosed with probable common variable immunodeficiency (CVID). The coexistence of common variable immunodeficiency and neurosarcoidosis is rare. Typically, non-caseating granulomas in CVID patients are localised in the lymphatic tissue and solid organs. To our knowledge, there are only five reports of the granulomas of the central nervous system (CNS) in CVID. We discuss the diagnostic difficulties in this case and review the literature.