Most cough clears up within 3 weeks. A cough from viral or complicated infection like pneumonia or bronchitis may last upto 2 months before getting better.