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/lung-function-tests/

Lung Function Tests

What are lung function tests?

Lung function tests (also called pulmonary function tests, or PFTs) are a group of tests that check how well your lungs are working. They also help check the health of your airways. Your airways are the parts of your body that carry air to your lungs, including your nose, throat, trachea (windpipe), and bronchial tubes that connect your windpipe to each lung.

There are many types of lung function tests. Most of them involve breathing through a mouthpiece connected to a device that makes different types of measurements. Common examples include:

  • Spirometry. This is the most used lung function test. It measures:
    • How much air you breathe out of your lungs (called tidal volume)
    • How fast you can blow air out of your lungs (called forced vital capacity, or FVC)
  • Lung volume test, also called body plethysmography. This test is the most accurate way to measure:
    • The amount of air your lungs can hold (called your total lung capacity, or TLC)
    • The amount of air that remains in your lungs after you exhale normally (called your functional residual capacity, or FRC)
    • The amount of air that remains in your lungs after you exhale as much as you can (called your residual capacity, or RC)
  • Lung diffusion capacity test. This test measures how well your lungs deliver oxygen to your blood from the air you breathe.
  • Exercise tests. These measure how well your lungs work when you're active. There are different types, including six-minute walking tests and cardiopulmonary (heart and lung) exercise tests (CPET).

Your health care provider may order one or more of these tests, depending on the reason you need to be tested.

Other names: pulmonary function tests, PFTs

What are lung function tests used for?

Your provider may order one or more lung function tests to:

Why do I need a lung function test?

Lung function tests are done for many different reasons. You may need testing if you:

  • Have signs and symptoms of a breathing problem
  • Have a lung condition or another type of condition that could damage your lungs
  • Have been exposed to substances that can cause lung damage, such as asbestos, radiation, or certain medicines
  • Are going to have surgery

Signs and symptoms of a breathing problem may include:

Your provider may also order a lung function test as part of your routine exam, especially if you are at high risk for lung disease. You may be at higher risk if you have conditions such as COPD, asthma, and pulmonary fibrosis.

A lung function test should not be done if you have an active respiratory infection such as a cold or if you've had:

  • A recent heart attack, stroke, or aneurysm of a major blood vessel.
  • A major head injury.
  • Recent eye surgery. This is because lung function tests can increase pressure inside your eyes.

What happens during lung function testing?

There are different ways to do each type of lung function test. But the basic steps are about the same.

For a spirometry test:

  • You'll sit on a chair with a soft clip on your nose. The clip makes sure you breathe only through your mouth.
  • You'll place your lips tightly around a mouthpiece that's connected to a device called a spirometer.
  • You'll be told to take a deep breath in and then blow it out into the mouthpiece as hard as you can.
  • You may be given medicine to inhale (breathe in) that opens your airways. Then you'll blow into the tube again to see if the medicine helps you blow out more air faster.

For a lung volume (body plethysmography) test:

  • You'll sit in a small, airtight room with clear walls. It looks like a telephone booth.
  • You'll wear a soft clip on your nose to make sure you breathe only through your mouth.
  • You'll place your lips tightly around a mouthpiece.
  • You'll be told how to breathe in and out through the mouthpiece.
  • Air pressure changes inside the room will show how much air your lungs can hold and how much air stays in your lungs after you breathe out.

A provider can also perform a lung volume test by having you breathe a special mixture of gases for a few minutes while wearing a clip on your nose. For this test, you do not need to sit in an airtight room.

For a gas diffusion test:

  • You'll sit on a chair with a soft clip on your nose. The clip makes sure you breathe only through your mouth.
  • You'll place your lips tightly around a mouthpiece that's connected to a spirometer.
  • You will be asked to breathe in a very small, safe amount of carbon monoxide gas. Then you'll hold your breath for about 10 seconds.
  • Next, you'll breathe out through the mouthpiece. The spirometer will measure the amount of carbon dioxide you exhale. This shows how much of the gas your lungs were able to absorb and move into your blood.

In addition to the lung function tests, your provider may also order an exercise test, such as a six-minute walk test or a cardiopulmonary exercise test (CPET).

For a six-minute walk test:

  • Your blood pressure will be measured, and you'll be asked to rate any shortness of breath and fatigue.
  • You'll walk as far as possible in six minutes, usually in a hallway.
  • Your heart rate and the amount of oxygen in your blood will be checked as you walk.
  • After six minutes, your blood pressure will be measured again, and you'll rate your shortness of breath and fatigue.
  • If you normally use portable oxygen for a lung condition, you'll be able to use it during this test.

For a cardiopulmonary exercise test (CPET):

  • You'll be attached to monitors and machines that will measure your breathing, heart rate, blood pressure, and blood oxygen levels while you exercise.
  • You'll breathe through a face mask or mouthpiece connected to a monitor. It measures how much oxygen you breathe in and how much carbon dioxide you breathe out.
  • You'll exercise on a stationary bicycle or treadmill for 10 to 20 minutes. At first, the bike or treadmill will be set to the easiest level. You'll then slowly increase your effort until you feel you can't continue. On a bicycle, the resistance will increase, so it's harder to pedal. On a treadmill, the speed will increase, and the platform may tilt so you feel like you're walking uphill.
  • As you exercise, you'll be asked to rate how you're feeling. If you have symptoms, such as shortness of breath or tightness in your chest, the test will stop.
  • The bike or treadmill will return to the easiest level while you keep pedaling or walking to cool down.

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

