Kia Optima Oxygen Sensor Replacement DIY
Does your Kia Optima engine have a rough idle, and the check engine light is on due to a faulty oxygen sensor? Learn how to fix the problem by replacing your vehicle’s oxygen sensor. This guide is step-by-step instructions on how to replace the O2 sensor on a 2016 to 2020 Kia Optima.
At a Glance
- Vehicles: 2016 to 2020 Kia Optima
- Parts: Upstream (Bank 1 Sensor 1) or downstream (Bank 1 Sensor 2) O2 sensor
- Tools: O2 sensor socket, wrench, jack and jack stands
- Difficulty: Easy to moderate
- Time: 30 to 60 minutes
- Common codes: P0130 to P0141 point to O2 sensor circuits
The steps cover both the upstream sensor (Bank 1 Sensor 1) and the downstream sensor (Bank 1 Sensor 2). A warm (not hot) engine and a little penetrating oil make stubborn sensors easier to break loose.
What you will need
- O2 Sensor (Kia Optima)
- O2 sensor socket
- Wrench
Procedure
- Open the hood, pull the hood release under the dashboard, and go into the vehicle.
Then unlock the hood latch and pull the hood up.
- Locate the O2 sensor (Bank 1 Sensor 1) at the top of the exhaust manifold.
- Remove the O2 sensor on the top using a socket designed to loosen the O2 sensor.

- Follow the cable of the O2 sensor above and disconnect the clip by pushing it and pulling it out.
- To locate the lower O2 sensor (Bank 1 Sensor 2), Jack up the vehicle and support the vehicle with jack stands.

- Go under the vehicle and locate the O2 sensor behind the engine.

- Remove it using a wrench, follow the cable and disconnect the connector.
It is not necessary to replace both oxygen sensors at the same time. While replacing both sensors simultaneously is recommended, replacing only the faulty O2 sensor is acceptable.
🔧 Find out what is actually wrong before you pay someone to guess
Dealer level diagnostics at home with the YOUCANIC UCAN-II Pro.
- ✔ Covers most makes and models, including many luxury brands. Send us your VIN and we will confirm your car before you order
- ✔ Reads every module, not just the engine, so you find the faults a basic reader says are not there
- ✔ Commands the car: test a fan or pump, bleed ABS, retract an electronic parking brake, register a battery
- ✔ No subscriptions. Free lifetime updates, so the price you pay is the whole price
- ✔ Backed by real mechanics in the USA you can email before and after you buy
Featured in The Wall Street Journal
Install the New O2 Sensor
- Check that the new sensor matches the old one (upstream and downstream sensors are different parts).
- If the threads are not pre-coated, apply a small amount of sensor-safe anti-seize to the threads only. Keep it off the sensor tip.
- Thread the sensor in by hand to avoid cross-threading.
- Tighten it with the O2 sensor socket. Most sensors are tightened to roughly 30 to 37 ft-lb; follow the torque on the sensor packaging if listed.
- Route the wire away from the exhaust and reconnect the electrical connector until it clicks.
- Lower the car, start the engine, and check for exhaust leaks around the sensor.
Check Engine Light Still On

If the check engine light is still on after replacing your vehicle’s oxygen sensor, you can use the YOUCANIC UCAN-II Pro to clear the stored codes. This scanner can read and clear fault codes in the engine and other control modules on supported vehicles. You can also watch the new sensor’s live voltage to confirm it switches normally.
Frequently Asked Questions
Where is the upstream O2 sensor on a Kia Optima?
The upstream sensor (Bank 1 Sensor 1) sits at the top of the exhaust manifold and is reached from the engine bay.
Where is the downstream O2 sensor?
The downstream sensor (Bank 1 Sensor 2) is under the car behind the engine. Raise the car and support it on jack stands to reach it.
Do I need to replace both O2 sensors at once?
No. Replacing only the faulty sensor is acceptable, although replacing both at the same time is often recommended on high mileage cars.
Will the check engine light go off after replacing the sensor?
It may turn off on its own after several drive cycles. You can also clear the code with a scan tool right after the repair.
Check these troubleshooting and repair guides for more help on your Kia.
Related Guides
- Kia Oxygen O2 Sensor Replacement DIY
- Kia P0340 Code: Camshaft Position Sensor A Replacement
- Kia ABS Wheel Speed Sensor Replacement
- P0107 Code: Manifold Absolute Pressure Sensor Circuit Low (Kia and Hyundai Examples)





