Curious Minds

Clear answers to science and history questions

Oxygen Sensor Bung: What It Is and How to Fit One

· 6 min read · Science

A threaded steel fitting welded into an exhaust pipe for an oxygen sensor

An oxygen sensor bung is the threaded collar that gives the O2 sensor a sealed, removable mounting point in the exhaust. It is welded into a drilled hole, sized to the sensor thread, and often fitted with a plug when no sensor is used.

  • Also called O2 sensor bung or weld-on boss
  • Common threads M18 x 1.5 and M12 x 1.25
  • Watch out Bung must sit above the pipe's lowest point

Match the Bung Thread to Your Sensor

The bung is only useful if the sensor screws into it cleanly and seals. Oxygen sensors use a few standard thread sizes, and the bung must match exactly. The most common is M18 x 1.5, used on many narrowband and wideband sensors. Smaller M12 x 1.25 bungs appear on some compact sensors and on certain wideband kits. A few applications use other sizes, so check the sensor's thread before buying anything.

Thread pitch matters as much as diameter. An M18 x 1.5 bung will not accept an M18 x 2.0 sensor, and forcing it damages both parts. Read the sensor listing or measure the old sensor's threads with a thread gauge. If you are adding a second sensor for a gauge or wideband controller, buy the bung that comes with that sensor kit rather than guessing.

Bung length is the other half of the fit. A bung that is too short lets the sensor tip sit flush with the pipe wall, where exhaust flow is slow and readings lag. A bung that is too long holds the tip out of the stream. Most weld-on bungs are about 1 inch tall, which puts the sensor tip into the flow without blocking it.

Pick the Location Before You Drill

Placement decides whether the sensor reads correctly and whether it survives. Fit the bung in straight pipe, not in a bend, and keep it at least a few inches downstream of any merge collector or turbo outlet. Exhaust needs a short run to mix before it reaches the sensor.

Angle the bung so the sensor body points upward or sideways, never straight down. A downward-facing sensor collects condensation and road splash, and the tip can be damaged by water. A 10 to 45 degree tilt above horizontal is a common target. On a pipe that runs close to the floor, a sideways bung also keeps the sensor clear of speed bumps.

Check clearance around the bung before cutting. The sensor needs room to thread in and a wrench needs room to turn it. Leave at least an inch of free space around the hex. On tight chassis, a short-bodied sensor or a angled bung can solve the problem.

Weld the Bung Without Warping the Pipe

  1. Mark and drill. Center-punch the spot, drill a pilot hole, then open it to the bung's inside diameter. A hole saw or step drill gives a cleaner round hole than a single large bit.
  2. Clean both surfaces. Grind the pipe and the bung base to bare metal. Paint, rust and undercoating burn into the weld and cause porosity.
  3. Tack in four places. Small tacks at 12, 3, 6 and 9 o'clock hold the bung square while you check the fit. Let each tack cool before the next.
  4. Weld in short passes. Run beads about 1 inch long, moving around the bung to spread heat. Long continuous beads pull the pipe oval and distort the flange face.
  5. Cool slowly. Let the part air-cool. Quenching a hot weld with water can crack it.
  6. Chase the threads. Run the correct tap through the bung after welding to clear spatter and scale. Spatter in the threads is the most common reason a new sensor will not seat.

Stainless bungs need a stainless-compatible filler and, ideally, back-purge gas to keep the inside weld clean. Mild steel bungs weld to mild steel pipe with standard wire. If you cannot weld, a muffler shop can fit the bung in a few minutes with the pipe off the vehicle.

Plug It, Seal It and Check for Leaks

An unused bung needs a plug. A threaded plug keeps exhaust gas in and water out, and it protects the threads for later. Use a plug with the same thread as the bung and a copper or crush washer. Tighten it firmly but do not overtighten, because the bung wall is thin.

Before fitting a sensor, apply a thin film of anti-seize to the sensor threads only. Keep it off the sensor tip. New sensors often come with a pre-applied coating, so check the instructions first. Thread the sensor in by hand until it seats, then tighten to the sensor maker's spec. Overtightening crushes the sealing washer and can crack the bung weld.

After the first heat cycle, recheck the bung weld for cracks and the plug or sensor for looseness. A small exhaust leak at the bung sounds like a tick that rises with engine speed. It also lets outside air reach the sensor, which skews the reading. Fix leaks before blaming the sensor.

Bung Sizes and Fits at a Glance

Bung typeTypical threadCommon useFit note
Standard O2 bungM18 x 1.5Most narrowband and many wideband sensorsAbout 1 inch tall; fits most 2 to 3 inch pipe
Compact bungM12 x 1.25Small-body sensors and some wideband kitsNeeds a smaller hole; check sensor body clearance
Stepped bungM18 x 1.5Thin-wall or stainless pipeWider base spreads weld heat
PlugMatches bungSealing an unused portUse a crush washer; snug, not gorilla-tight

A simple rule: buy the bung that matches the sensor, not the sensor that matches the bung. Threads and tip depth are set by the sensor, and the bung is the cheap part to change.

What Goes Wrong With a New Bung

The most common failure is a bung welded in a low spot where condensation pools. The sensor tip corrodes and readings drift. Move the bung higher on the pipe or add a small drain angle to the pipe itself.

The second is a bung that sits too deep in the pipe. If the bung protrudes into the exhaust stream, it blocks flow and can overheat. Trim the bung or use a shorter one so the base sits close to the pipe wall.

The third is a cross-threaded sensor. Spatter, scale or a warped bung causes it. Always chase the threads after welding and start the sensor by hand. If it binds, stop and clean the threads rather than forcing it.

The fourth is a missing plug on a spare bung. An open port is a loud exhaust leak and a path for water and debris. Fit a plug the same day the bung is welded.

Questions About Oxygen Sensor Bungs

Can I install a bung without removing the exhaust pipe?

Sometimes, if there is room to drill and weld safely away from fuel and brake lines. Removing the pipe gives a cleaner hole, better weld access and no risk of swarf entering the exhaust. On most vehicles, removal is the safer choice.

Do I need a bung for a wideband sensor?

Yes. A wideband sensor needs its own threaded port, and many controllers specify a minimum distance from the turbo or manifold. Follow the controller's placement guidance and use the bung supplied with the kit.

What size hole do I drill for an M18 bung?

The hole should match the bung's inside diameter, which is typically about 18 mm or slightly larger depending on the bung design. Measure the bung you have rather than drilling to a guessed size.

Further reading: none (general know-how)

In this article
  1. Match the Bung Thread to Your Sensor
  2. Pick the Location Before You Drill
  3. Weld the Bung Without Warping the Pipe
  4. Plug It, Seal It and Check for Leaks
  5. Bung Sizes and Fits at a Glance
  6. What Goes Wrong With a New Bung
  7. Questions About Oxygen Sensor Bungs