Skip navigation

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

URL of this page: https://medlineplus.gov/lab-tests/legionella-tests/

Legionella Tests

What are Legionella tests?

Legionella is a type of bacteria. When it affects your lungs, it can cause a severe form of pneumonia known as Legionnaires' disease. Legionella tests look for these bacteria in urine, sputum, or in some cases in lung tissue. A blood test may be done to check if you have been exposed to the bacteria, but it cannot diagnose a Legionella infection.

Legionnaires' disease has similar symptoms to some types of pneumonia, but it can also cause diarrhea and confusion. Legionella bacteria can also cause Pontiac fever, a milder, flu-like illness that doesn't infect your lungs. Together, Legionnaires' disease and Pontiac fever are known as legionellosis.

Legionella bacteria are found naturally in freshwater environments. But the bacteria can make people sick when it grows and spreads in man-made water systems. These types of systems include plumbing systems of large buildings, including hotels, hospitals, nursing homes, and cruise ships. The bacteria may then contaminate water sources, such as hot tubs, fountains, and air-conditioning systems.

Legionellosis infections happen when people breathe in mist or small drops of water that contain the bacteria. You usually can't get the infection through drinking the water, unless you aspirate it (accidentally breathe the water into your lungs). The bacteria do not spread from person to person. But there can be a disease outbreak if many people are exposed to the same contaminated water source.

Not everyone who is exposed to Legionella bacteria will get sick. You are more likely to develop an infection if you:

  • Are over the age of 50
  • Are a current or former smoker
  • Have a chronic disease such as diabetes or kidney failure
  • Have a chronic lung disease such as COPD or emphysema
  • Have a weakened immune system due to a disease such as HIV or cancer, or are taking medicines that suppress the immune system
  • Live in a long-term care facility
  • Have recently stayed in a hospital or had surgery requiring anesthesia

Pontiac fever usually clears up on its own, but Legionnaires' disease can be fatal if not treated. Most people will recover if promptly treated with antibiotics.

Other names: Legionnaires' disease testing, Legionellosis testing, Legionella pneumophila

What are they used for?

Legionella tests are used to find out whether you have Legionnaires' disease. Other lung diseases have symptoms similar to Legionnaires' disease. It's important to get the right diagnosis and treatment to help prevent life-threatening complications.

Why do I need a Legionella test?

You may need this test if you have symptoms of Legionnaires' disease. Symptoms usually show up two to 14 days after exposure to Legionella bacteria and may include:

What happens during a Legionella test?

Legionella tests are usually done using urine (pee) and/or sputum. Many providers will test both urine and sputum samples to confirm a diagnosis. A blood test may be done to see if you have been exposed to the bacteria.

During a clean catch urine test:

You will need to give a urine sample for the test. A health care professional may give you a cleansing wipe, a small container, and instructions for how to use the "clean catch" method to collect your urine sample. It's important to follow these instructions so that germs from your skin don't get into the sample:

  • Wash your hands with soap and water and dry them.
  • Open the container without touching the inside.
  • Clean your genital area with the cleansing wipe:
    • For a penis, wipe the entire head (end) of the penis. If you have a foreskin, pull it back first.
    • For a vagina, separate the labia (the folds of skin around the vagina) and wipe the inner sides from front to back.
  • Urinate into the toilet for a few seconds and then stop the flow. Start urinating again, this time into the container. Don't let the container touch your body.
  • Collect at least an ounce or two of urine into the container. The container should have markings to show how much urine is needed.
  • Finish urinating into the toilet.
  • Put the cap on the container and return it as instructed.

If you have hemorrhoids that bleed or are having your menstrual period, tell your provider before your test.

During a sputum test:

Sputum is a thick type of mucus made in your lungs. If you have an infection or chronic illness affecting the lungs or airways, sputum can settle in your lungs, and you can also cough it up. During the sputum test:

  • You may be asked to rinse your mouth with water before the sample is taken.
  • Your provider will ask you to breathe deeply and then cough deeply into a special cup.
  • Your provider may tap you on the chest to help loosen sputum from your lungs.
  • If you have trouble coughing up enough sputum, your provider may ask you to breathe in a salty mist to help you cough more deeply.

