For general information only. This library does not replace advice, diagnosis or treatment from a qualified health professional. In an emergency, call 911.

Library / Conditions

Fungal infections of the brain and spinal cord

A group of uncommon but serious infections in which a fungus infects the brain, spinal cord or the membranes around them, most often in people with weakened immune systems.

Clinician view: includes diagnostic criteria, management and safety detail.

Overview

Fungal infections of the brain and spinal cord happen when a fungus gets into the central nervous system. The central nervous system (CNS) is your brain, your spinal cord and the thin layers of tissue that wrap around them, called the meninges. Doctors call this group of conditions central nervous system fungal infections or CNS mycoses (mycosis means a fungal infection).

These infections are uncommon, but they are serious and need care in hospital. Most of them happen in people whose immune system is weakened, for example by advanced HIV, cancer treatment, an organ transplant or high doses of steroid medicines. A few fungi can also make healthy people sick, especially in certain parts of the world.

Main types

A fungus can affect the nervous system in different ways:

  • Fungal meningitis: infection and swelling of the meninges. This is the most common type. It often comes on slowly, over days to weeks.
  • Brain abscess: a pocket of infection and pus inside the brain.
  • Encephalitis: swelling of the brain tissue itself.
  • Myelitis or spinal abscess: infection in or around the spinal cord.

Several kinds of fungi can cause these problems. Common ones include Cryptococcus (the cause of cryptococcal meningitis), Aspergillus (the cause of neuroaspergillosis), Candida (a yeast), the moulds that cause mucormycosis, and fungi that live in soil in certain regions, such as Coccidioides (valley fever), Histoplasma and Blastomyces.

Symptoms

Symptoms depend on which part of the nervous system is infected and which fungus is involved. Fungal infections often start more slowly than bacterial meningitis, so early signs can be easy to miss.

Common symptoms

  • Headache that gets worse over days or weeks
  • Fever, though some people have little or no fever
  • Stiff or sore neck
  • Nausea and vomiting
  • Feeling very tired or sleepy
  • Sensitivity to bright light
  • Confusion, memory problems or changes in behaviour

Signs of more serious illness

  • Seizures (fits)
  • Blurred or double vision, or loss of vision
  • Weakness, numbness or trouble moving one side of the body
  • Trouble speaking or understanding
  • Hearing loss
  • Fainting, extreme drowsiness or being hard to wake

When the infection starts in the sinuses, as can happen with mucormycosis or aspergillosis, you may first notice facial pain or swelling, a blocked nose, black crusts in the nose, or swelling around one eye.

Causes

Fungi are tiny living things that are all around us, in soil, dust, decaying plants and bird or bat droppings. Some yeasts, like Candida, also live normally on our skin and in our gut. Most of the time your immune system keeps them under control.

Fungi can reach the brain or spinal cord in a few ways:

  • Through the lungs: you breathe in fungal spores. The infection starts in the lungs and then spreads through the blood to the brain. This is how Cryptococcus, Coccidioides and Histoplasma usually travel.
  • From nearby areas: an infection in the sinuses, ears or eye socket spreads directly into the skull.
  • Through the bloodstream: a fungal infection in the blood, often linked to an intravenous line (a tube placed in a vein), seeds the brain.
  • Directly: rarely, after brain surgery, a head injury, a shunt (a tube that drains fluid from the brain) or a contaminated injection near the spine.

These infections do not usually spread from person to person.

Risk factors

You are more likely to get a fungal infection of the nervous system if you have:

  • HIV with a low CD4 count (CD4 cells are white blood cells that help fight infection)
  • An organ or stem cell transplant
  • Leukemia, lymphoma or other cancers, especially during chemotherapy
  • Long-term treatment with steroids or other medicines that calm the immune system
  • Diabetes that is poorly controlled, especially with diabetic ketoacidosis (a dangerous build-up of acids in the blood)
  • Very low levels of neutrophils, a type of white blood cell
  • A long stay in intensive care, recent surgery, or a central line
  • Premature birth (for babies)

Where you live or travel also matters. Some fungi that cause disease are found mainly in certain regions, such as dry desert areas or river valleys. Tell your care team about places you have lived or visited, even years ago.

Diagnosis

