P0365: Camshaft Position Sensor B Circuit

P0365 means the engine computer is not seeing the proper signal from camshaft position sensor B. The most common fix is repairing the sensor wiring or replacing the cam sensor, which usually costs about $150 to $450 at an independent shop.

Severity
Moderate
Can I drive?
Drive with caution
DIY?
Possible with some experience
Repair cost range
$100 – $2,500

Get the answer for your exact car

Add your car and a few details. DashClue asks up to 3 questions, then tells you the most likely cause and what it should cost.

FreeNo card neededAnswer in about 2 minutes

What does P0365 mean?

The camshaft position sensor tells the engine computer where the camshaft is so it can time fuel injection and ignition correctly. On many vehicles, sensor B refers to the second cam sensor or the sensor for a specific camshaft, depending on the engine design. If the signal is missing, weak, or erratic, the computer may not know exactly when to fire the plugs or inject fuel. That can cause rough running, hard starting, or a no-start condition. In some cases the problem is a damaged connector, wiring issue, or a bad timing component affecting the sensor signal.

Common symptoms

  • Check engine light on
  • Hard starting
  • Rough idle
  • Engine cranks but won’t start
  • Hesitation when accelerating
  • Loss of power

Causes, fixes and costs

DashClue diagnosis

P0365: Camshaft Position Sensor B Circuit

General guide for most cars. Your car may differ.

Severity: ModerateDrive with caution

The car may still run, but it can stall, run rough, or fail to start if the signal gets worse. Stop driving if the engine starts cutting out, stalls in traffic, or will not restart.

Most likely causes

  1. 1

    Failed camshaft position sensorHigh

    A bad sensor often causes a steady check engine light with rough idle, hard starting, or intermittent stalling. If the code returns right away after clearing it, the sensor itself is a top suspect.

    Quick check: Inspect the sensor and compare live camshaft data if available; if unplugging/reseating changes nothing, the sensor may be bad.

  2. 2

    Damaged wiring or connectorHigh

    Intermittent symptoms, a code that comes and goes, or problems after recent engine work often point to wiring or a loose plug. Oil intrusion, broken insulation, or corrosion at the connector can interrupt the signal.

    Quick check: Wiggle-test the harness near the sensor, look for broken wires, bent pins, corrosion, or oil in the connector.

  3. 3

    Timing chain or cam phaser issueMedium

    If the engine also has rough idle, poor power, or other cam/crank correlation codes, the sensor may be fine but the cam timing is off. This is more likely on engines with stretch-prone chains or variable valve timing problems.

    Quick check: Scan for related timing codes and listen for chain rattle or abnormal engine noise; a shop can verify cam/crank correlation with a scan tool.

  4. 4

    Faulty PCM or driver circuitLow

    This is less common, but it can happen if the sensor and wiring test good and the code still will not clear. A no-signal condition with proper power and ground can point to the control module.

    Quick check: Have the power, ground, and signal circuit tested before replacing the module.

Can you fix it yourself?

Possible with some experience

Difficulty: Moderate. If the sensor is easy to access, a DIY check may only require basic hand tools, a scan tool, and possibly a wiring diagram. If the code is caused by timing issues or deeper wiring faults, it is better left to a shop.

Show the steps
  1. Read all codes and freeze-frame data
  2. Inspect the cam sensor connector and wiring
  3. Check for oil, corrosion, bent pins, or loose fit
  4. Clear the code and see if it returns
  5. Replace the cam sensor if the wiring looks good and the code points to the sensor
  6. If the code returns, test power, ground, and signal circuits
  7. Check timing-related codes or engine noise if symptoms suggest a mechanical issue

Estimated repair cost

$150 – $450

Camshaft position sensor replacement: parts usually $30-$150, labor $120-$300

  • Cam sensor wiring repair$120 – $400
  • Cam sensor connector replacement$100 – $300
  • Timing chain or VVT repair$600 – $2,500
  • PCM diagnosis or replacement$250 – $1,200

Prices vary by vehicle, engine layout, and local labor rates.

Frequently asked questions

Can I drive with code P0365?

Usually yes for a short time, but drive gently and avoid long trips. If the engine starts stalling, running very rough, or not starting, stop driving and have it checked.

Will P0365 clear itself?

It might go away temporarily if the fault is intermittent, but the underlying problem usually remains. If the sensor, wiring, or timing issue is still there, the code will come back.

Is P0365 a bad cam sensor?

Often it is, but not always. Wiring damage, a loose connector, timing problems, or a PCM issue can create the same code.

Can a camshaft sensor cause a no-start?

Yes. If the engine computer cannot read the camshaft position signal, some engines may crank but not start or may start and stall.

Will P0365 fail emissions or inspection?

In many states, yes, because the check engine light is on and the code means the engine system has a fault. The vehicle usually needs the problem fixed and monitors reset before it will pass.

Related codes

  • P0340 Camshaft Position Sensor 'A' Circuit (Bank 1)
  • P0341 Camshaft Position Sensor 'A' Circuit Range/Performance
  • P0345 Camshaft Position Sensor 'A' Circuit (Bank 2)
  • P0366 Camshaft Position Sensor B Circuit Range/Performance
  • P0016 Crankshaft Position - Camshaft Position Correlation (Bank 1 Sensor A)
  • P0017 Crankshaft Position - Camshaft Position Correlation (Bank 1 Sensor B)

Related problems

This guide covers most cars and is general advice, not an inspection. Prices are typical US independent-shop ranges and vary by region, car and shop. If your brakes, steering or a warning light feel unsafe, stop driving and contact a mechanic.