engine
Camshaft Position Sensor
for 2021 Toyota Camry 2.5L I4 · FWD
Difficulty
Easy
Time
1.0 h
Tools
6
Steps
10
Replace the camshaft position sensor on the 2018-2024 Toyota Camry 2.5L I4 engine to restore proper engine timing signal and resolve check engine light codes P0340, P0341, or P0345.
Warnings
⚠Engine must be completely cool before starting this procedure to prevent burns from hot components.
ℹ️The 2.5L I4 engine has two camshaft position sensors: one for intake (driver side) and one for exhaust (passenger side). Verify which sensor needs replacement based on diagnostic codes.
⚠Do not force electrical connectors during disconnection. Release tabs must be fully depressed to avoid breaking connector housing.
Tools required
10mm socket and ratchetEssential
Torque wrench (5-50 Nm range)Essential
Electrical connector release tool or small flathead screwdriver
Clean shop towelsEssential
Degreaser or brake cleaner
Small parts container
Parts
- Camshaft position sensor (intake or exhaust) × 1 — 90919-05060 (Intake) or 90919-05061 (Exhaust)
- O-ring seal for sensor × 1 — Usually included with sensor
Preparation
- Park vehicle on level surface and apply parking brake
- Turn ignition off and remove key
- Allow engine to cool completely for at least 30 minutes
- Open hood and secure with prop rod
- Disconnect negative battery terminal and wait 3 minutes for system discharge
- Note or photograph sensor location and wire routing before removal
- Clean area around sensor to prevent debris from entering engine
Procedure
- 1Locate the camshaft position sensorIdentify the correct camshaft position sensor based on diagnostic trouble code. The intake sensor is located on the driver side (left) of the cylinder head near timing chain cover. The exhaust sensor is on the passenger side (right) of the cylinder head. Both sensors are mounted vertically into the cylinder head with a single 10mm bolt.
- 2Disconnect the electrical connectorLocate the electrical connector on the sensor harness approximately 6-8 inches from the sensor body. Press down firmly on the connector release tab while pulling the connector straight off the sensor. If connector is tight, use a small flathead screwdriver to assist with tab release. Do not pull on wires directly.⚠Connector tabs are fragile. Apply steady pressure to release tab rather than prying or forcing the connector off.
- 3Remove sensor mounting boltUse a 10mm socket and ratchet to remove the single mounting bolt securing the camshaft position sensor to the cylinder head. The bolt is approximately 40mm long. Place bolt in parts container to prevent loss. Note that some oil seepage around the sensor area is normal on higher mileage vehicles.ℹ️Bolt may have thread locker compound applied from factory. Steady pressure will break it free.
- 4Extract the sensor from cylinder headGrasp the sensor body firmly and pull straight out from the cylinder head bore. The sensor may require gentle rocking motion to break seal with O-ring. Do not twist or bend sensor excessively. Once removed, inspect the sensor tip for metal debris, excessive oil contamination, or physical damage to the pickup.⚠Small amount of engine oil may drain from sensor bore. Have shop towel ready to catch oil and prevent spillage onto engine components.
- 5Clean the sensor mounting boreWipe the cylinder head bore clean using shop towels. Remove any old O-ring material, oil deposits, or debris from the bore and mounting surface. Ensure mating surface around bore is clean and free of dirt. Do not allow any debris to fall into the bore opening.⚠Do not spray cleaner directly into sensor bore as it may contaminate engine oil. Use dampened towel only.
- 6Prepare new sensor for installationRemove new camshaft position sensor from packaging and verify it matches the old sensor in size and connector configuration. Check that new O-ring is properly seated in the sensor groove. Apply light coating of clean engine oil to the O-ring to aid installation and prevent seal damage during insertion.
- 7Install new camshaft position sensorAlign the sensor with the cylinder head bore, ensuring correct orientation. The sensor will only fit one way due to its keyed design. Push sensor straight into bore by hand until it seats flush against the cylinder head mounting surface. The sensor should slide in smoothly with only light pressure required.⚠Do not force sensor into bore. If resistance is encountered, remove sensor and check for debris or damaged O-ring.
- 8Install and torque mounting boltInsert the 10mm mounting bolt through the sensor mounting tab and thread it into the cylinder head by hand to prevent cross-threading. Once bolt is finger-tight, use torque wrench to tighten bolt to specification. Verify sensor remains fully seated during torquing process.Torque specCamshaft Position Sensor10 Nm (7 lb-ft)
- 9Reconnect electrical connectorRoute sensor wire harness to match original configuration. Align electrical connector with sensor terminals and push straight on until connector locks with an audible click. Gently tug on connector to verify it is fully latched and secure. Ensure wire routing does not contact hot exhaust components or moving parts.
- 10Reconnect battery and clear codesReconnect negative battery terminal. Start engine and allow it to idle for 2-3 minutes. The check engine light should illuminate briefly during startup then extinguish. Use OBD-II scanner to clear any stored diagnostic trouble codes and verify no new codes are present.
Reassembly
- Verify all electrical connectors are fully seated and locked
- Confirm sensor mounting bolt is torqued to specification
- Ensure wire harness routing matches original configuration and has no contact with hot or moving components
- Double-check that no tools or parts were left in engine compartment
Verification
- Start engine and verify it runs smoothly without rough idle or misfires
- Check engine light should remain off after initial bulb check
- Use OBD-II scanner to verify camshaft position sensor signal is present and no codes P0340, P0341, or P0345 return
- Rev engine to 2500 RPM briefly and verify smooth operation with no hesitation
- Inspect sensor area for any oil leaks after 5 minutes of runtime
- Take vehicle for short test drive to confirm normal operation and verify no check engine light illumination