The pneumonia shot is a vaccine that helps protect you against pneumococcal disease, or diseases caused by bacteria known as Streptococcus pneumoniae. The vaccine can help protect you from pneumococcal disease for many years.

One of the most common causes of pneumonia is infection of the lungs with the bacteria Streptococcus pneumoniae.

These bacteria mainly affect your lungs and can cause sometimes life-threatening infections in other parts of your body, too, including the bloodstream (bacteremia), or brain and spine (meningitis).

The pneumonia shot is especially recommended if you fall into one of these age groups:

Younger than 2 years old: four shots (at 2 months, 4 months, 6 months, and then a booster between 12 and 15 months)
65 years old or older: two shots, which will last you the rest of your life
Between 2 and 64 years old: between one and three shots if you have certain immune system disorders or if you’re a smoker
Pneumococcal disease is common among babies and toddlers, so make sure your young child is vaccinated. But older adults are more at riskTrusted Source of having life-threatening complications from a pneumonia infection, so it’s also important to start getting vaccinated around age 65.

Source