Heating and air conditioning systems usually last around 15 years.
Air conditioners,
ductless mini splits,
furnaces, heat pumps, fan coils, and package units are more energy-efficient than previous models, so if you have an older unit, it is worth taking a look at whether or not a repair is the best investment. You could recoup your investment in a new system in 3 years or less.