Because symptoms can look like many other illnesses, doctors use several tests to find out whether a fungus is the cause and which one it is.

  • Lumbar puncture (spinal tap): a thin needle is placed into your lower back to collect a small amount of the fluid around your brain and spinal cord (cerebrospinal fluid). The doctor also measures the pressure of the fluid. The sample is tested for signs of infection, fungal proteins (antigens) and antibodies, and grown in the lab to identify the fungus.
  • Blood tests: to look for fungal antigens, check your blood counts and see how well your kidneys and liver are working. A blood test for cryptococcal antigen is often used in people with advanced HIV.
  • Brain scans: an MRI or CT scan shows swelling, abscesses, blocked fluid flow (hydrocephalus) or bleeding.
  • Chest imaging: an X-ray or CT can show infection in the lungs that may have spread.
  • Biopsy: sometimes a small piece of tissue from the brain, sinuses or another site is taken and examined under a microscope.
  • HIV test: recommended for anyone found to have certain fungal infections, such as cryptococcal meningitis.

Treatment

Treatment almost always starts in hospital and usually lasts many weeks to months, sometimes longer. The exact plan depends on the fungus, how severe the infection is and your overall health. Infectious disease specialists and neurologists often work together on your care.

Antifungal medicines

  • amphotericin b is a strong antifungal medicine given through a vein. It is often used first for serious infections, such as cryptococcal meningitis and mucormycosis.
  • flucytosine is taken by mouth and is often combined with amphotericin b to clear Cryptococcus faster.
  • fluconazole is a pill or IV medicine used after the first phase of treatment, or as the main treatment for some infections such as valley fever meningitis. Some people need it for a long time to stop the infection coming back.
  • voriconazole is the main medicine for Aspergillus infections of the brain.
  • isavuconazole and posaconazole may be used for mucormycosis or other mould infections.
  • itraconazole is used for long-term treatment of some infections, such as histoplasmosis.

These medicines can have side effects, such as kidney problems, low potassium, liver changes or interactions with other medicines. You will have regular blood tests while you take them.

Other treatments

  • Relieving pressure: fluid can build up and raise the pressure inside the skull. Doctors may do repeated lumbar punctures to drain fluid, or place a drain or shunt.
  • Surgery: to drain a brain abscess or remove infected tissue, especially in mucormycosis.
  • Treating the cause of a weak immune system: for example, starting HIV treatment at the right time, controlling blood sugar, or lowering immune-suppressing medicines when possible.
  • Seizure medicines if you have seizures.

Living with it and recovery

Recovery can take months. These tips can help:

  • Take your antifungal medicine exactly as prescribed, and do not stop it or change it without talking to your doctor, even if you feel better.
  • Keep all follow-up visits and blood tests.
  • Tell every doctor and pharmacist about your antifungal medicine. Many antifungals interact with other drugs, including some heart, HIV and transplant medicines.
  • Ask about rehabilitation, such as physical, occupational or speech therapy, if you have weakness or trouble thinking or speaking.
  • Do not drive until your doctor says it is safe, especially if you have had seizures or vision changes.
  • Rest, eat well and accept help from family and friends. It is normal to feel worried or low. Talk to your care team if you feel this way.

Complications

Even with treatment, these infections can cause lasting problems, such as:

  • Hydrocephalus (build-up of fluid in the brain), which may need a shunt
  • Vision loss or hearing loss
  • Strokes caused by inflamed or blocked blood vessels
  • Ongoing seizures
  • Weakness, memory problems or personality changes
  • The infection coming back after treatment ends

Outlook

The outlook varies a great deal. It depends on the type of fungus, how quickly treatment starts and how well your immune system can recover. Some infections, such as mould infections in people with very weak immune systems, are often life-threatening. Others respond well to treatment, especially when caught early. Many people survive and recover, though some have lasting effects. Your care team can explain what to expect in your situation.

Prevention

  • If you have HIV, take your HIV treatment every day. Keeping your immune system strong is the best protection. People with a low CD4 count may be screened for cryptococcal infection.
  • If you have a transplant, cancer or a weak immune system, your doctor may prescribe antifungal medicine to prevent infection. Take it as directed.
  • Keep diabetes well controlled.
  • If your immune system is weak, avoid dusty places such as building sites, digging soil, cleaning bird or bat droppings, and exploring caves. Wear a well-fitting mask if you cannot avoid dust.
  • Ask your doctor before travelling to areas where certain fungal infections are common.

In the United States

In the United States, valley fever (coccidioidomycosis) is common in the Southwest, especially Arizona and California, and histoplasmosis and blastomycosis occur mainly in the Ohio and Mississippi River valleys and around the Great Lakes. The CDC tracks outbreaks of fungal meningitis, such as the 2012 outbreak linked to contaminated steroid injections. Some infections, including coccidioidomycosis, are reportable to public health in many states.

Diagnosis

