Camshaft position sensor on a heavy-duty diesel engine, mounted near the timing gear cover

8 Symptoms of a Bad Camshaft Position Sensor on a Diesel Engine

A bad camshaft position sensor will park your truck. The sensor tells the engine control module exactly where the camshaft is at every moment, and the ECM uses that signal to time fuel injection. When the signal goes bad, fuel timing goes bad — and a diesel that can't time its injection event right won't run smoothly, won't start easily, and won't make full power.

This guide walks through the 8 symptoms we see most often on heavy-duty diesel engines, the fault codes you'll read with a scan tool, where the sensor lives on common engines (Cat C15, Cummins ISX, Detroit DD15, Volvo D13), and what a replacement costs.

If you already know the sensor is the problem, skip down to the replacement parts section.


What does a camshaft position sensor do?

The camshaft position sensor (often abbreviated CMP) is a small electronic sensor that reads the rotation of the camshaft. Most are magnetic (Hall-effect) and pick up a tooth or notch on the camshaft gear as it spins past.

The sensor reports two things to the ECM:

  • The camshaft's exact position
  • The speed it's rotating at

The ECM uses that data to decide when to fire each injector. On a diesel engine, injection timing is everything — a few degrees off and you get poor combustion, lost power, and unburned fuel out the stack.

The crankshaft sensor does a similar job for the crank. The two sensors work together so the ECM can sync injection with piston position. If either fails, the engine struggles. If both fail, the engine usually won't start at all.

Note: The camshaft position sensor is not the same as a camshaft actuator (a VVT solenoid found on some gas engines) and it does not control your transmission directly. Old articles sometimes confuse these — diesel HD truck transmissions have their own speed sensors.


8 Symptoms of a Bad Camshaft Sensor

1. Hard starting or no-start

This is the most common symptom on heavy-duty diesels. When the cam sensor fails, the ECM can't time the first injection event, so the engine cranks but won't fire. On engines with redundant signals (Cat C15, Cummins ISX), the engine may start eventually using the crank sensor alone, but it'll take longer cranks and the start will be rough.

If your truck cranks normally but takes 3-5 seconds longer than usual to fire, suspect the cam sensor.

2. Check engine light with cam-sensor fault codes

A failing cam sensor almost always trips a code. Watch for these on a scan tool:

  • P0340 — Camshaft Position Sensor "A" Circuit Malfunction
  • P0341 — Camshaft Position Sensor "A" Range/Performance
  • P0344 — Camshaft Position Sensor "A" Intermittent
  • SPN 723 (J1939, heavy-duty trucks) — Engine Speed Sensor #2

On Cat engines, the Cat-specific code is often 168-2 (Cat C15 cam sensor). Detroit and Cummins use SAE codes through J1939 — your scan tool may show "Camshaft Speed Sensor" with FMI 2, 8, or 9.

3. Misfires and rough idle

Bad cam timing means at least one injector fires at the wrong moment. You'll feel it as misfires at idle or a noticeable shake, especially when warm. On an in-line six like the ISX or DD15, one cylinder dropping out is enough to feel through the steering wheel.

4. Poor acceleration or power loss

The ECM compensates for a noisy cam signal by retarding timing — the truck still runs, but you lose power, especially under load. Drivers describe it as "the truck has no pull anymore" or "I can't hold speed up the grade." If you've ruled out fuel filters, air filters, and the turbo, check the cam sensor.

5. Engine stalling

A cam sensor that's intermittent (rather than fully dead) will drop the signal at random moments. The ECM loses track of timing, fuel cuts, the engine stalls. It may restart immediately and run fine for hours before the next stall. Intermittent failures are the worst kind to diagnose because the code doesn't always set.

6. Reduced fuel economy

When the ECM is running on bad timing data, it tends to over-fuel to compensate. We've seen Cat C15s lose 1-2 MPG on a long haul once the cam sensor starts failing. That's $200-400/week in extra fuel for an OTR truck — more than the sensor and labor cost combined.

7. Limp mode / engine derate

On post-2007 emissions-controlled engines (DD15, ISX15, MX-13, D13), a confirmed cam sensor fault will derate the engine to protect the aftertreatment system. You'll lose top speed (often capped at 5 mph) and the dash will show a derate warning.

8. Engine won't shut off cleanly

This one's rare, but worth knowing. On some engines, when the ECM can't read the cam position at shutdown it can't set up the next start cycle. The result: hard starting next time, even though the engine seemed to shut down normally.


Common engine-specific notes

Cat C15 (and 3406E, ACERT)

The C15 cam sensor sits on the front of the engine, near the front gear group. Look for a small two-pin sensor with a 90-degree connector. Code 168-2 is the most common Cat fault. The sensor itself is straightforward; the harder part is sometimes a damaged tone ring on the cam gear.

If you're replacing one, also inspect the wiring harness — Cat harnesses chafe against the front cover and can short.

Cummins ISX (Signature, N14)

ISX cam sensors are mounted at the rear of the cylinder head, near the gear housing. Cummins calls it the camshaft speed sensor. SPN 723 FMI 9 is the most common fault you'll see in INSITE. Replacement is straightforward but tight — plan 30-45 minutes.

