P0345 Toyota: Diagnose the Bank 2 Camshaft Sensor Fault
19 min read · by Nicole Bennett · Last updated: November 25, 2026
P0345 Toyota indicates a problem with the Camshaft Position Sensor “A” Circuit on Bank 2, meaning the engine control module (ECM) is not receiving the expected camshaft position signal. The fault can involve the camshaft position sensor, its electrical wiring, the timing signal plate or an underlying mechanical timing problem. A defective sensor is one possibility, but replacing it without testing the circuit can waste time and money.
Toyota uses different engine designs and camshaft monitoring systems across its cars, trucks and SUVs. The exact diagnostic procedure therefore depends on the model year and engine. Toyota service documentation for the 1GR-FE engine identifies P0345 with the Bank 2 camshaft position sensor circuit. A Toyota service bulletin also documents a sensor-clearance problem associated with this code on certain 2013 Scion FR-S vehicles.
The best approach is to confirm the affected engine, save the scanner’s freeze-frame information, inspect the Bank 2 sensor circuit and verify the camshaft signal. This guide explains what the code means, which symptoms to watch for, how to diagnose it and when driving should stop.
What P0345 Means on a Toyota
P0345 is a powertrain diagnostic trouble code for Camshaft Position Sensor “A” Circuit (Bank 2). It means the ECM has detected a problem with the electrical signal or operation of the designated Bank 2 camshaft position sensor circuit. The code does not automatically prove that the sensor itself has failed.
The camshaft position sensor monitors camshaft rotation and sends information to the ECM. The computer compares this information with crankshaft position data to establish engine position and control functions such as fuel injection and ignition timing. If the expected signal is missing, interrupted or otherwise incorrect, the ECM may store P0345 and turn on the check engine light.
Understanding the P0345 code
The five-character code contains information about the affected vehicle system and fault category:
- P: Identifies the powertrain system, which includes engine and transmission-related controls.
- 0: Identifies a standardized SAE generic code rather than a manufacturer-specific P1xxx code.
- 3: Places the fault within the ignition system or engine misfire-related diagnostic category.
- 4: Further identifies the relevant diagnostic fault group.
- 5: Identifies the individual diagnostic code within that group.
The important distinction is between Bank 2 and Bank 1. Bank 1 is the side of the engine containing cylinder 1. Bank 2 is the opposite cylinder bank on an engine with two banks. A four-cylinder inline Toyota engine generally has only one cylinder bank, so the Bank 2 designation should prompt a careful check of the vehicle’s engine configuration and the scanner’s exact code description.
What does sensor A identify?
Sensor A is a standardized designation for a particular camshaft position signal. On Toyota engines with separate intake and exhaust camshaft monitoring, Toyota service documentation identifies P0345 with the Bank 2 intake camshaft sensor. This distinction matters because the Bank 2 exhaust camshaft sensor has a different diagnostic designation on some applications.
For example, Toyota’s Scion FR-S bulletin separates P0345 for the Bank 2 intake sensor from P0390 for the Bank 2 exhaust sensor. The exact sensor arrangement and naming conventions still depend on the engine. Do not identify a sensor by guessing its physical location or assuming every Toyota uses the same configuration.

