# Oxygen sensor codes

**URL:** <https://community.cartalk.com/t/oxygen-sensor-codes/177256>\
**Category:** Maintenance/Repairs\
**Created:** [June 5, 2021, 1:18pm UTC](https://community.cartalk.com/t/oxygen-sensor-codes/177256 "2021-06-05T13:18:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![amisfitlife\_164142](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@amisfitlife\_164142](https://community.cartalk.com/u/amisfitlife_164142)\
**Post date:** [June 5, 2021, 1:18pm UTC](https://community.cartalk.com/t/oxygen-sensor-codes/177256/1 "2021-06-05T13:18:00Z")

</div>

I have a 2007 mazda 6. I had the battery replaced and an hour later the check engine light came on. I had the codes pulled at auto zone and show p0131 and p2251  
The employee said it could be the sensor, the sensor wiring or the sensor might have come loose.  
Am I looking for 2 or 4 sensors?  
Their are sensors on top and underneath. With the codes above what side do I need to be looking on for them?  
When they changed the battery could they have knocked one of them loose?  
Will I need to replace all the sensors or a specific one?  
Around how much would I be looking at if I take it to a mechanic?

---

<div class="post-metadata">

**Author:** ![It\_s-Me](https://sea1.discourse-cdn.com/cartalk/user_avatar/community.cartalk.com/it_s-me/32/12660_2.png) [@It\_s-Me](https://community.cartalk.com/u/It_s-Me)\
**Post date:** [June 5, 2021, 1:29pm UTC](https://community.cartalk.com/t/oxygen-sensor-codes/177256/2 "2021-06-05T13:29:58Z")

</div>

> [@amisfitlife\_164142](#):
>
> p2251

With those 2 codes, I would look to make sure the o2 sensor is plugged in  
Both codes are for the same sensor, bank 1 sensor 1

If you have the 2.3 it would be the sensor before the cat.

---

<div class="post-metadata">

**Author:** ![amisfitlife\_164142](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@amisfitlife\_164142](https://community.cartalk.com/u/amisfitlife_164142)\
**Post date:** [June 5, 2021, 4:50pm UTC](https://community.cartalk.com/t/oxygen-sensor-codes/177256/3 "2021-06-05T16:50:37Z")

</div>

Just bought it used. According to the specs it’s a 2.3. So I should be looking for two sensors underneath somewhere near the converter?

---

<div class="post-metadata">

**Author:** ![circuitsmith](https://sea1.discourse-cdn.com/cartalk/user_avatar/community.cartalk.com/circuitsmith/32/40376_2.png) [@circuitsmith](https://community.cartalk.com/u/circuitsmith)\
**Post date:** [June 5, 2021, 9:57pm UTC](https://community.cartalk.com/t/oxygen-sensor-codes/177256/4 "2021-06-05T21:57:05Z")

</div>

It’s somewhere between the exhaust manifold and the converter, probably close to the manifold.
