No, spirometry is a non-invasive and painless test. It involves breathing into a tube connected to a spirometer. It may feel uncomfortable to exhale forcefully, but it should not be painful.