The cost to repair an HVAC system can range from $100 to $1,500, depending on the nature and severity of the issue. Common repairs include fixing refrigerant leaks, replacing capacitors, or addressing faulty thermostats. Replacing an entire HVAC system can cost anywhere between $3,000 and $7,000, with high-efficiency models potentially costing more. Factors influencing these costs include the size and type of the system (central air, ductless, etc.), labor rates in your area, the complexity of the installation, and any additional enhancements, such as improved ductwork or advanced air filtration systems.