What a camshaft position sensor does and why it fails
A camshaft position sensor tells your engine's computer where the camshaft is in its rotation cycle. The computer uses this information to time fuel injection and spark plug firing correctly. When the sensor fails, your engine can't synchronize these events, which usually triggers a check engine light and causes rough idling, poor fuel economy, or difficulty starting.
Camshaft position sensors fail because they wear out over time — the internal components degrade after years of exposure to heat and vibration. A sensor can also fail if oil leaks onto it or if the connector corrodes. Most sensors last between 80,000 and 150,000 miles, though some fail earlier depending on driving conditions and engine design.
You'll know you need replacement when your check engine light comes on and a diagnostic scan shows a code like P0010, P0014, P0016, or P0018 (the exact code depends on which camshaft sensor failed and which bank of the engine it monitors). Some vehicles have one sensor; others have two or more.
Key Takeaways
- Camshaft position sensors typically cost between $150 and $400 for the part itself, plus $200 to $500 in labor if you take it to a shop.
- The sensor sits on or near the camshaft and connects to the engine with a bolt and an electrical connector that you can disconnect by hand.
- Replacing one takes 30 minutes to two hours depending on engine layout and how accessible the sensor is in your vehicle.
- You will need a socket set, a wrench, a screwdriver, and possibly a sensor socket if the sensor is recessed; no special diagnostic tools are required.
- If you are not comfortable working under the hood, this job is straightforward enough for a shop to handle affordably compared to other engine repairs.
Locate the sensor on your specific vehicle
The camshaft position sensor location varies widely by make and model. On some vehicles it bolts directly to the top of the engine near the valve cover; on others it sits inside the timing cover or on the side of the cylinder head. Your owner's manual or a repair manual for your year and model will show the exact location with a diagram.
If you don't have a manual, search online for "[your year, make, model] camshaft position sensor location" along with "diagram" or "replacement guide." YouTube videos for your specific vehicle are often the fastest way to see where the sensor sits and what you'll encounter when you remove it.
Before you start, make sure the engine is cold. Camshaft position sensors sit near hot engine parts, and you can burn yourself on a warm engine block or exhaust manifold. If you've been driving, let the engine cool for at least 30 minutes.
Disconnect the battery and remove the sensor
Disconnect the negative terminal of your battery first. This prevents electrical shorts and protects the engine computer while you work. Loosen the nut on the negative cable with a wrench and slide the cable off the battery post.
Locate the electrical connector on the sensor. It usually has a clip or tab you can press or pull to release it. Disconnect the connector by hand — you should not need tools. If the connector is stuck, gently wiggle it side to side while pulling; do not yank hard or you may break the connector or the wires inside.
Remove the bolt that holds the sensor to the engine. Most sensors use a single bolt, though some use two. Use a socket wrench or open-end wrench that fits the bolt head. Once the bolt is loose, the sensor should slide out by hand. If it's stuck, tap the wrench handle gently with a rubber mallet to break it free, or use a sensor socket if the sensor head is recessed and difficult to grip.
Install the new sensor and reconnect everything
Before you install the new sensor, check the rubber O-ring or gasket on the tip. If your old sensor had one and the new sensor doesn't come with one, transfer the old O-ring to the new sensor. A missing seal can cause oil leaks or allow dirt into the engine.
Slide the new sensor into the mounting hole and hand-tighten the bolt first. Once you're sure it's seated correctly, use your wrench to tighten the bolt to the torque specification listed in your repair manual. Most camshaft position sensors tighten to between 7 and 25 foot-pounds — over-tightening can crack the sensor housing or strip the bolt.
Reconnect the electrical connector by pushing it onto the sensor until you hear or feel a click. The connector should sit flush against the sensor body with no gap. Reconnect the negative battery terminal by sliding the cable back onto the post and tightening the nut with a wrench.
Clear the check engine light and test the repair
Start the engine and listen for any unusual sounds. The engine should idle smoothly and start without hesitation. If the check engine light is still on, you may need to clear the diagnostic codes using a scan tool. Many auto parts stores will scan your vehicle for free and show you the codes, though clearing them usually requires a tool you own or a shop visit.
If you have access to a basic OBD-II scan tool (available at most auto parts stores for $25 to $100), you can clear the codes yourself by connecting the tool to the diagnostic port under your steering wheel. Follow the tool's menu to erase the codes. The light should turn off within a few seconds.
Drive the vehicle for at least 10 to 15 minutes at normal highway speeds. The engine computer will run a self-test during this drive cycle. If the sensor was the only problem, the check engine light should stay off. If the light comes back on, the sensor may be defective, the connector may not be fully seated, or there may be a wiring problem that requires professional diagnosis.
When to take it to a shop instead
If the sensor is located in a tight spot where you can't reach it comfortably, or if your vehicle requires removing the intake manifold, timing cover, or other major components to access it, a shop is the better choice. Some engines have sensors buried so deep that the labor cost becomes high, but the job itself is still straightforward for a technician with the right tools and lift.
If you disconnect the connector and it breaks, or if the bolt snaps off inside the engine, stop and take the vehicle to a shop. A broken bolt inside the engine block requires specialized removal tools and informed. A broken connector may require soldering or replacement of the wiring harness.
If you replace the sensor and the check engine light returns with the same code, the problem may be a wiring fault, a bad connector, or a computer issue. A shop can use a scan tool to test the sensor signal and wiring under load, which is beyond what you can do with basic tools.
Frequently Asked Questions
How much does a camshaft position sensor cost?
The sensor itself typically costs $150 to $400 depending on your vehicle make and model. OEM (original equipment manufacturer) sensors are usually more expensive than aftermarket sensors. Labor at a shop typically runs $200 to $500, though some vehicles with difficult access may cost more.
Can I drive with a bad camshaft position sensor?
You can drive short distances, but the engine will run poorly — rough idle, hesitation during acceleration, and poor fuel economy are common. Driving long distances or at highway speeds puts extra strain on the engine and may cause damage to the catalytic converter over time. Replace it as soon as you can.
Do I need to replace both camshaft position sensors if one fails?
No. Replace only the sensor that failed. Your diagnostic scan will show which one triggered the code. However, if both sensors are the same age and mileage, replacing both at once saves you labor costs if the second one fails soon after.
What if the new sensor doesn't stop the check engine light?
Make sure the connector is fully seated and the bolt is tight. If the light persists, the wiring may be damaged, the connector may be corroded, or the engine computer may have a fault. A shop can test the sensor signal with a scope or multimeter to confirm the sensor is working.
Is this job harder on some vehicles than others?
Yes. On some engines the sensor is on top of the valve cover and takes 20 minutes. On others it's buried under the intake manifold and takes two hours. Look up the job for your specific year and model before you start to know what you're getting into.