Camshaft Position Sensor Replacement — 4.0L XJ

Difficulty: intermediate

The CMP sensor tells the PCM which cylinder is coming up on its firing stroke so it can sequence the injectors — when it quits, the engine cranks but won't catch, often hot, often intermittently. Where the sensor lives changes with the model year, and that's the whole job.

The camshaft position sensor handles fuel sync: it tells the PCM where the camshaft is so injectors fire on the right cylinder at the right time. Pair it with the crank sensor and you have the two signals the engine cannot run without. A failing CMP throws P0340 and frequently its partner P1391 (intermittent loss of CMP or CKP), and the symptoms read like a haunting — random stumble, bucking over bumps or on right-hand turns, a stall going into reverse, and the classic crank-no-start that gets worse as the engine heats up. Heat and vibration kill these sensors, so the failure tends to show up at operating temperature and clear when things cool down.

Before you spend a dime, know which XJ you have, because the sensor lives in a different place across three eras and the procedure is not the same.

Three designs, three procedures:

Check the synchronizer shaft for wobble first (2000–2001). Before installing a new sensor, grab the shaft the sensor mounts to and check for play. A worn synchronizer with any wobble will chew up a brand-new sensor in weeks. If it moves, the whole oil-pump-drive assembly needs to go in, not the sensor alone.

Buy the Mopar sensor. Cheap aftermarket CMP sensors on the 4.0L have a documented habit of being dead in the box or failing within a month. This sensor lives in heat and vibration — the genuine part is worth the few extra dollars.

the crank sensor is the other half of the sync story, so read Crankshaft Position Sensor (CPS) Replacement before you condemn either one. Pull codes with Reading OBD-I Codes on the XJ on a Renix or OBD-I truck, OBD-II Scanner Basics on a 1996-and-later truck, and check Renix vs. HO 4.0 — What Changed if you are unsure which system your XJ runs.

Steps

All years — diagnose before you wrench

  1. Confirm the symptom matches the sensor. P0340 with P1391, crank-no-start that worsens with heat, or stumble/buck/stall over bumps and into reverse all point at CMP. A cold engine that starts fine and dies hot is the signature.
  2. Disconnect the negative battery terminal and set it clear of the post before touching anything.
  3. Optional but worthwhile: test the old sensor with an analog multimeter. Back-probe the sensor output and ground at the connector, key on, and watch for roughly 5 volts of supply. Crank by the key and the needle should sweep 0–5 volts as the pulse ring passes the pickup. A flatline confirms the sensor. A digital meter usually can't show this — the needle bounce is what you're after.

2000–2001 — sensor on the oil pump drive (the quick one)

  1. Find the sensor on the passenger side of the engine near the oil filter, sitting on top of the oil-pump-drive assembly. Disconnect its electrical connector.
  2. Grab the synchronizer shaft and check for wobble. Any play means the oil-pump-drive assembly is worn — stop and plan to replace the whole assembly, not the sensor alone, or the new one fails fast.
  3. Remove the two sensor mounting bolts and lift the sensor off the drive.
  4. Set the new sensor onto the drive so it faces the rear of the engine, thread the two bolts by hand, then torque to 15 in-lb (2 N·m). This is a deliberately light torque — these are small bolts into an aluminum casting.
  5. Apply dielectric grease inside the connector and plug it back in. Reconnect the battery. Done — you have not disturbed sync.

2000–2001 — if the oil pump drive must come out

  1. Only pull the drive if the synchronizer is worn. Before removing it, do not let the engine rotate or you lose sync. Mark the rotational position of the drive relative to the block with a paint pen.
  2. Remove the hold-down clamp bolt and clamp, then pull the assembly straight up, noting which way the pulse ring and the slot in the oil pump gear point as it comes out.
  3. If the crank did not move, drop the new drive back in matching your marks, finger-tighten the clamp bolt, install the sensor (15 in-lb), reconnect, and verify sync.
  4. If the engine was rotated, re-establish sync: pull the coil rail and the #1 spark plug, rotate the engine by the crank damper bolt until you feel compression at #1, then continue to TDC (0°) on the timing scale. Rotate only in the normal direction — never backward. Use a toothpick through the housing's access hole to index the pulse ring, then seat the drive so it drops flush (if it won't seat, the oil pump slot isn't aligned — lift and realign).
  5. Verify with a capable scan tool's SET SYNC routine — the reading should land IN RANGE at 0. Most DIYers don't have a DRB; a modern bidirectional scan tool with the cam/crank sync relearn for this platform does the same job. Then torque the hold-down clamp bolt to 17 ft-lb (23 N·m). The SET SYNC number is fuel sync only and has nothing to do with ignition timing, which the PCM controls.

1991–1999 — sensor inside the distributor

  1. Mark the distributor before you touch it. Paint a line across the rotor tip onto the distributor body and a second line from the distributor body to the block. These marks let the distributor go back in the exact clock position and save you a re-time.
  2. Remove the distributor cap and rotor. On many of these you can reach and lift out the CMP pickup with the distributor still in the engine — do that if you can, since nothing moves and sync is preserved.
  3. If the sensor isn't serviceable in place, pull the distributor: remove the hold-down clamp bolt, then lift the distributor straight up, noting that the rotor turns slightly as the helical gear disengages. Do not crank or bump the engine while it's out. Swap the sensor (or the whole distributor — many owners replace the whole assembly, since a fresh Mopar distributor sidesteps the fiddly internal pickup).
  4. Reinstall by dropping the distributor in so the rotor returns to your reference mark; the gear will pull it the last few degrees into your line. Install the clamp and torque the hold-down bolt to 17 ft-lb (23 N·m).
  5. If the engine was rotated with the distributor out, set #1 to TDC on the compression stroke and drop the distributor so the rotor points at the #1 cap terminal, then confirm. An improperly indexed distributor surges and light-bucks around 2,000 rpm under light load at temperature — that's your tell that the clocking is off.

All years — finish and verify

  1. Apply dielectric grease to the connector and seat it fully. Reconnect the battery.
  2. Start the engine and let it idle. Clear stored codes with a scanner. On OBD-II XJs the codes to watch are P0340 and P1391.
  3. Verify under heat and load. The failure mode shows up hot — drive to full operating temperature and run it 20+ minutes, including a few right-hand turns and a shift into reverse, the conditions that exposed the original fault. A clean hot drive confirms the repair; a cold start tells you nothing.
  4. ---

Why it works

Trade-offs

Tools required

Parts

Some parts links are Amazon affiliate links — if you buy through them Trail Manual may earn a small commission at no extra cost to you. We only list parts we’d run on our own rig, and never on safety-critical pages.

PartVendorEst. price
Camshaft Position Sensor — Mopar (1996–2001, 4.0L)Mopar / RockAuto / Summit Racing
Camshaft Synchronizer / Oil Pump Drive Assembly (2000–2001, replace if shaft wobbles)Mopar / RockAuto
Distributor Assembly — Mopar (1991–1999, if replacing the whole unit)Mopar / RockAuto
Oil Pump Drive-to-Block Gasket (2000–2001, replace if drive is pulled)Mopar / RockAuto
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