Tip: Confirm the Toyota’s model year, engine code and cylinder-bank layout before ordering a sensor. P0345 identifies a circuit fault, not a universal sensor location or a guaranteed failed component. For a comparison on a different vehicle, see P0345 Dodge.
Symptoms of P0345 on Toyota Vehicles
A Toyota with P0345 may show anything from an illuminated check engine light to difficult starting and poor engine operation. The symptoms depend on whether the ECM receives an intermittent signal, loses the signal completely or detects an associated camshaft timing problem.
Some vehicles remain relatively driveable because the ECM can use other engine-position information to maintain limited operation. Others develop serious starting or running problems. A code can also appear before the driver notices an obvious change in performance.
Common warning signs
- Check engine light: The malfunction indicator lamp illuminates after the ECM detects the relevant fault. A stored P0345 confirms that the computer has recorded a problem, not that a particular sensor needs replacement.
- Extended cranking: The starter may turn the engine longer than usual before it starts. Incorrect camshaft position information can interfere with the ECM’s ability to establish engine synchronization.
- Hard starting: The engine may require repeated starting attempts, particularly when the sensor signal becomes unreliable during cranking.
- Rough idle: The engine may shake, vibrate or run unevenly at a stop. Toyota’s 2013 FR-S service bulletin specifically associates certain camshaft sensor clearance problems with rough idle.
- Engine misfires: Incorrect engine-position information can contribute to poor combustion or misfire-related problems. Additional P0300-series codes may appear.
- Reduced acceleration: The engine may respond slowly to throttle input or feel less powerful than usual.
- Stalling: An intermittent camshaft signal can contribute to unstable operation or an engine that unexpectedly shuts off.
- Increased fuel consumption: Poor engine synchronization and abnormal combustion can reduce fuel efficiency.
Symptoms compared with possible causes
Symptoms help narrow the diagnostic direction, but none provides a definitive diagnosis by itself. Compare the vehicle’s behavior with the scanner data and electrical inspection results.
| Symptom | Possible explanation | Recommended check |
|---|---|---|
| Extended cranking | Missing camshaft signal | Sensor signal during cranking |
| Rough idle | Intermittent signal or incorrect sensor clearance | Live data and sensor installation |
| Sudden stalling | Intermittent wiring or sensor failure | Harness and connector inspection |
| Poor acceleration | Engine synchronization problem | Camshaft and crankshaft signals |
| Check engine light only | Intermittent or developing circuit fault | Stored, pending and freeze-frame codes |
| Misfire with rough running | Signal or mechanical timing problem | Misfire counters and timing correlation |
Toyota’s Scion bulletin is particularly useful because it documents an application where camshaft sensor clearance was associated with rough idle, extended cranking and misfire codes. These symptoms should not be assumed to have the same cause on every Toyota. They are diagnostic clues that require vehicle-specific confirmation.
Common Causes of Toyota P0345
P0345 can result from an electrical fault, a defective camshaft position sensor or a mechanical problem affecting the signal. Toyota service documentation lists sensor-circuit opens and shorts, the VVT sensor, camshaft timing components and the ECM among possible trouble areas on specific engines.
The most effective repair begins by identifying which part of the signal path has failed. Replacing the sensor without checking its connector, power supply, wiring and signal-generating components may leave the original problem unresolved.
1. Defective camshaft position sensor
The Bank 2 camshaft position sensor may develop an internal electrical fault. Heat, vibration, contamination and age can affect sensor performance. An intermittent failure may become more noticeable after the engine reaches operating temperature.
A defective sensor may stop producing a reliable signal even though the connector and wiring appear normal. A scan tool may show missing or inconsistent camshaft activity. Depending on the sensor design, an oscilloscope or the manufacturer’s specified resistance test may be necessary to confirm failure.
2. Damaged wiring or electrical connectors
An open circuit interrupts the electrical path between the sensor and ECM. A short circuit can cause an abnormal signal or disrupt the sensor’s power or ground reference. Damaged insulation, corrosion, loose terminals and stretched wiring are common inspection targets.
Pay particular attention to connectors exposed to engine heat, oil contamination and vibration. A terminal that looks connected may still have poor electrical contact. Moving the harness during an appropriate diagnostic test can sometimes reveal an intermittent connection, but electrical measurements must follow the correct Toyota wiring diagram.
3. Incorrect sensor installation or clearance
A sensor that is not correctly seated may fail to maintain the required relationship with its timing signal plate. Incorrect clearance can weaken or distort the signal, depending on the sensor design.
Toyota’s Scion service bulletin documents this type of issue on certain 2013 FR-S vehicles. The bulletin describes a specific inspection and shim procedure. For those covered vehicles, Toyota specifies a target clearance of 1.25 to 1.35 mm. This is a model-specific specification, not a universal Toyota sensor-clearance measurement. The bulletin does not establish that every Toyota with P0345 needs a shim or has the same problem.
The bulletin also distinguishes the Bank 2 intake sensor associated with P0345 from the Bank 2 exhaust sensor associated with P0390. This distinction prevents a technician from adjusting or replacing the wrong component.
4. Damaged camshaft timing gear or signal plate
The sensor depends on a rotating target to generate its position signal. Damaged, worn or missing signal-plate teeth can interfere with the signal pattern. A damaged camshaft timing gear can therefore produce a fault even when the sensor itself is functional.
Toyota’s 1GR-FE diagnostic procedure specifically includes inspecting the camshaft timing gear signal-plate teeth. This is an important distinction because installing another sensor will not correct a damaged signal-generating component.
5. Timing chain problems
A stretched timing chain or a chain that has jumped a tooth can affect the relationship between camshaft and crankshaft rotation. The ECM may receive signals that do not match the expected engine timing.
Timing-chain problems may be accompanied by rattling noises, poor performance, hard starting or additional camshaft correlation codes. Toyota’s 1GR-FE documentation identifies jumped timing-chain teeth among the possible trouble areas for P0345. Mechanical timing should be checked when supporting evidence exists, rather than assuming every P0345 indicates a chain failure.
6. ECM malfunction
The ECM processes the camshaft position signal and determines whether it meets the expected operating conditions. A damaged control module or an internal input-circuit fault can potentially cause P0345.
However, ECM failure should be considered only after verifying sensor operation, power supply, grounds, wiring continuity, connector condition and mechanical timing. Toyota service procedures include these earlier checks for a reason. Replacing an ECM without confirming its failure can create unnecessary expense and additional programming requirements. If you want to see how the same fault shows up on another make, read our guide to P0345 Jeep.

