Crankshaft Position Sensor (CPS) Replacement — 4.0L XJ

Difficulty: intermediate

The CPS on the 4.0L HO reads the flywheel reluctor ring from inside the bellhousing — when it fails from heat, the engine stalls and won't restart until it cools. This guide covers diagnosis and replacement on 1991–2001 XJs.

The crankshaft position sensor tells the PCM where the crank is in its rotation so it can time fuel injection and spark. When it goes, the PCM has nothing to work with and shuts everything off. The failure pattern on the XJ is almost self-diagnosing: the engine runs normally when cold, stalls once it's been at full operating temperature for 20–30 minutes, won't restart for 30–60 minutes, then fires back up like nothing happened. That's thermal failure — the sensor works when it's cool and quits when it gets hot.

If that's your XJ, the CPS is the first thing to address before going after cam sensors, ignition components, or fuel system parts.

RENIX vs. HO: This guide covers the 4.0L HO (1991–2001). RENIX engines (1987–1990) use a different 2-wire sensor with a different connector and different failure behavior. If your XJ is an '87–'90, confirm the correct part before ordering.

Check the connector before you buy the sensor. The 3-pin plastic connector on the CPS pigtail is notorious for cracking from heat cycling and developing internal corrosion at the terminals. A failed connector produces the same symptoms as a bad sensor. Before ordering parts, trace the wire from the sensor up the engine block to the connector and look at it closely. If the housing is cracked, brittle, or the terminals show green corrosion, order the pigtail at the same time as the sensor — or you may fix nothing.

Buy OEM or Mopar. Cheap aftermarket CPS sensors have a documented pattern of short service life on the XJ. The sensor lives in a hot, vibration-heavy location. The extra $15–20 for a genuine part is not where to economize.

pull codes before you buy anything with Reading OBD-I Codes on the XJ, rule out the other sync sensor with Camshaft Position Sensor Replacement, and if the symptom is really an intermittent electrical gremlin rather than a dead sensor, start at the Big-3 wiring upgrade and Oil Pressure Sender vs. Oil Pressure Switch.

Steps

  1. Let the engine cool completely before starting. The CPS sits near the exhaust manifold and catalytic converter. This is not a job you do on a hot engine.
  2. Disconnect the negative battery terminal and move it clear of the post.
  3. Raise the vehicle and support it on jack stands. Access to the CPS is from underneath on the passenger side at the bellhousing. Removing or skipping the driver-side jack stand can give you a little more room to maneuver, but don't do this without keeping the vehicle properly supported.
  4. Locate the sensor. It's a rectangular module mounted on the passenger side of the bellhousing, held by a single bolt, with a wiring harness running up along the engine block. Get a work light on it — you're working in a tight slot by feel as much as by sight.
  5. Trace the wiring harness up to the electrical connector and disconnect it. The connector sits higher up near the block or firewall. As you pull it apart, inspect both sides: any cracking, heat discoloration, or green corrosion on the terminals means the pigtail needs to go in with the sensor.
  6. Unclip any wiring harness brackets that anchor the sensor wire to the engine block. Keep the fasteners somewhere they won't roll away.
  7. Build a socket extension stack to reach the mounting bolt. A 6" or longer extension with a universal joint, plus a second short extension if needed, is the standard approach. Socket size varies — 10mm covers most 1991–1995 models, 13mm is common on 1996–2001. Have both on hand and check before you commit to a position. The correct angle takes some experimentation; most people find working from slightly in front of the bellhousing helps.
  8. Before breaking the bolt loose, position a magnetic tool to catch it the moment it comes free. The bolt dropping into the bellhousing cavity is a real risk and recovering it is miserable. A magnetic socket is the best insurance.
  9. Loosen and remove the bolt, keeping the magnetic tool engaged as it threads out.
  10. Pull the sensor straight out of its bore. It may feel slightly stuck from years of heat; a gentle side-to-side wiggle usually breaks it free. Don't lever hard against the mounting surface.
  11. Inspect the old sensor's tip before setting it aside. Light iron filings are normal — the sensor reads a ferrous reluctor ring. A clump of metal debris or a cracked sensor face is worth noting but doesn't change the repair.
  12. Slide the new sensor into the bore and push it in until the face contacts the reluctor ring. The factory spec is sensor seated against the ring, then torqued in place from there.
  13. Thread the mounting bolt in by hand to avoid cross-threading, then torque to 60 in-lb (7 N·m). This is a light torque — snug and no more. Overtightening can crack the sensor body.
  14. Reinstall any harness brackets removed in step 6.
  15. Apply dielectric grease to the inside of the electrical connector before plugging it back in. This connector lives in heat and moisture; the grease keeps it sealed.
  16. Reconnect the battery.
  17. Start the engine and confirm it idles normally. If you have a scan tool, pull any stored codes and clear them. Common codes associated with CPS failure on OBD-II XJs (1996+): P0320, P0335, P1391. On OBD-I models (1991–1995), trigger the key-on flash sequence to check for codes 11 or 70.
  18. Verify the fix under heat. Drive until the engine reaches full operating temperature, then sustain that for at least 20 minutes of normal driving. The stalling symptom requires heat to reproduce — a cold start or short warm-up tells you nothing. If the engine runs cleanly through the full hot soak, the repair is confirmed.
  19. ---

Why it works

Trade-offs

Tools required

Parts

PartVendorEst. price
Crankshaft Position Sensor — OEM Mopar (4.0L HO, verify with VIN)Quadratec / Mopar dealer
CPS Wiring Connector Pigtail (replace if cracked or corroded)Quadratec / Mopar dealer
Dielectric greaseAny auto parts store

Sources

Related


Written and maintained by an AZ wheeler and driveway wrencher. Always cross-reference your factory service manual — modifications affect vehicle safety and warranty. Work at your own risk.

Trail Manual · About · Privacy · Terms · Database