Your provider will let you know how to prepare for your lung function test. To make sure your test results are accurate, follow the instructions you're given. In general:

  • Wear loose, comfortable clothing.
  • Don't eat a large meal within at least two hours of the test.
  • You may need to avoid certain activities or foods and beverages before your test. Your provider will tell you for how long. These include:
    • Heavy exercise
    • Smoking
    • Drinking alcohol
    • Drinking or eating products with caffeine, such as coffee, colas, and chocolate
  • If you use inhaler medicines (bronchodilators), you may need to stop for a period of time before testing. Your provider will tell you when to stop. But never stop taking any medicine without talking with your provider first.
  • If you wear dentures, wear them for the test. They'll help you close your lips tightly around the mouthpiece.

Are there any risks to the tests?

There is very little risk to having a lung function test. Some people may feel lightheaded, dizzy, or tired from breathing hard. It's also common to cough. Some people may feel nervous being in a small space for a lung volume test. If you have concerns about your test, talk with your provider.

What do the results mean?

A normal lung function test result for you depends on the size of your lungs. Your lung size is based on your height, sex, and age. So, your provider will compare your test results to results from healthy people who are the same height, age, and sex as you. This comparison is sometimes called a “z-score.” The further this score is from the average, the more likely it is that you may have difficulties with your lungs.

If your results aren't normal, it may mean you have a lung condition. Lung function tests can't diagnose which specific lung disease you have. But your test results can tell which of the two main types you have:

  • Obstructive lung conditions cause your airways to become narrow, making it hard for air to flow out of your lungs. Examples of obstructive lung diseases include asthma, bronchitis, and emphysema.
  • Restrictive lung conditions decrease the amount of air your lungs can hold. This may happen if your lungs or your chest muscles can't expand fully when you breathe in. Examples of restrictive lung conditions include scleroderma, sarcoidosis, pulmonary fibrosis, and interstitial lung diseases.

If you have questions about your results, talk with your provider.

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

Is there anything else I need to know about lung function tests?

If you need one or more lung function tests, your provider may also order a blood oxygen level test called an arterial blood gas (ABG) test. This blood test measures the amount of oxygen and carbon dioxide in your blood.

References

  1. American Lung Association [Internet]. Chicago: American Lung Association; c.2026. Pulmonary Function Tests; [updated 2026 Mar 23; cited 2026 Oct 1]; [about 7 screens]. Available from: https://www.lung.org/lung-health-and-diseases/lung-procedures-and-tests/lung-function-tests.html
  2. American Lung Association [Internet]. Chicago: American Lung Association; c2026. Spirometry; [updated 2024 Nov 20; cited 2026 Oct 1]; [about 3 screens]. Available from: https://www.lung.org/lung-health-and-diseases/lung-procedures-and-tests/spirometry.html
  3. ATS: American Thoracic Society [Internet]. New York: American Thoracic Society; c1998–2026. Patient Resources: Pulmonary Function Tests; [updated 2024 Mar; cited 2026 Oct 1]; [about 8 screens]. Available from: https://site.thoracic.org/advocacy-patients/patient-resources/pulmonary-function-tests
  4. Cleveland Clinic: Health Library: Diagnostics & Testing [Internet]. Cleveland (OH): Cleveland Clinic; c2026. Body Plethysmography (Pulmonary Function Test); [reviewed 2022 Dec 18; cited 2026 Oct 1]; [about 5 screens]. Available from: https://my.clevelandclinic.org/health/diagnostics/15467-body-plethysmography-pulmonary-function-test
  5. Cleveland Clinic: Health Library: Diagnostics & Testing [Internet]. Cleveland (OH): Cleveland Clinic; c2026. Pulmonary Function Testing; [reviewed 2026 Jul 28; cited 2026 Oct 1]; [about 5 screens]. Available from: https://my.clevelandclinic.org/health/diagnostics/17966-pulmonary-function-testing
  6. Johns Hopkins Medicine [Internet]. The Johns Hopkins University, The Johns Hopkins Hospital, and John Hopkins Health System; c2026. Pulmonary Function Tests; [cited 2026 Oct 1]; [about 5 screens]. Available from: https://www.hopkinsmedicine.org/health/treatment-tests-and-therapies/pulmonary-function-tests
  7. National Heart, Lung, and Blood Institute [Internet]. Bethesda (MD): U.S. Department of Health and Human Services; Pulmonary Function Tests; [cited 2026 Oct 1]; [about 12 screens]. Available from: https://www.nhlbi.nih.gov/science/pulmonary-function-lab/tests
  8. National Heart, Lung, and Blood Institute [Internet]. Bethesda (MD): U.S. Department of Health and Human Services; Tests for Lung Diseases; [updated 2024 Oct 4; cited 2026 Oct 1]; [about 9 screens]. Available from: https://www.nhlbi.nih.gov/health/lung-tests
  9. Nemours KidsHealth [Internet]. Jacksonville (FL): The Nemours Foundation; c1995-2026. Blood; [cited 2026 Oct 1]; [about 7 screens]. Available from: https://kidshealth.org/en/parents/blood.html
  10. Ponce MC, Sankari A, Sharma S. Pulmonary Function Tests. [Updated 2023 Aug 28; cited 2026 Oct 1]. In: StatPearls [Internet]. Treasure Island (FL): StatPearls Publishing; 2026 Jan-. Available from: https://www.ncbi.nlm.nih.gov/books/NBK482339/
  11. Testing.com [Internet]. Seattle (WA).: OneCare Media; c2026. Pulmonary Function Testing; [updated 2021 Dec 3; cited 2026 Oct 2]; [about 13 screens]. Available from: https://www.testing.com/pulmonary-testing/

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.