If you can't produce enough sputum even after breathing in a salty mist, your provider may order a bronchoscopy (a procedure that's used to check for the cause of a lung problem).

In some cases, your provider may also order a bronchoalveolar lavage (BAL). This is a procedure that can be done during a bronchoscopy. A bronchoalveolar lavage collects a sample from your lungs and checks it for Legionella bacteria. A provider may do this if:

  • You have a severe respiratory disease.
  • You aren't improving from treatment for Legionnaires' disease.
  • Your provider is unable to determine the type of infection without a sample directly from your lungs.

During a bronchoscopy:

  • You may need to remove some or all of your clothing. If so, you will be given a hospital gown.
  • You may also need to remove dentures and any removable dental appliances.
  • You will lie on a bed or table with your head raised.
  • You may get medicine (sedative) to help you relax. The medicine will be injected into a vein or given through an IV (intravenous) line placed in your arm or hand.
  • Your provider will spray a numbing medicine in your mouth and throat so you won't feel any pain during the procedure.
  • Your provider will insert the bronchoscope (a thin, lighted tube with a camera attached) down your throat and into your airways. The camera will take photos and connect to a video screen.
  • As the bronchoscope is moved down, your provider can look into your airways and lungs through the bronchoscope and on the video screen.

For a BAL:

  • Your provider will put a small amount of saline through the bronchoscope.
  • After washing the airways, the saline is sucked up into the bronchoscope.
  • The saline solution will contain cells and other substances, such as Legionella bacteria, which will be taken to a lab for testing.

During a blood test:

A health care professional will take a blood sample from a vein in your arm, using a small needle. After the needle is inserted, a small amount of blood will be collected into a test tube or vial. You may feel a little sting when the needle goes in or out. This usually takes less than five minutes.

Will I need to do anything to prepare for the test?

You don't need any special preparations for a Legionella urine test.

Because a sputum culture is often scheduled in the morning, your provider may encourage you to drink more water the night prior. This is because drinking more water can increase the amount of sputum. You may also be asked not to eat for one or two hours before the test.

If you get a BAL and/or bronchoscopy, you may be asked to fast (not eat or drink) for up to twelve hours before the test.

You may also need to stop taking certain medicines before a sputum culture and a BAL/bronchoscopy. So, tell your provider about everything you take. Antibiotics may affect bacterial growth and your results, especially those of a sputum culture. But don't stop taking any medicines unless your provider tells you to.

Are there any risks to the test?

There is no risk to providing a urine or sputum sample. There is very little risk to having a blood test. You may have slight pain or bruising at the spot where the needle was put in, but most symptoms go away quickly.

There is very little risk to having a bronchoscopy or a BAL. Serious complications are rare, but they may include bleeding in the airways, infection, or a pneumothorax (collapse of part of your lung).

What do the results mean?

If your results were positive, it probably means you have Legionnaires' disease.

If your results were negative, it may mean you have a different type of infection. It may also mean not enough Legionella bacteria were found in your sample.

If you have questions about your results, talk to your provider. Your provider may consider your symptoms, medical history, and the results of other tests to understand the results of your Legionella test.

Learn more about laboratory tests, reference ranges, and understanding results.

Is there anything else I need to know about Legionella tests?

Whether your results were positive or negative, your provider may do other tests to confirm or rule out a diagnosis of Legionnaires' disease. These include:

If you have Legionnaires' disease, you may have symptoms such as fatigue and muscle aches for several months after treatment. If there's an outbreak of Legionnaires' disease in a building where you work or live, ask your provider if you need to do anything to reduce your risk of infection.

Legionnaires' disease got its name in 1976 after a group of people attending an American Legion convention became ill with pneumonia.