The N14 uses a similar sensor in a similar location.

Detroit DD15 (and DD13, DD16)

The DD15 cam sensor lives on the timing gear case at the front of the engine. It's a Hall-effect sensor on a 3-pin connector. The most common failure is the connector itself, not the sensor — corrosion in the connector pins gives an intermittent signal. Always inspect and clean the connector before replacing the sensor.

Volvo D13 (and D11, D16)

Volvo cam sensors mount on the rear gear housing. Failure modes are similar to other manufacturers. Volvo's diagnostic tool reports the fault as SPN 723 or sometimes specific Volvo PIDs.

Paccar MX-13

MX-13 cam sensor sits on the gear case cover, accessible from the driver's side. Replacement is easy — usually under 30 minutes.


How to test a camshaft position sensor

You have two options.

With a scan tool (preferred):

  1. Plug in and read both active and inactive codes.
  2. Look at live cam speed data while the engine cranks — if you see RPM on the cam channel, signal is reaching the ECM.
  3. If the engine runs, watch for sync errors between cam and crank.

With a multimeter (no scan tool):

  1. Disconnect the sensor.
  2. Set your meter to resistance (ohms).
  3. Check across the sensor pins. Most heavy-duty Hall-effect sensors should read between 200 and 1,000 ohms (check the OEM spec for your engine — values vary).
  4. Check for shorts to ground.
  5. With the sensor reconnected and the engine cranking, set your meter to AC volts — you should see a fluctuating voltage as the cam tooth passes.

If the resistance is out of spec, replace the sensor. If it's in spec, the wiring or the ECM may be the issue.


How much does it cost to replace a camshaft sensor on a diesel engine?

Part cost: $40 to $200 depending on engine and quality tier (OEM, OE-equivalent, aftermarket).

Labor: 0.3 to 2.5 hours depending on engine and access. Most are 30-60 minutes. The DD15 can run longer if the connector is corroded and the harness needs work.

Typical all-in cost at a shop: $150 to $500.

If you're DIY and have a basic socket set, this is one of the easier diesel sensor replacements. The hard part is reaching it on some engines — DD15 in particular is buried.


Don't ignore the warning signs

A bad cam sensor on a diesel won't strand you immediately, but every day you drive on a failing one costs you — in fuel, in extra wear from poor combustion, and in the risk of an unplanned breakdown when the sensor finally quits.

If you've got a check engine light, hard starts, or unexplained power loss, scan the codes first. If a cam sensor code shows up, fix it before it cascades into bigger problems.

Get the right replacement camshaft sensor

ATL Diesel stocks OEM and aftermarket camshaft position sensors for the engines our customers run hardest:

Not sure which sensor you need? Call us at (940) 286-4144 with your engine serial number — 20 years of doing this means we can usually pull the right part number in under 5 minutes.


Frequently asked questions

What does a camshaft sensor do on a diesel engine? The camshaft position sensor reads the camshaft's rotation and reports its position and speed to the engine control module. The ECM uses that data to time fuel injection. Without an accurate signal, fuel timing drifts and the engine runs poorly or won't start.

Can you drive with a bad camshaft sensor? Short term, yes — most engines will limp home using the crankshaft sensor alone. But you'll lose power, burn more fuel, and on emissions-controlled engines (post-2007) you may go into derate. Don't run a working truck for weeks on a failing cam sensor.

What are the OBD codes for a bad camshaft sensor? The most common are P0340, P0341, and P0344 on standard OBD-II. On heavy-duty trucks running J1939, you'll see SPN 723 with various FMI codes. Cat-specific code is 168-2.

How long does a camshaft position sensor last? On heavy-duty diesels, expect 300,000 to 700,000 miles. Heat, vibration, and oil contamination shorten life. Some Cat C15 sensors fail earlier — around 250,000 miles is common.

Will a bad camshaft sensor throw a check engine light? Almost always, yes. The ECM monitors the signal continuously, and a missing or out-of-range signal sets a fault code immediately. Intermittent failures are the exception — the code may set briefly and clear before you can read it.

Can I clean a camshaft sensor instead of replacing it? Sometimes. If the sensor is dirty (oil film, metal shavings on the magnetic tip), wiping it clean with brake cleaner can restore the signal. But if the sensor's internal electronics are degraded, cleaning won't help. If symptoms return within a few hundred miles, replace it.

Where is the camshaft position sensor located? It varies by engine. Cat C15: front of engine near the gear group. Cummins ISX/N14: rear of cylinder head near gear housing. Detroit DD15: timing gear case at the front. Volvo D13: rear gear housing. Paccar MX-13: gear case cover, driver's side.

Is the camshaft position sensor the same as the camshaft actuator? No. The position sensor reads where the cam is. A camshaft actuator (also called a VVT solenoid) is a hydraulic device that adjusts cam timing on engines with variable valve timing. Most heavy-duty diesels do not use VVT actuators.


Updated April 2026. Original published August 2020.