Back to Vehicles
Ford2021-2024Code Combo

P0345 Code: Ford F-150 (2021-2024) - Causes, Symptoms & Fixes

Complete guide to P0345 diagnostic trouble code on 2021-2024 Ford F-150 - causes, symptoms, repair costs

Get Personalized Help

Ask about specific issues with your Ford F 150.

Ask MechanicGPT

No recalls found in NHTSA database

This guide focuses on P0345 for the Ford F-150 model years 2021–2024. The data you provided shows no owner complaints and no recalls in the NHTSA database for this exact combination, so the diagnostic guidance below leans on general Ford F-150 knowledge and common, well-established diagnostic practices for P0345. If you have access to live data from a scan tool, use it to supplement these steps.

CODE MEANING AND SEVERITY

  • Code: P0345
  • Description: Camshaft Position Sensor "A" Circuit Malfunction (Bank 1). In practical terms, the PCM is unable to reliably read the camshaft position sensor signal for Bank 1 A, which is used to determine cam timing and synchronize ignition/fuel delivery.
  • Bank/Sensor labeling: In Ford engines, Bank 1 corresponds to the side of the engine that contains cylinder 1. Sensor A generally refers to the primary camshaft position sensor for that bank.
  • Severity: Moderate to high. If the PCM cannot reliably determine cam timing, the engine may be hard to start, run poorly, stall, or enter limp mode. A P0345 can be intermittent or persistent, and it may coexist with other misfire or timing-related codes.

COMMON CAUSES ON FORD F-150

  • Bad camshaft position sensor (Bank 1 A) or its wiring. Sensor may be failing, producing an intermittent or no signal.
  • Damaged or corroded wiring harness or connectors to the camshaft sensor (open circuit, high resistance, short to ground/other wires, or water intrusion).
  • Poor connector seal or dirt/oil contamination on the sensor connector.
  • Oil or coolant leaks contaminating the sensor or its wiring, or excessive engine oil in the timing area.
  • Timing-related issues such as a worn or stretched timing chain/belt, slipping cam phaser, or misalignment that prevents the sensor from producing a clean reference signal.
  • PCM/ECU/software issue or a failed/weak 5V reference signal, although this is less common than sensor or wiring faults.
  • Other cam sensor circuits (e.g., a secondary bank sensor or related sensor) causing diagnostic confusion if the PCM cross-checks signals.

SYMPTOMS

  • Check Engine Light (MIL) illuminated with P0345 solid or intermittent.
  • Difficulty starting or no-start condition.
  • Rough idle, misfires on one or more cylinders, or reduced engine power/acceleration.
  • Engine may run in a degraded mode (limp mode) to protect itself.
  • On some starts, you may notice surging or inconsistent idle.
  • Occasional stalling or hesitation in drive or when shifting gears.
  • In some cases, there are related misfire codes (P0300–P0308) or timing-related codes (P0010/P0011, P0012, P0013) if cam timing is affected.

DIAGNOSTIC STEPS

Note: Before performing tests, verify you have a current P0345 DTC and review freeze-frame data for rpm, engine load, temperature, and any accompanying codes.

Step 1: Quick visual and configuration check

  • Inspect the camshaft position sensor and its wiring harness for obvious damage, oil leaks, or loose connections.
  • Check the sensor connector for corrosion, bent pins, or damaged seals. Reseat the connector firmly.
  • Inspect the area around the timing cover for oil leaks that could contaminate the sensor or wiring.

Step 2: Scan data and live signal

  • Use a capable scan tool to view live camshaft position sensor A signal and the 5V reference (Vref) and ground.
  • Confirm there is a stable 5V reference, a solid ground, and a clean, recognizable switching signal (often a pulsed digital or 0–5V waveform). If the signal is missing, erratic, or flat, the sensor or its circuit is suspect.
  • If the vehicle has multiple cam sensors (e.g., Bank 1 A and Bank 1 B or a secondary sensor), compare signals between them. A valid counterpart sensor with expected signals can help isolate the fault to Bank 1 A.

Step 3: Electrical test of the sensor circuit

  • With the ignition ON but engine OFF (or as specified by the service manual), backprobe the sensor harness:
    • Verify the 5V reference wire is present and constant.
    • Verify the ground wire is solid and has continuity to chassis/PCM ground.
    • Verify the signal wire shows a switching signal when the engine is cranked.
  • Check for excessive resistance or intermittent connections. Corroded pins, damaged insulation, or compromised grounds can cause P0345.

Step 4: Sensor replacement consideration

  • If the signals are inconsistent, the reference and ground check out, and there are no other wiring faults, consider replacing the camshaft position sensor (Bank 1 A) with an OEM or reputable replacement.
  • After replacement, clear the codes and perform a road test to confirm the fix and recheck for any reoccurrence of P0345.

Step 5: Mechanical timing assessment (if symptoms persist after sensor replacement)

  • If the P0345 reappears after a new sensor, or if diagnostic data suggests timing misalignment, inspect or test:
    • Timing chain/belt wear, tensioner, and guides.
    • CAM phaser operation (within service limits) and reluctor ring alignment.
    • Ensure there is no mechanical interference or damage that could affect cam position sensing.
  • Mechanical timing work is typically more involved and may require special tools and procedures per Ford’s service information.

