Typically, it can take up to 24 hours. Airflow is what dries carpets. If it’s cold outside, turn the furnace on and fans if you have them. If it’s hot outside, open windows and let the air blow through. Avoid turning on fireplaces since fireplaces tend to create humidity rather than the converse.