Skip to main content

Is pneumonia contagious?

Pneumonia is swelling (inflammation) of the tissue in one or both lungs. It's usually caused by an infection, most commonly bacteria and viruses, which are both contagious.

Catching pneumonia

The germs that can cause pneumonia are usually breathed in. People often have small amounts of germs in their nose and throat that can be passed on through:

  • coughs and sneezes – these launch tiny droplets of fluid containing germs into the air, which someone else can breathe in
  • touching an object and transferring germs on to it – someone else can touch this object and then touch their own mouth or nose

Preventing the spread of pneumonia

You can help prevent the spread of a pneumonia by taking some simple hygiene precautions.

These include:

  • washing your hands regularly and thoroughly, particularly after touching your nose and mouth, and before handling food
  • using hand sanitiser if soap and water are not available
  • coughing and sneezing into a tissue, then throwing it away immediately and washing your hands
  • not sharing cups or kitchen utensils with others

Vaccination

Pneumococcal vaccine

The pneumococcal vaccine protects against Streptococcus pneumoniae, which is the most common cause of bacterial pneumonia.

Vaccination is recommended for:

  • babies at 12 weeks and 1 year old (on or after their first birthday)
  • adults aged 65 or over
  • children and adults with certain long-term health conditions, such as a serious heart or kidney condition

The pneumococcal vaccine is usually given as part of the routine NHS child vaccination schedule. If you're unsure if you or your child has been given the vaccine, check with your GP.

Flu vaccine

The flu vaccine helps protect against pneumonia caused by flu.

Find out who can have the flu vaccine.

Further information

How long will I be infectious after starting antibiotics?

Page last reviewed: 15 September 2023
Next review due: 15 September 2026