Most oxygen sensors take a 22 mm socket, which sensor makers list as the same tool as 7/8 inch, on an M18 x 1.5 thread. The sensor has a wire coming out of its top, so a plain socket will not go over it: you need a slotted O2 socket, an offset one, or a wrench, depending on the room. This guide covers that choice, the torque, and the other sizes in a sensor tray, where the oil pressure sender catches people out: commonly 1-1/16 inch (27 mm) or 24 mm.
TL;DR
- The standard oxygen sensor is an M18 x 1.5 thread with a 22 mm hex. 7/8 inch is 22.2 mm, and sensor makers list the two as the same tool.
- Pick the style by the room you have: slotted when there is clear space above the sensor, offset when there is not, a 22 mm or 7/8 inch wrench when no ratchet will swing.
- Never put a plain socket or an impact wrench on a new sensor. A plain deep socket is only for an old sensor you have already cut free of its wire.
- One sensor maker gives 26 to 33 ft-lb for M18 sensors and 13.2 to 17 ft-lb for the smaller M12 type. The vehicle maker's figure comes first.
- The oil pressure sender beside it is a different size again: commonly 1-1/16 inch (27 mm) or 24 mm, sometimes 1-3/16 inch, 1 inch or 26 mm.
Table of Contents
- What size is an oxygen sensor?
- Slotted, offset or wrench: which one to use
- The other sizes in a sensor tray
- Removing and fitting the sensor
- What most O2 sensor advice gets wrong
- Our perspective
- The sockets for sensor and sender work
- FAQ
- Sources
What size is an oxygen sensor?
On most cars and light trucks the answer is the same: an M18 x 1.5 thread, 18 mm across the thread, with a 22 mm hex above it. One sensor maker's tool list for the job calls for a 7/8 inch or 22 mm oxygen sensor socket, and the same guide warns that some sensors need a smaller tool than that.
- M18 sensors. The common type on car and truck exhausts. 22 mm or 7/8 inch hex.
- M12 sensors. A smaller thread. One sensor maker gives these their own lower torque figure. Some smaller M12 sensors need a smaller tool, so check yours first.
For a car or truck, start with 22 mm. 7/8 inch is 22.2 mm and does the same job.
Slotted, offset or wrench: which one to use
The real choice is the shape of the tool, and that comes down to the room around the sensor. One sensor maker's instructions say to fit the new sensor with a wrench or an O2 sensor socket, never a conventional socket or an impact wrench.
| Tool | How it fits | Use it when | Watch for |
|---|---|---|---|
| Slotted O2 socket, 22 mm | A slot in the side lets the wire out; the ratchet sits straight above | There is clear space above the sensor | Push it fully onto the hex before you pull |
| Offset O2 socket, 7/8 inch | The drive is set to one side of the hex instead of above it | The sensor sits under a heat shield, bracket or the floor pan | Keep the ratchet square to the socket so it does not lift off |
| 22 mm or 7/8 inch wrench | Slips over the wire from the side | No ratchet will swing at all | Grips fewer flats, so save it for a sensor that is not seized |
| Plain deep 6 point socket | Only fits once the wire is cut off | The old sensor is scrap and its hex is starting to round | Never on the new sensor |
The other sizes in a sensor tray
The same problem, a wire or terminal on top of a hex, shows up all over an engine. Here is what each tray size is for:
- Vacuum switch, 7/8 inch. A socket that clears the hose or connector on top.
- Oil pressure sender, 1-1/16 inch (27 mm). One repair shop calls 1-1/16 inch the most common size for many domestic and numerous other applications. Senders are tall, so the socket has to be deep and thin wall to clear the body and terminal.
- Oil pressure sender, 24 mm. The same shop lists 24 mm as common on many Japanese and European engines.
- Older and odd senders. Forum posters note that one domestic maker's senders took 1-3/16 inch before 1991 and 1-1/16 inch after. The repair shop adds 1 inch, 26 mm and 13/16 inch on some senders and small switches.
- Fuel injectors, 27 mm. For injectors with a 27 mm hex.
- Coolant temperature sensors. A home repair publication notes these have tapered threads and on many engines screw into a plastic intake, so overtightening can damage the threads, the sensor and the manifold.
The O2 sensor is almost always 22 mm. The oil pressure sender is the size you check first.
Removing and fitting the sensor
This follows the sensor makers' sheets; the service manual covers anything specific to your engine.
- Unplug and note the routing. Disconnect the sensor at the harness and note how the wire runs, as one sensor maker's removal sheet sets out.
- Soak the threads. Penetrating oil where the sensor meets the bung, and give it time.
- Break it loose. Seat the socket fully, use a long handle and pull steadily. If the hex starts to round, the old sensor is scrap: one repair guide describes cutting its wire so a plain six point deep socket fits.
- Check the threads in the pipe. The same removal sheet says to use the correct size tap to clean and repair them if needed. For M18 that is M18 x 1.5.
- Compare old and new: thread, connector, wire count and length.
- Anti-seize, threads only. Many new sensors come with it already on. If not, use the compound supplied and keep it off the tip, as one maker's guide warns.
- Start it by hand to avoid cross threading, then tighten: finger tight plus 1/2 to 3/4 turn on M18, 26 to 33 ft-lb, or the vehicle maker's figure.
- Route the wire the way it was, clear of the exhaust and other hot parts, and clip it so it cannot chafe.
- Clear any stored code with a scan tool.
What most O2 sensor advice gets wrong
Many O2 sensor how-tos say to warm the engine first, because warm metal lets go more easily. That is not what the sensor makers write, and the techs who do this every day do not agree with each other either.
- The sensor maker says ambient. One maker's removal sheet opens with the exhaust system at ambient temperature, which also keeps your hands off a hot pipe.
- Many guides say slightly warm. One repair guide puts the ideal at slightly warm, not scorching hot or completely cold, so the metal has expanded a little.
- Others say engine heat does nothing. A poster in one long thread argues that warming it with the engine is pointless, and that only quick heat on the bung from a torch cracks the corrosion.
All three agree on the rest: the right socket fully seated, penetrating oil given time, a long steady pull. The bad outcome is not a stuck sensor but a stripped bung, which turns a sensor swap into an exhaust repair.
Our perspective
A sensor swap is rarely held up by the O2 socket; most techs own a 22 mm. It is held up by the next sensor: the 24 mm sender when the drawer only has 1-1/16 inch, or a 1/2 inch drive socket with no ratchet to turn it. So we built the tray with both sender sizes and a handle for every socket in it.
Check the sender before you start. A 24 mm sender will not come out with a 27 mm socket, however hard you pull.
The sockets for sensor and sender work
Both kits carry the same 7 piece sensor and fuel injector socket set in its tray: a 22 mm O2, a 7/8 inch offset O2, a 7/8 inch vacuum switch and a 1-1/16 inch (27 mm) oil pressure sender socket in 3/8 inch drive, plus a 29 mm straight O2, a 7/8 inch heated O2 and a 27 mm injector socket in 1/2 inch drive. Both add a 24 mm deep socket for 24 mm senders, and both come in an ABS top tray made for 26 inch (660 mm) roller cabinets.
The Teng Tools Engine Sensor Socket Top Tray Kit runs everything from one handle:
- A 3/8 inch drive long arm ratchet with twist reverse and quick release, for leverage on a seized sensor.
- A magnetic step up, 3/8 inch female to 1/2 inch male, so that ratchet turns the 1/2 inch drive sockets too.
- A 150 mm (5.9 inch) wobble extension to reach a sensor behind the manifold at an angle.
- A 24 mm 1/2 inch drive deep 6 point socket for 24 mm oil pressure senders.
The Teng Tools Engine Sensor Kit with Long Arm Ratchets and Hose Pinch-Offs suits a tech who also does coolant sensors:
- A 3 piece long arm ratchet set: 3/8 inch (300 mm) and 1/2 inch (400 mm) to drive the sensor sockets directly, plus a 1/4 inch (200 mm) for your own 1/4 inch sockets.
- A 24 mm 1/2 inch drive deep 12 point socket for 24 mm senders, on the 1/2 inch ratchet.
- Two hose pinch-off pliers, 6 to 19 mm and 19 to 57 mm, to clamp a coolant hose before a temperature sensor comes out.
What you bring: a torque wrench, a 22 mm or 7/8 inch wrench for a sensor where no ratchet will swing, a plain 22 mm deep 6 point socket for an old sensor you have cut free, an M18 x 1.5 thread chaser tap, a scan tool, anti-seize if the new sensor is not coated, the new sensors, and a socket for any sender outside 24 mm and 1-1/16 inch, such as 26 mm or 1-3/16 inch, or a smaller M12 sensor. Browse the automotive tool kits for other engine jobs.
FAQ
What size socket do I need for an oxygen sensor?
Most car and truck oxygen sensors have an M18 x 1.5 thread and a 22 mm hex, which sensor makers list as the same tool as 7/8 inch. Use a slotted or offset O2 sensor socket so the wire can pass. Some smaller M12 sensors need a smaller tool, so check yours first.
Is a 7/8 inch O2 sensor socket the same as 22 mm?
For this job, yes. 7/8 inch is 22.2 mm, and sensor makers list a 7/8 inch or 22 mm oxygen sensor socket as the one tool for the standard sensor. Keep the socket fully seated on the hex so it grips the flats, not the corners.
Do I need a slotted or an offset O2 sensor socket?
It depends on the room. A slotted socket lets the wire out through its side and suits a sensor with clear space above it. An offset socket sets the drive to one side of the hex, for a sensor tucked under a heat shield or bracket. Many techs carry both, plus a 22 mm or 7/8 inch wrench.
How tight should an oxygen sensor be?
One sensor maker gives finger tight plus 1/2 to 3/4 turn for M18 sensors, 26 to 33 ft-lb, and finger tight plus 3/4 to 1 turn for M12 sensors, 13.2 to 17 ft-lb. The vehicle maker's figure comes first. Do not use an impact wrench on a new sensor.
What size socket fits an oil pressure sender?
There is no single size. 1-1/16 inch (27 mm) is common on many domestic engines, and 24 mm on many Japanese and European ones. Older or less common senders can be 1-3/16 inch, 1 inch, 26 mm or 13/16 inch, so check the one on your engine.
Sources
- Oxygen Sensor Installation, NGK Spark Plugs (NTK sensors)
- How to Install Oxygen Sensors, Walker Products
- Oxygen Sensor Removal and Installation Instructions, DENSO
- How to Loosen a Stuck O2 Sensor, Engineer Fix
- Seized O2 Sensor, Ask MetaFilter
- What Size Socket Do I Need for an Oil Sending Unit?, T P Auto Repair
- Socket Size for Oil Pressure Sending Unit, Third Generation F-Body Message Boards
- How to Replace the Coolant Temperature Sensor in Your Car, Family Handyman

