Before a pulmonary function test (PFT), you need to avoid smoking, vigorous exercise, heavy meals, alcohol, and certain medications, all within specific timeframes. Getting any of these wrong can skew your results and potentially lead to a repeat visit. Here’s exactly what to skip and when.
Smoking and Vaping
Do not smoke, vape, or use a water pipe within at least one hour before your test. Inhaling smoke or vapor can trigger acute bronchoconstriction, temporarily narrowing your airways and making your lung function appear worse than it actually is. If you can avoid smoking for longer than an hour, even better, but one hour is the minimum set by the 2019 ATS/ERS standardization guidelines.
Inhaler and Bronchodilator Medications
This is where preparation gets specific, because different inhalers need to be stopped at different times before your test. Whether you need to stop them at all depends on why you’re being tested. If your doctor is trying to diagnose a new lung condition, withholding bronchodilators gives a clearer picture of your baseline lung function. If the test is meant to check how well your current treatment is working, you may be told to take your medications as usual.
Your doctor’s office should tell you which medications to hold when they schedule your appointment. If they don’t, call and ask. The general withholding windows are:
- Short-acting rescue inhalers (like albuterol): 4 to 6 hours
- Short-acting anticholinergic inhalers (like ipratropium): 12 hours
- Long-acting beta-agonist inhalers (like formoterol or salmeterol): 24 hours
- Ultra-long-acting beta-agonist inhalers (like indacaterol or vilanterol): 36 hours
- Long-acting anticholinergic inhalers (like tiotropium): 36 to 48 hours
Inhaled corticosteroids (the “controller” inhalers that reduce inflammation) and leukotriene modifiers generally do not need to be withheld for standard spirometry. However, if you’re scheduled for a methacholine challenge test, which checks for airway hyperreactivity, the rules are stricter. Your doctor may ask you to stop inhaled corticosteroids and leukotriene modifiers up to four weeks beforehand, and long-acting anticholinergic inhalers need to be held for a full week rather than just a couple of days.
Alcohol and Intoxicants
Avoid alcohol and any intoxicating substances for at least 8 hours before testing. This isn’t about a chemical interaction with the equipment. PFTs require you to follow precise breathing instructions, blow as hard and fast as you can, and hold your breath at specific moments. Alcohol impairs the coordination, comprehension, and physical effort needed to perform these maneuvers correctly. Even mild impairment can produce unreliable results.
Vigorous Exercise
Skip intense workouts for at least one hour before your test. Hard exercise can trigger exercise-induced bronchoconstriction, a temporary narrowing of the airways that would make your results look worse than your usual baseline. A casual walk to the testing center is fine, but running, cycling, heavy lifting, or anything that leaves you breathing hard should be avoided.
Large Meals and Caffeine
A full stomach pushes up against your diaphragm and limits how deeply you can inhale, which directly affects your measured lung volumes. Eat lightly before your test or, if your appointment allows it, wait to eat until afterward. Most labs recommend avoiding a large meal within two hours of testing.
Caffeine is an interesting case. For standard spirometry, there is no strict rule against it, but caffeine is a mild bronchodilator and could slightly open your airways. For methacholine challenge testing specifically, research from StatPearls notes that caffeine and caffeine-related products (including chocolate) do not significantly affect those results. Still, if your testing center tells you to skip your morning coffee, follow their instructions.
Clothing That Restricts Breathing
Wear loose, comfortable clothing. Tight belts, compression garments, shapewear, snug waistbands, and restrictive bras can all limit how far your chest and abdomen expand during a full breath. The NIH specifically advises against wearing anything that makes it difficult to take a deep breath. If you arrive in something restrictive, you’ll likely be asked to loosen it before testing begins.
Supplemental Oxygen
If you use supplemental oxygen, it typically needs to be turned off for at least 10 minutes before a nitrogen washout test, one of the methods used to measure how much air stays in your lungs after a normal exhale. Breathing extra oxygen right before this particular test throws off the nitrogen calculations and can underestimate your lung volume. Your technician will guide you through this, but be prepared for a brief period without your oxygen during the test.
Dentures
This one surprises people: keep your dentures in. PFTs require you to seal your lips tightly around a mouthpiece, and dentures actually help maintain the shape and firmness of your mouth for a good seal. Removing them can cause air leaks around the mouthpiece, producing falsely low readings.
Recent Surgeries and Medical Events
Certain medical situations mean your test should be postponed entirely. PFTs require forceful breathing that significantly increases pressure in your chest, abdomen, and head. Performing these maneuvers too soon after surgery or a cardiovascular event can be dangerous.
You should not undergo a PFT if you’ve recently had chest or abdominal surgery, brain surgery, eye surgery, or ear surgery until your surgeon clears you. After a heart attack or acute coronary event, the recommendation is to wait at least one month. If you’ve had a stroke within the past three months, bronchial provocation testing (like a methacholine challenge) is off the table. Other situations that require medical clearance first include a current pneumothorax (collapsed lung), active coughing up of blood, pulmonary embolism, an ascending aortic aneurysm, or severely uncontrolled blood pressure above 200/120.
If any of these apply to you, let your doctor’s office know before your appointment rather than showing up and having the test canceled on the spot.
Quick Reference Timeline
Working backward from your appointment time, here’s what to stop and when:
- 36 to 48 hours before: Long-acting anticholinergic inhalers (if instructed)
- 24 to 36 hours before: Long-acting beta-agonist inhalers (if instructed)
- 12 hours before: Short-acting anticholinergic inhalers (if instructed)
- 8 hours before: Alcohol and intoxicants
- 4 to 6 hours before: Short-acting rescue inhalers (if instructed)
- 2 hours before: Large meals
- 1 hour before: Smoking, vaping, and vigorous exercise
When you arrive, the technician will ask about all of these items and note any deviations. Being upfront about what you did or didn’t follow helps them interpret your results accurately, so don’t skip the test just because you forgot one step. Let them know and they’ll decide whether to proceed or reschedule.