References

  1. American Lung Association [Internet]. Chicago: American Lung Association; c2025. Learn About Legionnaires' Disease; [updated 2024 Oct 30; cited 2025 Sep 9]; [about 2 screens]. Available from: https://www.lung.org/lung-health-diseases/lung-disease-lookup/legionnaires-disease/learn-about-legionnaires-disease
  2. Bai L, Yang W, Li Y. Clinical and Laboratory Diagnosis of Legionella Pneumonia. Diagnostics (Basel). 2023 Jan 12 [cited 2025 Sep 9];13(2):280. doi: 10.3390/diagnostics13020280. PMID: 36673091; PMCID: PMC9858276. Available from: https://pmc.ncbi.nlm.nih.gov/articles/PMC9858276/
  3. Centers for Disease Control and Prevention [Internet]. Atlanta: U.S. Department of Health and Human Services; How Legionella Spreads; [updated 2025 Jun 9; cited 2025 Sep 9]; [about 4 screens]. Available from: https://www.cdc.gov/legionella/causes/
  4. Centers for Disease Control and Prevention [Internet]. Atlanta: U.S. Department of Health and Human Services; About Legionnaires' Disease; [updated 2025 Aug 6; cited 2025 Sep 9]; [about 3 screens]. Available from: https://www.cdc.gov/legionella/about/
  5. Cleveland Clinic [Internet]. Cleveland (OH): Cleveland Clinic; c2025. Legionnaires' Disease: Overview; [reviewed 2022 Jul 27; cited 2025 Sep 9]; [about 15 screens]. Available from: https://my.clevelandclinic.org/health/diseases/17750-legionnaires-disease
  6. Cleveland Clinic [Internet]. Cleveland (OH): Cleveland Clinic; c2025. Urine Culture [reviewed 2024 Jul 10; cited 2025 Sep 9]; [about 10 screens]. Available from: https://my.clevelandclinic.org/health/diagnostics/22126-urine-culture
  7. Labcorp [Internet]. Burlington (NC): Laboratory Corporation of America(r) Holdings; c2025. Patient Test Information: Legionella pneumophila Antibody; [cited 2025 Sep 9]; [about 3 screens]. Available from: https://www.labcorp.com/tests/164616/i-legionella-pneumophila-i-antibody
  8. Mayo Clinic [Internet]. Mayo Foundation for Medical Education and Research; c1998-2025. Legionnaires' Disease: Diagnosis and treatment; 2025 Apr 19 [cited 2025 Sep 9]; [about 11 screens]. Available from: https://www.mayoclinic.org/diseases-conditions/legionnaires-disease/diagnosis-treatment/drc-20351753
  9. Mayo Clinic [Internet]. Mayo Foundation for Medical Education and Research; c1998-2025. Legionnaires' Disease: Symptoms and causes; 2025 Apr 19 [cited 2025 Sep 9]; [about 15 screens]. Available from: https://www.mayoclinic.org/diseases-conditions/legionnaires-disease/symptoms-causes/syc-20351747
  10. Pierre DM, Baron J, Yu VL, Stout JE. Diagnostic testing for Legionnaires' disease. Ann Clin Microbiol Antimicrob. 2017 Aug 29;16(1):59. [cited 2025 Sep 9]; [about 12 screens]. doi: 10.1186/s12941-017-0229-6. PMID: 28851372; PMCID: PMC5576257. Available from: https://pmc.ncbi.nlm.nih.gov/articles/PMC5576257/
  11. Testing.com [Internet]. Seattle (WA): OneCare Media; c2025. Legionella Testing; [modified 2021 Nov 9; cited 2025 Sep 9]; [about 16 screens]. Available from: https://www.testing.com/tests/legionella-testing/
  12. Testing.com [Internet]. Seattle (WA): OneCare Media; c2025. Sputum Culture, Bacterial; [modified 2020 Jan 14; cited 2025 Sep 9]; [about 27 screens]. Available from: https://www.testing.com/tests/sputum-culture-bacterial/

The information on this site should not be used as a substitute for professional medical care or advice. Contact a health care provider if you have questions about your health.