How to Replace the Oxygen Sensor on a 2019-2024 Nissan Altima 2.5L (Engine: Inline 4 2.5L)
Step-by-step guide with tools, parts, torque specs, safety tips, and OBD2 checks for 2019, 2020, 2021, 2022, 2023, 2024
How to Replace the Oxygen Sensor on a 2019-2024 Nissan Altima 2.5L (Engine: Inline 4 2.5L)
Step-by-step guide with tools, parts, torque specs, safety tips, and OBD2 checks for 2019, 2020, 2021, 2022, 2023, 2024
🔧 Altima - Oxygen Sensor Replacement
This repair replaces a faulty oxygen sensor, which helps the engine computer measure exhaust oxygen so it can adjust fuel mixture correctly. On your Altima, the 2.5L engine uses more than one oxygen-related sensor, so the steps below cover the common replacement process for either the upstream air/fuel ratio sensor or the downstream oxygen sensor.
Assumption: You are replacing the sensor identified by your scan code or diagnostic test.
Difficulty Level: Intermediate | Estimated Time: 1-2 hours
⚠️ Safety & Precautions
- ⚠️ Exhaust parts get extremely hot. Let your Altima cool for at least 1 hour before working.
- ⚠️ Always support the vehicle with jack stands. Never work under a car held only by a floor jack.
- ⚠️ Disconnect the negative battery cable before unplugging the sensor wiring.
- ⚠️ Do not pull on the sensor wires. Pull only on the connector body.
- ⚠️ Avoid getting anti-seize compound on the sensor tip. It can damage the sensor reading.
🔧 Required Tools
You'll need the following tools for this repair:
- 22mm oxygen sensor socket (specialty)
- 3/8-inch drive ratchet
- 3/8-inch drive 6-inch extension
- 10mm socket
- Torque wrench 10-80 Nm
- Trim clip removal tool
- Flathead screwdriver
- Penetrating oil
- Floor jack rated 2-ton minimum
- Jack stands rated 2-ton minimum
- Wheel chocks
- Nitrile gloves
- Safety glasses
- OBD2 scan tool
🔩 Required Parts
HowToo sells all the parts you need for this repair:
- Direct-fit oxygen sensor or air/fuel ratio sensor - Qty: 1
- Exhaust sensor anti-seize compound - Qty: 1
📋 Before You Begin
- Park your Altima on level ground and set the parking brake.
- Use wheel chocks behind the rear wheels if lifting the front of the vehicle.
- Let the exhaust cool completely before touching any exhaust part.
- Use an OBD2 scan tool to identify which sensor is faulty: Bank 1 Sensor 1 is the upstream air/fuel ratio sensor, and Bank 1 Sensor 2 is the downstream oxygen sensor.
- An oxygen sensor socket is a 22mm socket with a slot in the side so the wire can pass through it.
- Disconnect the negative battery cable with a 10mm socket before unplugging the sensor.
🔨 Step-by-Step Instructions
Follow these steps in order:
Step 1: Cool and Prepare the Vehicle
- Let your Altima sit until the exhaust is completely cool.
- Put on safety glasses and nitrile gloves.
- Place wheel chocks behind the rear wheels.
- Use a 10mm socket to loosen the negative battery terminal nut, then remove the cable from the battery post.
- Cool metal prevents burns.
Step 2: Raise the Front of the Vehicle if Needed
- If replacing the downstream sensor, use a floor jack rated 2-ton minimum to lift the front of your Altima at the front center jacking point.
- Place jack stands rated 2-ton minimum under the correct front support points.
- Gently lower the vehicle onto the jack stands using the floor jack rated 2-ton minimum.
- Lightly shake the vehicle by hand to confirm it is stable before going underneath.
Step 3: Locate the Correct Sensor
- Use the OBD2 scan tool code information to match the sensor location.
- Bank 1 Sensor 1 is the upstream air/fuel ratio sensor, mounted before the catalytic converter near the exhaust manifold area.
- Bank 1 Sensor 2 is the downstream oxygen sensor, mounted after the catalytic converter in the exhaust pipe area.
- If an underbody shield blocks access, use a trim clip removal tool, flathead screwdriver, and 10mm socket to remove the necessary clips and bolts.
Step 4: Unplug the Sensor Connector
- Follow the sensor wire from the sensor body to its electrical connector.
- Press the connector lock tab with a flathead screwdriver if it is tight.
- Pull the connector halves apart by hand while holding the plastic connector body.
- Release the wiring from any retaining clips using a trim clip removal tool.
- Never twist the wire harness.
Step 5: Loosen the Old Sensor
- Spray penetrating oil where the sensor threads into the exhaust.
- Wait 5-10 minutes to let the oil work into the threads.
- Slide the sensor wire through the slot in the 22mm oxygen sensor socket.
- Use the 3/8-inch drive ratchet and 3/8-inch drive 6-inch extension with the 22mm oxygen sensor socket to turn the sensor counterclockwise.
- If the sensor is very tight, apply more penetrating oil and work it back and forth slowly.
Step 6: Remove the Old Sensor
- Once loose, use the 22mm oxygen sensor socket or your gloved hand to unscrew the sensor fully.
- Compare the old sensor to the new sensor by length, connector shape, and wire routing.
- Do not install the new part if the connector does not match.
Step 7: Prepare the New Sensor
- If the new sensor already has coating on the threads, do not add more anti-seize.
- If the threads are bare, apply a tiny amount of exhaust sensor anti-seize compound only to the threads.
- Keep compound away from the sensor tip and the small vent holes.
- A little anti-seize is enough.
Step 8: Install the New Sensor
- Thread the new sensor into the exhaust by hand first to avoid cross-threading.
- Use the 22mm oxygen sensor socket, 3/8-inch drive ratchet, and 3/8-inch drive 6-inch extension to snug the sensor.
- Use a torque wrench 10-80 Nm with the 22mm oxygen sensor socket to tighten the sensor to Torque to 40 Nm (30 ft-lbs).
Step 9: Reconnect the Wiring
- Route the new sensor wire the same way the old one was routed.
- Use your hand to snap the connector together until it clicks.
- Use a trim clip removal tool if needed to reseat wiring retainers into their brackets.
- Keep the wiring away from the exhaust pipe, driveshaft, and moving parts.
Step 10: Reinstall Any Shields
- Reinstall any splash shield or underbody panel removed earlier.
- Use a 10mm socket to reinstall shield bolts snugly.
- Use a trim clip removal tool or your hand to reinstall plastic clips.
- Do not overtighten plastic shield hardware.
Step 11: Lower the Vehicle and Reconnect Battery
- Use the floor jack rated 2-ton minimum to lift the vehicle slightly off the jack stands.
- Remove the jack stands rated 2-ton minimum.
- Lower the vehicle slowly with the floor jack rated 2-ton minimum.
- Reconnect the negative battery cable and tighten the terminal nut with a 10mm socket.
- Torque to 5 Nm (44 in-lbs).
Step 12: Clear Codes and Start the Engine
- Connect the OBD2 scan tool to the diagnostic port under the driver side dash.
- Clear the stored oxygen sensor fault code.
- Start the engine and let it idle.
- Use the OBD2 scan tool to check that the code does not return immediately.
✅ After Repair
- ✅ Listen for exhaust leaks near the sensor area. A ticking sound can mean the sensor is loose.
- ✅ Test drive your Altima for 10-15 minutes with gentle acceleration and steady cruising.
- ✅ Recheck for pending or stored codes using the OBD2 scan tool.
- ✅ Some readiness monitors may need a few normal drive cycles before they show complete.
- ✅ If the same code returns, check for wiring damage, exhaust leaks, or a fuel/air mixture issue before replacing another sensor.
💰 DIY vs Shop Cost
Shop Cost: $250-$550 (parts + labor)
DIY Cost: $80-$250 (parts only)
You Save: $170-$300 by doing it yourself!
Shop labor rates vary but typically run $100-$150/hour. This repair takes a shop approximately 0.8-1.5 hours.
🎯 Ready to get started?
HowToo makes it easy: same-day/2-day shipping on every part, plus all the tools and specialty tools you need! Check out the parts and tools sections below to add everything to your cart.


