How to Diagnose P0345 with an OBD2 Scanner
Diagnosing P0345 requires more than reading the trouble code and clearing the warning light. A scanner can establish when the fault occurred, identify related codes and reveal whether the ECM is receiving plausible camshaft position information.
A basic OBD2 scanner can retrieve generic powertrain codes and freeze-frame information. More advanced equipment may provide Toyota-specific live data, camshaft synchronization information and manufacturer-level diagnostic functions. An oscilloscope and digital multimeter may be required for deeper electrical testing.
Step 1: Read all diagnostic trouble codes
Connect the scanner to the vehicle’s 16-pin OBD2 diagnostic connector, generally located beneath the driver’s dashboard. Switch the ignition on and retrieve stored, pending and permanent codes where supported.
Record every code before clearing anything. Other codes can provide important clues about the underlying problem. For example, a camshaft position code combined with a crankshaft position code may indicate a broader synchronization or electrical issue.
- P0340: Camshaft Position Sensor A Circuit, Bank 1 or Single Sensor.
- P0345: Camshaft Position Sensor A Circuit, Bank 2.
- P0335: Crankshaft Position Sensor A Circuit.
- P0016: Crankshaft and camshaft position correlation, Bank 1 Sensor A.
- P0018: Crankshaft and camshaft position correlation, Bank 2 Sensor A.
- P0300-series codes: Random or cylinder-specific misfires.
Step 2: Examine freeze-frame data
Freeze-frame data records selected engine operating conditions when the ECM detects a fault. Save this information before clearing codes or disconnecting the battery. It can help determine whether the problem occurred during starting, idling, acceleration or normal cruising.
Review the available engine RPM, coolant temperature, vehicle speed, calculated load and other relevant parameters. If the fault appears during cranking, investigate whether the Bank 2 sensor produces a usable signal while the starter turns the engine. If it occurs only when hot, inspect for heat-related sensor or wiring problems.
Toyota specifically recommends reviewing freeze-frame information when diagnosing the 1GR-FE P0345 fault. Its service procedure explains that the recorded information can help establish whether the engine was running or stopped, whether it was warm and whether the air-fuel mixture was lean or rich. The complete diagnostic procedure is available in the Toyota 1GR-FE P0345 diagnostic service manual.
Step 3: Inspect live camshaft and crankshaft data
Select the available camshaft position, crankshaft position and synchronization parameters. The exact names vary between scanners. Some Toyota-capable tools provide additional data that generic scanners cannot display.
Look for a missing Bank 2 camshaft signal, an unstable reading or a synchronization status that changes unexpectedly. Compare the readings with the corresponding Bank 1 data where the engine has comparable sensors and the scan tool supports the comparison.
An RPM reading that remains at zero during cranking may suggest a crankshaft signal problem rather than an isolated camshaft sensor issue. However, scan-tool refresh rates and display limitations can affect what appears on screen. Confirm suspicious readings with the appropriate electrical test.
Step 4: Check related engine operating data
Fuel trims are not a direct test of the camshaft sensor, but they can reveal additional engine problems that may contribute to rough operation. Examine short-term and long-term fuel trim values at idle and at a steady elevated engine speed when safe to do so.
Combined fuel trims beyond approximately plus or minus 10 percent can indicate a mixture problem that deserves investigation. Values approaching or exceeding 25 percent may contribute to lean or rich diagnostic codes. These readings should be treated as supporting information, not proof that a fuel mixture problem caused P0345.
Where the Toyota-specific scanner supports Mode $06, review relevant onboard monitor test results. Mode $06 can provide additional information about monitor performance and certain diagnostic test results. Not every Toyota exposes a useful camshaft-specific Mode $06 result, so unavailable or unsupported data should not be interpreted as a failed sensor.
Step 5: Inspect the sensor and electrical circuit
With the engine switched off, inspect the relevant Bank 2 sensor connector and accessible wiring. Look for damaged insulation, corrosion, oil contamination, loose terminals and evidence of previous repairs. Confirm that the connector is fully seated and that the sensor is installed correctly.
The next checks should follow the wiring diagram and service specifications for the exact engine. A digital multimeter can help test supply voltage, continuity and unwanted shorts. Never apply generic voltage or resistance specifications to a Toyota sensor without confirming its design.
For example, Toyota’s published 1GR-FE procedure specifies 4.5 to 5.5 volts at a particular VVT sensor power-source check. It also specifies less than 1 ohm for certain wiring continuity tests and at least 10 kΩ for specific checks against body ground. These values apply to the documented circuit and should not be transferred automatically to another Toyota engine.
Step 6: Verify the sensor waveform and mechanical timing
When basic electrical checks do not reveal the problem, an oscilloscope can show whether the sensor produces a consistent signal. Compare the waveform with the correct Toyota service information. A missing, distorted or intermittent waveform can help distinguish a sensor fault from a wiring or signal-plate problem.
Toyota’s 1GR-FE procedure checks the VV1, VV2 and NE waveforms at the ECM connector. It also provides engine-specific power-source and wiring specifications. For the covered 2013 FR-S application, Toyota issued a separate inspection procedure for camshaft sensor clearance. The Toyota Scion service bulletin for hard starting, rough idle and camshaft sensor codes explains the limited vehicle applicability and repair procedure.
If the electrical signal is present but engine synchronization remains incorrect, investigate the camshaft timing gear and timing chain. A mechanical timing inspection may be necessary to establish whether the camshaft and crankshaft are correctly aligned.
The correct diagnostic order prevents unnecessary parts replacement. Confirm the sensor circuit first, verify the signal next and investigate mechanical timing when the evidence points in that direction.
Tip: Save all trouble codes and freeze-frame information before clearing anything. Electrical resistance and voltage tests should follow the exact Toyota wiring diagram. Disconnect the battery and follow the manufacturer’s precautions before performing connector or component removal procedures. Owners of this model also ask about P0339 Toyota.
Is P0345 Serious, and Can You Drive a Toyota with It?
P0345 should be treated as a potentially serious engine-management problem because the ECM depends on accurate camshaft position information. Whether the Toyota can be driven depends on the symptoms, the severity of the signal failure and whether other engine faults are present.
A Toyota with a steady check engine light, normal engine operation and no other warning signs may be capable of a short, cautious trip to a repair facility. However, continued driving without diagnosis is not recommended because an intermittent fault can become a complete signal failure.
When driving may be possible
If the engine starts normally, idles smoothly and accelerates without hesitation, a short trip for diagnosis may be reasonable. Keep engine load low and avoid towing, hard acceleration and high-speed driving. Monitor the dashboard for changes in warning lights or engine behavior.
This is not an assurance that the vehicle is safe to operate indefinitely. A camshaft signal can fail without much warning, and a vehicle that stalls in traffic creates an additional safety risk.
When to stop driving
- The engine stalls repeatedly or shuts off while driving.
- The engine struggles to start or requires repeated cranking attempts.
- The check engine light flashes, indicating an active misfire that can damage the catalytic converter.
- The vehicle develops severe shaking, loss of power or unpredictable acceleration.
- A timing-chain noise or other serious mechanical warning appears alongside the code.
A flashing check engine light deserves particular attention. Reduce engine load immediately and arrange prompt inspection. If the engine runs severely or the vehicle cannot maintain safe operation, stop in a safe location and arrange towing rather than continuing to drive.
Do not assume clearing P0345 makes the Toyota safe. A pending fault may return, and a permanent diagnostic code will not disappear simply because someone clears the scanner memory. The underlying fault must be repaired and the appropriate onboard monitor must pass.
Toyota P0345 Repair Options and Cost Factors
The repair for P0345 depends on which component is responsible for the missing or incorrect Bank 2 camshaft signal. A sensor replacement may resolve a confirmed sensor failure, but wiring repairs, connector replacement, signal-plate work or mechanical timing repairs may be necessary in other cases.
There is no reliable universal repair price for every Toyota carrying this code. Model year, engine configuration, component accessibility, diagnostic time and local labor rates all influence the final bill.
Possible repair approaches
- Replace the camshaft position sensor: Appropriate when testing confirms that the Bank 2 sensor is defective and its power supply, wiring and signal target are functioning correctly.
- Repair the wiring: Appropriate when testing identifies an open circuit, short circuit, damaged insulation or poor electrical connection.
- Repair the connector: Loose, corroded or damaged terminals may need professional repair or replacement.
- Correct sensor installation: The sensor may require correct seating, mounting or a manufacturer-specified clearance adjustment.
- Repair the timing signal components: A damaged camshaft timing gear or signal plate may require component replacement.
- Repair the timing chain system: A confirmed chain or mechanical timing problem requires a more extensive engine repair.
- Repair or replace the ECM: This should only be considered after the sensor, wiring, connections and mechanical components have been verified.
What affects the repair cost?
The first cost factor is diagnostic labor. A technician may need to retrieve Toyota-specific data, inspect the harness, test sensor power and ground, measure resistance and examine an oscilloscope waveform. An intermittent problem can require additional time because the fault may not appear during every test.
The second factor is component accessibility. Some engines provide relatively straightforward access to the affected sensor, while others require removal of surrounding components. The exact repair procedure depends on the vehicle and engine design.
Parts also affect the final expense. A sensor-only repair is different from a repair involving a damaged timing gear, connector, wiring harness or timing-chain assembly. Genuine Toyota parts, aftermarket components and the availability of individual repair components can change the parts portion of the bill.
Finally, shop labor rates and additional work influence the total. Independent repair facilities and Toyota dealerships may have different diagnostic procedures and labor charges. A mechanical timing repair generally requires more labor than replacing an accessible sensor after a confirmed diagnosis.
DIY repair versus professional diagnosis
A mechanically experienced owner may be able to inspect an accessible connector, examine visible wiring and retrieve diagnostic codes with an OBD2 scanner. These preliminary checks can help establish whether the problem is intermittent and whether other engine faults are present.
However, electrical testing requires the correct wiring diagram, a suitable multimeter and an understanding of the sensor circuit. Timing-chain inspection and camshaft timing repairs require additional tools and engine-specific procedures. Incorrect work can cause further damage or create an unsafe vehicle.
Professional diagnosis is particularly appropriate when P0345 appears with hard starting, stalling, multiple synchronization codes or suspected timing-chain problems. Ask the repair facility to identify the failed component and explain the test results before approving major parts replacement. Before you clear the codes, check whether P0356 Toyota applies to your vehicle too.
Frequently Asked Questions
Can a Toyota have P0345 without noticeable symptoms?
Yes. An intermittent or developing sensor-circuit problem may trigger a diagnostic code before the driver notices rough running or starting problems. A pending code can indicate that the ECM detected a fault that has not yet met the conditions for confirmation.
Does replacing the battery fix P0345?
Not normally. A weak battery can create broader electrical or starting problems, but replacing it does not repair a defective camshaft sensor circuit or damaged timing signal plate. Check battery condition and charging voltage if low-voltage symptoms or additional electrical codes are present.
Will P0345 cause a Toyota to fail an emissions inspection?
An illuminated malfunction indicator lamp or an emissions-related OBD readiness problem can prevent a vehicle from passing an applicable inspection. Requirements vary by state and inspection program. Clearing the code immediately before testing may also leave readiness monitors incomplete.
Can P0345 return after replacing the sensor?
Yes. The code can return if the original problem involves wiring, connector terminals, incorrect sensor clearance, a damaged signal plate or mechanical timing. An incorrect replacement part or installation problem can also prevent the repair from succeeding.
How long does a Toyota need to clear a permanent P0345 code?
There is no universal mileage or number of driving days. A permanent diagnostic trouble code clears only after the underlying fault has been corrected and the ECM’s relevant monitor runs and passes under the required operating conditions. A scanner cannot force a permanent code to disappear.
P0345 on a Toyota identifies a Bank 2 camshaft position sensor circuit problem, but the sensor is not automatically the failed component. Save the diagnostic data, inspect the electrical circuit and verify the camshaft signal before replacing parts. Correct diagnosis helps prevent unnecessary repairs and protects the engine from further damage.
-
Nicole Bennett, Technical Content Editor at BestOBD2Picks Nicole turns OBD-II standards, service bulletins, and repair data into step-by-step diagnostic guides anyone can follow. Technical Content Editor
Related guides
LearnP0345 Code Meaning: Bank 2 Sensor Fault Causes and Fixes
LearnP0304 Toyota Corolla: Diagnose Cylinder 4 Misfires and Choose the Right Repair
LearnP0306 Toyota Code: Cylinder 6 Misfire Causes and Tests
LearnP0353 Toyota Code: Ignition Coil C Circuit Causes and Fixes
LearnP0328 Toyota: Knock Sensor Bank 1 Code Causes and Fixes
LearnP0037 Code: Causes, Checks and Repair Costs