A couple of hundred dollars, but the cost of repair will depend on what problems with the O2 sensor have occurred. Broken wire: $100-$200 with an average cost of $145. O2 sensor replacement that takes literally 10 minutes: $200-$300, including parts and labor.