A faulty oxygen sensor will cause you to fail an emissions test. A brand new replacement oxygen sensor can cost you from $20 to $100, depending on the make and year of your car. Taking your car to a mechanic to fix the issue can cost up to $200. Though, this depends on the type of car and the rates of the mechanic.