Meningitis is an inflammation of the membranes (meninges) surrounding your brain and spinal cord. ... Most cases of meningitis in the United States are caused by a viral infection, but bacterial, parasitic and fungal infections are other causes. Some cases of meningitis improve without treatment in a few weeks.