How to Replace the Oxygen Sensor on a 2013-2018 Nissan Altima 2.5L (Engine: Inline 4 2.5L | Body: Sedan)
Step-by-step guide with sensor locations, tools, torque specs, OBD2 codes, and safety tips for 2013, 2014, 2015, 2016, 2017, 2018
How to Replace the Oxygen Sensor on a 2013-2018 Nissan Altima 2.5L (Engine: Inline 4 2.5L | Body: Sedan)
Step-by-step guide with sensor locations, tools, torque specs, OBD2 codes, and safety tips for 2013, 2014, 2015, 2016, 2017, 2018
🔧 Altima - Oxygen Sensor Replacement
This repair replaces a faulty oxygen sensor, which helps your Altima’s engine computer adjust the air/fuel mixture. A bad sensor can cause a check engine light, poor fuel economy, rough running, or failed emissions testing.
Difficulty Level: Beginner to Intermediate | Estimated Time: 1-2 hours
Assumption: This guide covers the common upstream air/fuel ratio sensor and downstream oxygen sensor locations on your Altima’s 2.5L engine.
⚠️ Safety & Precautions
- ⚠️ Let the exhaust fully cool before touching the sensor or exhaust pipe. Exhaust parts can burn you badly.
- ⚠️ Disconnect the negative battery cable before unplugging the sensor to reduce the chance of an electrical short.
- ⚠️ Support your Altima with jack stands if working underneath. Never rely on a floor jack alone.
- ⚠️ Wear safety glasses. Rust, dirt, and penetrating oil can fall into your eyes.
- ⚠️ Do not use anti-seize on the sensor unless the new sensor instructions specifically say to. Many new sensors come pre-coated.
🔧 Required Tools
You'll need the following tools for this repair:
- 10mm socket
- 3/8-inch ratchet
- 3/8-inch extension
- 22mm oxygen sensor socket (specialty)
- 22mm open-end wrench
- Flathead screwdriver
- Trim clip removal tool
- Torque wrench rated 10-80 Nm
- Floor jack rated 2-ton minimum
- Jack stands rated 2-ton minimum
- Wheel chocks
- Safety glasses
- Nitrile gloves
- OBD2 scan tool
An oxygen sensor socket is a deep 22mm socket with a side slot so the sensor wire can pass through while you loosen it.
🔩 Required Parts
HowToo sells all the parts you need for this repair:
- Upstream air/fuel ratio sensor - Qty: 1
- Downstream oxygen sensor - Qty: 1 if replacing the rear sensor
- Exhaust-safe anti-seize compound - Qty: 1 small packet if not pre-applied
- Replacement splash shield clips - Qty: As needed
Important: Your Altima has more than one exhaust sensor. Replace the one identified by the trouble code or diagnosis. Bank 1 Sensor 1 is the upstream sensor before the catalytic converter. Bank 1 Sensor 2 is the downstream sensor after the catalytic converter.
📋 Before You Begin
- Park your Altima on level ground and let the engine and exhaust cool completely.
- Set the parking brake and place wheel chocks behind the rear wheels.
- Use an OBD2 scan tool to read the code before repair. Common codes include P0130-P0139, P0140-P0141, P0031, P0032, P0138, and P0420.
- If replacing the downstream sensor, raise the front of your Altima with a floor jack and support it with jack stands.
- Disconnect the negative battery cable using a 10mm socket.
🔨 Step-by-Step Instructions
Follow these steps in order:
Step 1: Identify the Correct Sensor
- Use an OBD2 scan tool to confirm which sensor has the fault.
- For Bank 1 Sensor 1, look at the exhaust manifold area at the front of the engine, before the catalytic converter.
- For Bank 1 Sensor 2, look underneath your Altima near the exhaust pipe after the catalytic converter.
- Match the code before buying parts.
Step 2: Disconnect the Battery
- Open the hood and locate the battery.
- Use a 10mm socket and 3/8-inch ratchet to loosen the negative battery terminal nut.
- Remove the negative cable and position it away from the battery post.
Step 3: Access the Sensor
- For the upstream sensor, work from the top of the engine bay near the exhaust manifold.
- Use a trim clip removal tool or flathead screwdriver if a plastic cover or harness clip is blocking access.
- For the downstream sensor, use a floor jack rated 2-ton minimum to lift the front of your Altima at the proper front lift point.
- Place jack stands rated 2-ton minimum under the front support points before going underneath.
- If a lower splash shield blocks access, remove the clips with a trim clip removal tool.
Step 4: Unplug the Sensor Connector
- Follow the oxygen sensor wire to its electrical connector.
- Press the connector locking tab with your finger or a flathead screwdriver.
- Pull the connector halves apart. Do not pull on the wires.
- Release the wire from any plastic clips using a trim clip removal tool.
- Take a photo of wire routing.
Step 5: Loosen the Old Sensor
- Slide the sensor wire through the slot in the 22mm oxygen sensor socket.
- Attach a 3/8-inch ratchet and 3/8-inch extension if needed.
- Turn the sensor counterclockwise to loosen it.
- If space is tight, use a 22mm open-end wrench instead.
- If the sensor is stuck, apply penetrating oil to the threads and wait 10-15 minutes before trying again.
- Steady pressure works better than jerking.
Step 6: Remove the Old Sensor
- Once loose, continue turning the sensor counterclockwise by hand if possible.
- Remove the sensor from the exhaust bung. The bung is the threaded hole welded into the exhaust pipe or manifold.
- Compare the old sensor to the new one. The connector, wire length, and thread size should match.
Step 7: Prepare the New Sensor
- Check the new sensor threads.
- If the threads already have a gray or silver coating, do not add anti-seize.
- If the sensor instructions call for it, apply a tiny amount of exhaust-safe anti-seize compound only to the threads.
- Keep anti-seize away from the sensor tip.
Step 8: Install the New Sensor
- Start the new sensor by hand to avoid cross-threading. Cross-threading means the sensor is going in crooked and can damage the exhaust threads.
- Turn it clockwise several turns by hand before using tools.
- Tighten the sensor with a 22mm oxygen sensor socket and torque wrench rated 10-80 Nm.
- Torque to 40-50 Nm (30-37 ft-lbs).
- If access prevents using a torque wrench, tighten snugly with a 22mm open-end wrench, but do not overtighten.
Step 9: Route and Connect the Wiring
- Route the new sensor wire the same way as the old one.
- Keep the wire away from the exhaust pipe, axle, steering parts, and sharp edges.
- Secure the harness into its clips using your hands or a trim clip removal tool.
- Push the connector together until it clicks.
Step 10: Reinstall Covers and Lower the Vehicle
- If removed, reinstall the lower splash shield using the original clips or replacement splash shield clips.
- Use a trim clip removal tool or your hands to seat the clips fully.
- If the vehicle was raised, lift slightly with the floor jack rated 2-ton minimum, remove the jack stands rated 2-ton minimum, and lower your Altima slowly.
Step 11: Reconnect the Battery
- Place the negative battery cable back onto the battery post.
- Use a 10mm socket and 3/8-inch ratchet to tighten the terminal nut.
- Torque to 5-6 Nm (44-53 in-lbs).
Step 12: Clear Codes and Verify Repair
- Use an OBD2 scan tool to clear the stored diagnostic trouble code.
- Start the engine and let it idle.
- Check that the engine runs smoothly and the check engine light stays off.
- Take a short test drive so the engine reaches normal operating temperature.
✅ After Repair
- ✅ Recheck for exhaust leaks near the sensor area. A ticking sound can mean a leak.
- ✅ Re-scan with an OBD2 scan tool after the test drive to confirm no codes returned.
- ✅ Some emissions readiness monitors may need several drive cycles before showing “ready.”
- ✅ If a catalytic converter efficiency code returns, the oxygen sensor may not have been the root cause.
💰 DIY vs Shop Cost
Shop Cost: $220-$520 (parts + labor)
DIY Cost: $70-$220 (parts only)
You Save: $150-$300 by doing it yourself!
Shop labor rates vary but typically run $100-$150/hour. This repair takes a shop approximately 0.7-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.


















