What the pneumonia vaccine does

The pneumonia vaccine protects against serious infections caused by the bacterium Streptococcus pneumoniae. This bacterium can cause pneumonia (lung infection), meningitis (brain infection), and bloodstream infections. The vaccine trains your immune system to recognize and fight this bacterium before you encounter it naturally.

There are two main pneumonia vaccines available in the United States: PCV20 (Pneumovax 20) and PPSV23 (Pneumovax 23). PCV20 is newer and protects against 20 strains of the bacterium. PPSV23 protects against 23 strains. Your doctor will recommend which vaccine or combination of vaccines fits your age and health situation.

The vaccine does not prevent all pneumonia—other bacteria and viruses cause pneumonia too. But it prevents the most common bacterial pneumonia and the strains most likely to cause severe disease.

Key Takeaways

  • The pneumonia vaccine protects against Streptococcus pneumoniae, a bacterium that causes serious lung, brain, and blood infections.
  • Two vaccines are available: PCV20 (newer, 20 strains) and PPSV23 (23 strains), and your age and health determine which one you need.
  • Adults 65 and older should receive at least one pneumonia vaccine; younger adults with certain health conditions may also need it.
  • The vaccine is given as a single shot and side effects are usually mild—arm soreness, low fever, or fatigue for a day or two.

Who should get the pneumonia vaccine

The CDC recommends pneumonia vaccination for all adults 65 and older. If you are younger than 65, you may still need the vaccine if you have chronic lung disease, heart disease, diabetes, liver disease, or a weakened immune system from HIV, cancer treatment, or certain medications.

People who smoke or have asthma should also receive the vaccine. If you have had your spleen removed or have sickle cell disease, pneumonia vaccination is important because these conditions weaken your ability to fight this particular infection.

If you are unsure whether you need the vaccine, your doctor can review your medical history and tell you whether it is recommended for you. Having received a pneumonia vaccine years ago does not mean you do not need one now—vaccine recommendations have changed, and immunity can fade.

How the two vaccines differ

PCV20 is a conjugate vaccine, meaning the bacterial coating is chemically linked to a protein that helps your immune system respond more strongly. It was approved by the FDA in 2021 and covers 20 strains. For most adults 65 and older with no chronic conditions, PCV20 alone may be sufficient protection.

PPSV23 is a polysaccharide vaccine—it contains pieces of the bacterial coating without the protein link. It covers 23 strains, including some that PCV20 does not. Many adults benefit from receiving both vaccines at different times, because together they provide broader coverage. The timing matters: if you receive both, your doctor will space them apart, usually by at least one year.

Your doctor will recommend the right sequence based on whether you have received pneumonia vaccines before, your age, and your health conditions. If you have never had a pneumonia vaccine, the recommendation may be PCV20 alone, or PCV20 followed by PPSV23 later.

How the vaccine is given and what to expect

The pneumonia vaccine is a single injection, usually given in the upper arm. You do not need to fast or prepare in any special way. The shot itself takes seconds.

Common side effects are mild and temporary. Your arm may be sore, red, or swollen where the needle went in. Some people develop a low fever, fatigue, or muscle aches for a day or two. These reactions mean your immune system is responding to the vaccine—they are not signs of infection. Over-the-counter pain relievers like acetaminophen or ibuprofen can help if you are uncomfortable.

Serious side effects are rare. Severe allergic reactions occur in fewer than one person per million doses. If you have had a severe allergic reaction to any ingredient in the vaccine, tell your doctor before the shot.

How long the vaccine protects you

Protection from PCV20 appears to last many years, though researchers are still gathering long-term data since the vaccine is relatively new. PPSV23 protection tends to decline over time, which is why some people need a second dose years later.

Your doctor may recommend a booster dose of PPSV23 if you are 65 or older and received it more than five years ago, or if your health situation has changed—for example, if you develop a condition that weakens your immune system. The timing depends on your specific circumstances.

Protection is not absolute. Even vaccinated people can develop pneumonia from Streptococcus pneumoniae, but the infection is usually milder and less likely to be life-threatening. Vaccination is most effective when you are healthy; if your immune system is severely weakened, the vaccine may not work as well.

Pneumonia vaccine and other vaccines

You can receive the pneumonia vaccine at the same time as other vaccines, such as the flu shot or COVID-19 vaccine. If you do, they are given as separate injections in different arms. There is no medical reason to space them apart.

If you are planning to receive a live vaccine (such as shingles vaccine), check with your doctor about timing. Most people do not need to worry about this, but if your immune system is severely weakened, the order may matter.

Frequently Asked Questions

Do I need the pneumonia vaccine if I had pneumonia before?

Yes. Having pneumonia once does not mean you cannot get it again, and it does not provide lasting immunity. The vaccine is still recommended based on your age and health, not on whether you have had pneumonia in the past.

Can I get the pneumonia vaccine if I am pregnant?

PPSV23 can be given during pregnancy if you are at high risk for pneumococcal disease. PCV20 has not been studied extensively in pregnant people, so doctors usually recommend waiting until after pregnancy unless there is a specific medical reason. Talk to your obstetrician about your individual situation.

What if I am allergic to eggs or gelatin?

The pneumonia vaccines do not contain eggs. PPSV23 does not contain gelatin, but PCV20 may contain a small amount. If you have a severe gelatin allergy, tell your doctor before receiving PCV20. Most people with mild gelatin allergies can safely receive the vaccine.

How much does the pneumonia vaccine cost?

Cost varies by where you receive the vaccine and your insurance coverage. Medicare covers pneumonia vaccination for adults 65 and older at no cost. Many private insurance plans cover it as well. Community health centers and pharmacies can tell you the cost if you are uninsured.

Can I get pneumonia even after being vaccinated?

Yes, but it is less likely and usually less severe. The vaccine prevents infection in about 50 to 85 percent of vaccinated people, depending on the strain and your age. Vaccination also reduces the risk of serious complications like hospitalization and death.