Replace flooring when it’s badly damaged, stained, or clearly outdated in a way that turns buyers off, especially in main living areas. If floors are worn but still serviceable, a deep clean, professional carpet cleaning, or refinishing hardwood may give plenty of impact without a full replacement.