Merck Manual

Please confirm that you are not located inside the Russian Federation

honeypot link

Hospital-Acquired Pneumonia


Sanjay Sethi

, MD, University at Buffalo, Jacobs School of Medicine and Biomedical Sciences

Reviewed/Revised Feb 2024
Topic Resources

Hospital-acquired pneumonia is lung infection that develops in people who have been hospitalized, typically after about 2 days or more of hospitalization.

  • Many bacteria, viruses, and even fungi can cause pneumonia in people who are hospitalized.

  • The most common symptom is a cough that produces sputum, but chest pain, chills, fever, and shortness of breath are also common.

  • Diagnosis is based on a person’s symptoms and the results of x-rays or a computed tomography (CT) scan of the chest.

  • Antibiotic, antiviral, or antifungal medications are used, depending on which organism has most likely caused the pneumonia.

Pneumonia acquired in the hospital is usually more severe than pneumonia acquired in the community Community-Acquired Pneumonia Community-acquired pneumonia is lung infection that develops in people who are not patients in a hospital, usually in people with a normal (competent) immune system, or in those who are immunocompromised... read more because the infecting organisms tend to be more aggressive. They are also less likely to respond to antibiotics (called antibiotic resistance Antibiotic Resistance Antibiotics are drugs used to treat bacterial infections. They are not effective against viral infections and most other infections. Antibiotics either kill bacteria or stop them from reproducing... read more ) and are, therefore, harder to treat. Additionally, people in hospitals tend to be sicker even without pneumonia than those living in the community and therefore are not as able to fight the infection.

Risk Factors for Hospital-Acquired Pneumonia

Organisms that do not normally cause pneumonia in healthy people can cause pneumonia in people who are hospitalized or debilitated because many of these people have an immune system that is less able to resist infection. The most likely organisms depend on what organisms are prevalent in the hospital and sometimes depend on what other illnesses the person has.

