Meningitis treatment depends entirely on what’s causing the infection. Bacterial meningitis requires emergency antibiotics, ideally within two hours. Viral meningitis usually resolves on its own with supportive care. Fungal meningitis needs aggressive antifungal therapy that can last weeks or longer. Identifying the cause is the single most important step, because giving the wrong treatment, or waiting too long, can be fatal.
Bacterial Meningitis: A Medical Emergency
Bacterial meningitis is the most dangerous form, and speed matters more than almost anything else. A meta-analysis found that delaying antibiotics by more than two hours doubles the risk of death. In patients showing signs of sepsis or a rapidly spreading rash, antibiotics should be given immediately after a blood sample is drawn, without waiting for test results.
Doctors start with broad-spectrum antibiotics chosen based on the patient’s age and medical history, because lab results identifying the exact bacteria take time. Once the specific organism is confirmed, treatment is narrowed to the most effective antibiotic for that strain. The choice also accounts for allergies and other medications to avoid dangerous interactions.
A steroid given before or alongside the first antibiotic dose can significantly reduce complications. A landmark trial in the New England Journal of Medicine found that administering it 15 to 20 minutes before the first antibiotic, then continuing for four days, reduced the risk of severe hearing loss and death, particularly in cases caused by the pneumococcus bacterium. The steroid works by dampening the intense inflammatory response that causes much of the brain damage in meningitis. Timing is critical: giving it after antibiotics have already been started provides little to no benefit.
Viral Meningitis: Usually Milder
Most viral meningitis cases resolve without specific medication. The illness is typically less severe than bacterial meningitis, and the body’s immune system clears the infection within one to two weeks. Treatment focuses on managing symptoms: fever reducers, pain relievers for headaches, and staying well hydrated. Intravenous fluids given over 48 hours have been shown to reduce the risk of complications like seizures, especially in children.
There are exceptions. When meningitis is caused by herpes simplex or the virus behind chickenpox and shingles, acyclovir is an effective antiviral. Influenza-related meningitis can also be treated with antiviral medications. For the majority of cases caused by common enteroviruses, though, no antiviral exists, and supportive care is the standard approach.
Headaches from viral meningitis can linger even after the infection clears. Most respond to pain relievers and hydration, but headaches lasting weeks may need further evaluation.
Fungal Meningitis Treatment
Fungal meningitis is rare but serious, most often affecting people with weakened immune systems, particularly those living with HIV. The most common culprit is a fungus called Cryptococcus, and treatment requires potent antifungal medications given in phases.
The standard approach starts with an intensive “induction” phase designed to rapidly kill the fungus in the brain and spinal fluid. The most effective induction regimen combines two antifungal drugs: one delivered intravenously and another taken orally. A major trial published in the New England Journal of Medicine found that pairing these two drugs for just one week produced the lowest mortality rate at 10 weeks, around 24%, compared to over 50% mortality when only a single oral antifungal was used alone.
After the induction phase, patients transition to an oral antifungal at a high dose for several more weeks, then gradually step down to a lower maintenance dose that may continue for months. This phased approach is necessary because fungal infections in the brain are extremely difficult to eradicate completely, and stopping treatment too early risks relapse.
Managing Brain Swelling
All forms of meningitis can cause dangerous increases in pressure inside the skull as the membranes surrounding the brain become inflamed. Managing this pressure is a critical part of treatment regardless of the underlying cause.
Basic measures start immediately: elevating the head of the bed to about 30 degrees, keeping the head facing straight ahead to allow blood to drain freely from the brain through the jugular veins, and aggressively controlling fever, since elevated temperature worsens brain swelling. These simple interventions are applied to every patient with suspected elevated pressure.
If pressure continues to rise, doctors use specialized intravenous solutions that draw fluid out of swollen brain tissue. In life-threatening situations, briefly lowering carbon dioxide levels through controlled breathing can rapidly constrict blood vessels in the brain and bring pressure down as a bridge to other treatments. These acute interventions require intensive care monitoring.
Treatment in Newborns and Young Children
Newborns face a unique set of risks with meningitis because their immune systems are immature and the bacteria involved are often different from those affecting older children and adults. Treatment in this age group uses specific antibiotics chosen for their ability to cross into the brain and spinal fluid effectively, with doses carefully calculated based on the baby’s gestational age and days of life.
Younger and more premature infants receive lower, less frequent doses because their kidneys clear medications more slowly. As babies grow and their organ function matures, doses are adjusted upward and given more frequently. This precise dosing is essential because too little antibiotic fails to reach adequate levels in the brain, while too much risks toxicity in a tiny body.
Protecting Close Contacts
When someone is diagnosed with meningococcal meningitis, one of the most contagious bacterial forms, people in close contact need preventive antibiotics. Close contacts include household members, romantic partners, and anyone who shared prolonged face-to-face exposure or was directly exposed to the patient’s respiratory secretions.
The CDC recommends several first-line options for this preventive treatment: rifampin, ciprofloxacin, ceftriaxone, or azithromycin. The choice depends partly on local resistance patterns. In areas where 20% or more of meningococcal cases involve ciprofloxacin-resistant strains, health departments recommend switching to one of the other options. Prophylaxis is given as soon as possible after the case is identified, because the window for preventing secondary cases is narrow.

