In bacterial meningitis, bacteria reach the meninges by one of two main routes: through the bloodstream (hematogenous spread) or through direct contact between the meninges and either the nasal cavity or the skin. In most cases, meningitis follows invasion of the bloodstream by organisms that live on mucosal surfaces such as the nasal cavity. This is often in turn preceded by viral infections, which break down the normal barrier provided by the mucosal surfaces. Once bacteria have entered the bloodstream, they enter the subarachnoid space in places where the blood–brain barrier is vulnerable – such as the choroid plexus. Meningitis occurs in 25% of newborns with bloodstream infections due to group B streptococci; this phenomenon is much less common in adults. Direct contamination of the cerebrospinal fluid may arise from indwelling devices, skull fractures, or infections of the nasopharynx or the nasal sinuses that have formed a tract with the subarachnoid space (see above); occasionally, congenital defects of the dura mater can be identified.The large-scale inflammation that occurs in the subarachnoid space during meningitis is not a direct result of bacterial infection but can rather largely be attributed to the response of the immune system to the entry of bacteria into the central nervous system. When components of the bacterial cell membrane are identified by the immune cells of the brain (astrocytes and microglia), they respond by releasing large amounts of cytokines, hormone-like mediators that recruit other immune cells and stimulate other tissues to participate in an immune response.
Approximately 59% of recurrent meningitis cases are due to such anatomical abnormalities, 36% are due to immune deficiencies (such as complement deficiency, which predisposes especially to recurrent meningococcal meningitis), and 5% are due to ongoing infections in areas adjacent to the meninges. Viral
Viruses that cause meningitis include enteroviruses, herpes simplex virus (generally type 2, which produces most genital sores; less commonly type 1), varicella zoster virus (known for causing chickenpox and shingles), mumps virus, HIV, LCMV, Arboviruses (acquired from a mosquito or other insect), and the Influenza virus. Mollarets meningitis is a chronic recurrent form of herpes meningitis; it is thought to be caused by herpes simplex virus type 2. Fungal
There are a number of risk factors for fungal meningitis, including the use of immunosuppressants (such as after organ transplantation), HIV/AIDS, and the loss of immunity associated with aging. It is uncommon in those with a normal immune system but has occurred with medication contamination. Symptom onset is typically more gradual, with headaches and fever being present for at least a couple of weeks before diagnosis. The most common fungal meningitis is cryptococcal meningitis due to Cryptococcus neoformans. In Africa, cryptococcal meningitis is now the most common cause of meningitis in multiple studies, and it accounts for 20–25% of AIDS-related deaths in Africa. Other less common fungal pathogens which can cause meningitis include: Coccidioides immitis,  Histoplasma capsulatum, Blastomyces dermatitidis, and Candida species. Parasitic
A parasitic cause is often assumed when there is a predominance of eosinophils (a type of white blood cell) in the CSF.