Step 6: Related codes and cross-checks

  • Check for P0340, P0341, P0342, P0343, P0344 (other camshaft position sensor circuit issues or ranges) and any misfire codes P0300–P0308.
  • If ignition or fuel system codes are present, diagnose those in parallel to avoid chasing symptoms that aren’t caused by the cam sensor circuit.

Step 7: Clearance and recheck

  • Clear codes after any repair and perform a thorough test drive to ensure no reoccurrence.
  • If codes return soon after repair, re-check all wiring, grounds, and the possibility of a secondary issue (timing, PCM, or a secondary cam sensor).

RELATED CODES

  • P0340: Camshaft Position Sensor Circuit Malfunction (Bank 1 or general)
  • P0341: Camshaft Position Sensor Range/Performance Bank 1
  • P0342: Camshaft Position Sensor Circuit High Input Bank 1
  • P0343: Camshaft Position Sensor Circuit Low Input Bank 1
  • P0344: Camshaft Position Sensor Range/Performance (no signal)
  • P0300–P0308: Misfire codes that may be present if cam timing or cylinder firing is affected
  • P0010/P0011/P0012/P0013: Timing over-advanced or retard (may appear if cam timing is clearly off and relates to timing components)

REPAIR OPTIONS AND COSTS (2025 PRICES)

Prices shown are approximate ranges and can vary by region, shop, and exact engine variant in the 2021–2024 F-150. Labor times assume typical engine layout access for cam sensor work; more extensive timing work will be higher.

  • Camshaft Position Sensor (Bank 1 A) replacement

    • Parts: $50–$120 (OEM or aftermarket sensor)
    • Labor: 0.5–1.5 hours (often 1.0–1.5 hours depending on access)
    • Typical total: $130–$350
  • Wiring harness/connector repair or replacement (if wiring is damaged)

    • Parts: $20–$150 (pins, connectors, wire repair, or harness section)
    • Labor: 0.5–2.0 hours (depending on access)
    • Typical total: $100–$500
  • Timing components inspection/repair if timing is suspected

    • Parts: Timing chain/belt kit, tensioners, guides (if needed): $200–$600+
    • Labor: 4–8+ hours (significantly higher if timing cover removal is required)
    • Typical total: $1,000–$3,500+
  • PCM/ECU software update or replacement (rare)

    • Parts: $0–$500 (software update included with dealer service)
    • Labor: 0.5–1.5 hours
    • Typical total: $100–$600
  • Miscellaneous

    • Diagnostic fee (if performed at a shop): $0–$120 (often waived if repair performed)
    • Miscellaneous consumables: ~$5–$20

DIY vs PROFESSIONAL

  • DIY-friendly tasks (if you have basic tools and experience):
    • Visual inspection of sensor and wiring.
    • Checking and reseating the sensor connector; cleaning corrosion or dirt.
    • Basic live data checks with a capable scan tool to observe the sensor signal, 5V reference, and ground.
    • Replacing the cam sensor if you can access it without removing major components; follow OEM service procedures.
  • DIY caveats:
    • Access can be limited depending on engine variant; some F-150 engines place the cam sensor behind timing covers or in tight spaces.
    • Replacing timing components or diagnosing a timing-related issue requires more advanced skill and tools; improper timing can cause engine damage.
  • Professional route:
    • When timing components may be involved, or if you lack the proper tools or experience for diagnosing wiring harness faults in high‑voltage or tight engine areas.
    • Professionals can perform precise voltage/scan data tests, use an oscilloscope for signal integrity, and verify timing with manufacturer specifications.

PREVENTION

  • Regular oil changes with the correct grade to maintain engine cleanliness and reduce debris in the timing area.
  • Address oil leaks promptly; oil contamination can affect sensor surfaces and wiring.
  • Use high-quality Cables/Connectors and ensure connectors remain dry and clean; reseal as needed if moisture exposure is suspected.
  • Periodically scan for codes and live data to catch intermittent sensor faults early.
  • Keep timing components in good condition; if the engine exhibits noise, rough idle, or unexpected timing-related symptoms, have timing components inspected sooner rather than later.
  • Addressing abnormal symptoms promptly helps prevent wiring damage or sensor failures from escalating.

Important data note

  • The data you supplied shows no recalls and no owner complaints for this exact make/model/year/model-year combination in the NHTSA database. No recalls found in NHTSA database. This means the guidance reflects general best practices and Ford F-150 experience rather than a documented, published recall or complaint pattern for P0345 on 2021–2024 F-150s. If you want to cross-check current recalls or complaints, you may want to search the NHTSA database directly for the most up-to-date information.

Frequently Asked Questions

The 2021-2024 Ford F 150 has several known issues that vary by model year. See our detailed guide for specific problems, causes, and repair costs.

Vehicle Info

MakeFord
ModelF 150
Years2021-2024

DISCLAIMER: This information is for educational purposes only. MechanicGPT is not a licensed mechanic. Always consult a certified mechanic for diagnosis and repair. Improper repairs can be dangerous.