The air compressor is the most expensive component of an air conditioner to replace and repair. Several factors influence the cost of repairing or replacing an air compressor. First, because a compressor has numerous moving parts, it can be highly costly to troubleshoot and repair. Also, air compressors do not come in one size fits all. In general, the larger the unit, the more expensive the compressor repair.