Spirometry is generally considered safe. However, in rare cases, it may cause dizziness, shortness of breath, or fainting, particularly if you have severe lung disease. It's essential to perform spirometry under the guidance of a trained healthcare professional who can monitor your condition and respond to any adverse reactions.