Ventilator-associated pneumonia is pneumonia that develops at least 48 hours after being placed on a mechanical breathing machine Mechanical Ventilation Mechanical ventilation is use of a machine to aid the movement of air into and out of the lungs. Some people with respiratory failure need a mechanical ventilator (a machine that helps air get... read more (endotracheal intubation) or within 48 hours of being taken off the breathing machine. Ventilator-associated pneumonia often involves more resistant organisms and poorer outcomes than other forms of hospital-acquired pneumonia.

Causes of Hospital-Acquired Pneumonia

Hospital-acquired pneumonia is most commonly caused by the following bacteria:

MRSA, P. aeruginosa, and other gram-negative intestinal bacteria often are resistant to certain antibiotics.

Viruses and fungi are increasingly being recognized as causes of hospital-acquired pneumonia.

Symptoms of Hospital-Acquired Pneumonia

  • A general feeling of weakness (malaise)

  • Cough that produces sputum (thick or discolored mucus)

  • Shortness of breath

  • Fever

  • Chills

  • Chest pain

Pneumonia acquired in the hospital may be more difficult for doctors to recognize than pneumonia acquired in the community. For example, many people who are in the hospital and develop pneumonia, such as older adults, those with breathing tubes who are receiving mechanical ventilation, those with dementia, and those who are critically ill, may be unable to describe symptoms such as chest pain, shortness of breath, and weakness. In those cases, pneumonia is often suspected on the basis of fever and an increase in the respiratory rate and the heart rate.

Older adults who have pneumonia may also have confusion, loss of appetite, restlessness and agitation, falling, and incontinence (an involuntary loss of urine).

Did You Know...

  • Pneumonia that is acquired in the hospital tends to be far more severe than pneumonia acquired in the community.

Diagnosis of Hospital-Acquired Pneumonia

  • A chest x-ray or chest computed tomography (CT) scan

  • Sometimes blood cultures

  • Sometimes bronchoscopy or thoracentesis

The diagnosis of hospital-acquired pneumonia is based on a person’s symptoms and the results of a chest x-ray or a chest CT scan. Doctors usually take a sample of blood so they can try to grow (culture) the bacteria in the laboratory and identify it.

People who have hospital-acquired pneumonia may be very sick, so doctors may need to identify the organism that is causing pneumonia to determine the best treatment. For these reasons, sometimes doctors do bronchoscopy Bronchoscopy Bronchoscopy is a direct visual examination of the voice box (larynx) and airways through a viewing tube (a bronchoscope). A bronchoscope, a thin viewing tube with a light, has a camera at the... read more Bronchoscopy to obtain specimens from within the lung itself to try to identify the organism. During bronchoscopy, a flexible viewing tube is inserted into the trachea and lungs. Samples of pus, secretions, or even lung tissue can be collected for examination. If no secretions are visible, an area of the lung can be washed with fluid, which can then be retrieved for analysis (a procedure called bronchoalveolar lavage Procedures Done With Bronchoscopy Bronchoscopy is a direct visual examination of the voice box (larynx) and airways through a viewing tube (a bronchoscope). A bronchoscope, a thin viewing tube with a light, has a camera at the... read more Procedures Done With Bronchoscopy ). If fluid has collected in the lining of the lung (called a pleural effusion Pleural Effusion Pleural effusion is the abnormal accumulation of fluid in the pleural space (the area between the two layers of the thin membrane that covers the lungs). Fluid can accumulate in the pleural... read more Pleural Effusion ), doctors may place a needle into the chest to collect this fluid for culture (a procedure called thoracentesis Thoracentesis Thoracentesis is the placement of a needle through the skin into the chest cavity to withdraw a sample of fluid. In thoracentesis, fluid that has collected abnormally in the pleural space (termed... read more ).

Treatment of Hospital-Acquired Pneumonia

  • Antibiotics

Treatment of hospital-acquired pneumonia is with antibiotics that are chosen based on which organisms are most likely to be the cause and the specific risk factors the person has. People who are seriously ill may be placed in an intensive care unit and sometimes put on a ventilator Mechanical Ventilation Mechanical ventilation is use of a machine to aid the movement of air into and out of the lungs. Some people with respiratory failure need a mechanical ventilator (a machine that helps air get... read more . Treatments include intravenous antibiotics, oxygen, and intravenous fluids.

People may be treated with 2 or more antibiotics at the same time.

End-of-life issues in serious pneumonia

Some people with hospital-acquired pneumonia are very ill. Pneumonia is often treated with strong antibiotics and, if needed, a mechanical ventilator. People who are expected to die soon may not wish to receive such aggressive treatment. People with severe or terminal disorders should discuss with their doctors and family members their wishes for treatment Advance Directives Health care advance directives are legal documents that communicate a person’s wishes about health care decisions in the event the person becomes incapable of making health care decisions. There... read more if pneumonia or other serious complications develop during a period of hospitalization.

Prognosis for Hospital-Acquired Pneumonia

Despite receiving excellent treatment, a high percentage of people who develop hospital-acquired pneumonia die. However, death is often related to the underlying health problems that allowed the pneumonia to develop (for example, widespread cancer).

Spotlight on Aging: Pneumonia

Pneumonia occurs more commonly in older adults than in younger adults, and it also tends to be more serious. In many older adults, the infection spreads beyond the lungs.

Older adults have weakened defenses against infection. The mechanisms that clear microorganisms from the airways are not as effective in older adults as they are in younger adults. Weakness may make coughing less vigorous. Aging also weakens the immune system. Older adults at greater risk of developing pneumonia include those

  • Whose lungs have been damaged by smoking (smoking irritates the lining of the lungs and paralyzes the cells that normally sweep and cleanse the airways) or chronic obstructive pulmonary disease

  • Whose lungs have recently been irritated by a mild infection, such as a cold or, especially, influenza

  • Who have a poor cough reflex, for example, resulting from a previous stroke, or who are too weak (or who are in pain from recent surgery or an accident) to cough vigorously

  • Who are less able to fight off infections, including people who are undernourished

  • Who are taking certain medications that weaken the immune system, such as corticosteroids

  • Who have certain diseases, such as heart failure or diabetes

  • Who have cancer in or near the airways of the lungs (the cancer may block the airways and trap any microorganisms that have reached the air sacs)

  • Who are paralyzed (for example, because of a spinal injury or stroke)

  • Who are not fully conscious (they may be unable to cough)

Infection with some of the microorganisms that cause pneumonia can be prevented with vaccinations Vaccines to prevent pneumonia Pneumonia is an infection of the small air sacs of the lungs (alveoli) and the tissues around them. Pneumonia is one of the most common causes of death worldwide. The most common symptom of... read more Vaccines to prevent pneumonia . So doctors recommend that people who are 65 years old or older receive the pneumococcal vaccine Pneumococcal Vaccine Pneumococcal vaccines help protect against bacterial infections caused by Streptococcus pneumoniae (pneumococci). Pneumococcal infections include ear infections, sinusitis, pneumonia... read more . People younger than 65 who have medical conditions that make them at higher risk of developing pneumonia should also receive the vaccine. Doctors also recommend that older adults in particular receive full COVID-19 vaccination COVID-19 Vaccine Coronavirus disease 2019 (COVID-19) vaccines provide protection against COVID-19. COVID-19 is the disease caused by infection with the SARS-CoV-2 virus. There are multiple COVID-19 vaccines... read more and an annual influenza vaccine Influenza Vaccine The influenza virus vaccine helps protect against influenza. Two types of influenza virus, type A and type B, regularly cause seasonal epidemics of influenza in the United States. There are... read more because the influenza virus can also cause or contribute to pneumonia. The vaccine for respiratory syncytial virus is indicated for adults age 60 years or older, based on shared clinical decision-making.

Most older adults who get pneumonia are treated in the hospital with intravenous antibiotics. Pneumonia can cause older adults to get very sick very quickly, and older adults tend to respond less well to oral antibiotics.

Drugs Mentioned In This Article

Generic Name Select Brand Names
Prilosec, Prilosec OTC
Nexium, Nexium 24HR, Nexium 24HR Clear Minis
Heartburn Relief, Prevacid, Prevacid IV , Prevacid Solutab
quiz link

Test your knowledge

Take a Quiz!