How long could carpet/dust allergy reaction last?

One day to years. If the dust mite exposure is avoided, symptoms may resolve in a few hours without treatment. If there has been significant, prolonged exposure, it may take weeks or months to resolve without treatment. If the mold exposure cannot be avoided, the symptoms will last indefinitely.