It is often recommended to replace both the indoor and outdoor units during AC installation. This ensures compatibility, optimal performance, and maximizes energy efficiency. However, a professional assessment can determine if replacing both units is necessary in your specific case.