A nasopharyngeal swab is a specimen collection tool used to collect a sample of cells from the nasopharynx (upper throat).
If the patient has an upper respiratory tract infection, the doctor may use a cotton swab to collect a sample for testing, especially if the patient still has a fever.