Consider CNS fungal infection in subacute meningitis, brain abscess or stroke-like presentations in immunocompromised hosts (advanced HIV with CD4 under 100 cells/µL, transplant, haematological malignancy, neutropenia, corticosteroids, poorly controlled diabetes), and in residents or travellers from endemic areas. Obtain neuroimaging before lumbar puncture when focal signs, papilledema or reduced consciousness are present.

  • CSF: opening pressure (essential in cryptococcosis), cell count, protein, glucose, fungal culture (large volume improves yield), India ink.
  • Antigen and antibody tests: cryptococcal antigen (lateral flow assay) in CSF and serum; CSF galactomannan for aspergillosis; CSF complement-fixing antibodies for coccidioidal meningitis; Histoplasma antigen and antibody in CSF, serum and urine; serum and CSF beta-D-glucan (non-specific; does not detect Cryptococcus or Mucorales).
  • Imaging: MRI with contrast for abscesses, basal meningeal enhancement, hydrocephalus, vasculitic infarcts; CT of sinuses and orbits for rhino-orbital-cerebral disease.
  • Histopathology and molecular tests on tissue when needed; urgent ENT assessment if mucormycosis is suspected.

Management

  • Cryptococcal meningitis (IDSA 2010; WHO 2022): induction with amphotericin B (liposomal preferred) plus flucytosine. WHO 2022 recommends a single high dose of liposomal amphotericin B (10 mg/kg) with 14 days of flucytosine and fluconazole in people with HIV. Follow with fluconazole consolidation and maintenance. Manage raised intracranial pressure with therapeutic lumbar punctures (opening pressure 25 cm H2O or more). Avoid routine adjunctive corticosteroids in HIV-associated disease (increased harm in trials). In HIV, defer antiretroviral therapy for about 4 to 6 weeks after starting antifungal therapy to reduce mortality from IRIS.
  • CNS aspergillosis (IDSA 2016): voriconazole first-line, with neurosurgical input for accessible lesions; reduce immunosuppression where possible.
  • Mucormycosis: high-dose liposomal amphotericin B with urgent surgical debridement and correction of ketoacidosis; isavuconazole or posaconazole for step-down or salvage.
  • Candida CNS infection: liposomal amphotericin B with or without flucytosine, then fluconazole; remove infected devices.
  • Coccidioidal meningitis: high-dose fluconazole, usually lifelong; monitor for hydrocephalus.
  • Histoplasma CNS infection: liposomal amphotericin B followed by prolonged itraconazole.

Echinocandins have poor CNS penetration and are not suitable as primary therapy.

Cautions, monitoring and prognosis

Amphotericin B: monitor renal function, potassium and magnesium; pre-hydrate with saline. Flucytosine: marrow suppression and hepatotoxicity, adjust for renal function, use drug levels where available. Triazoles: strong CYP3A4 interactions (calcineurin and mTOR inhibitors, some antiretrovirals, anticonvulsants), hepatotoxicity and QT prolongation; therapeutic drug monitoring is recommended for voriconazole, posaconazole and itraconazole. Red flags include declining consciousness, new focal deficits, rising opening pressure, hydrocephalus and IRIS. Prognosis depends on organism, host and speed of treatment; mortality remains high for invasive mould infections and for cryptococcal meningitis in resource-limited settings.

When to get medical help

See a doctor soon if you have a weak immune system and develop a new or worsening headache, fever, or feel unusually tired or confused. These early signs may seem mild, but fungal infections can get worse quickly.

  • A headache that lasts more than a few days or keeps getting worse
  • Fever with a stiff neck
  • Swelling, pain or black patches on your face or in your nose, especially if you have diabetes
  • New side effects from antifungal medicine

Go to the emergency department or call emergency services right away if you or someone else has a seizure, sudden confusion, severe drowsiness or trouble waking, sudden vision loss, weakness or numbness on one side of the body, or trouble speaking.

In an emergency, call 911.

References

  1. U.S. National Library of Medicine. MeSH: Central Nervous System Fungal Infections. meshb.nlm.nih.gov
  2. CDC: Fungal Diseases. cdc.gov/fungal/index.html
  3. MedlinePlus: Fungal Infections. medlineplus.gov/fungalinfections.html
  4. MedlinePlus: Meningitis. medlineplus.gov/meningitis.html
  5. IDSA: Clinical Practice Guidelines for the Management of Cryptococcal Disease (2010). doi.org/10.1086/649858
  6. IDSA: Practice Guidelines for the Diagnosis and Management of Aspergillosis (2016). doi.org/10.1093/cid/ciw326