Typically, airway irritation due to viral illness will resolve within 8 weeks. Often, the cough persists well after the infection is cleared due to persistent irritation in the airway. The persistence of cough does not necessarily mean that the infection is still present. However if the cough is due to a chronic condition or allergy, it may persist until the allergen is removed or the underlying condition is treated.