The duration of a mucus cough can vary but typically lasts for 7 to 10 days. However, in some cases, a cough may persist for several weeks, particularly if it is associated with an underlying condition such as asthma or pneumonia.