Scion xB Engine Crankshaft Position Sensor: A Complete Guide (2004-2015)
Don't get left stranded—learn the symptoms of a failing crank sensor and how to choose the right replacement for your xB.
- A failing crank sensor is a critical issue that can cause your engine to stall while driving.
- The 1st Gen (2004-06) and 2nd Gen (2008-15) xB use different sensors; verify your part number.
- The most common trouble code is P0335.
- For maximum reliability, use a Genuine Toyota or Denso brand replacement sensor.
Is Your Scion xB Stalling or Not Starting? It Could Be the Crank Sensor.


If your Scion xB suddenly has trouble starting, idles roughly, or even stalls while you're driving, a failing crankshaft position sensor is a likely suspect. This small sensor plays a huge role in keeping your engine running. When it fails, it can cause problems ranging from annoying to dangerous. This guide will walk you through the symptoms, help you choose the best aftermarket replacement, and explain what makes this part different between the first and second-generation xB models.
Symptoms of a Failing Crankshaft Position Sensor
A bad crank sensor can make itself known in several ways. You might not see all of these, but even one is enough to warrant an inspection.
- Check Engine Light: This is often the first sign. A scan tool will likely show the code P0335.
- Engine Won't Start: The engine will turn over (crank), but it won't fire up and run.
- Engine Stalls Unexpectedly: This is the most dangerous symptom. The engine can shut off without warning while you are driving, leading to a loss of power steering and power brakes.
- Rough Idle and Hesitation: The car may shake at a stop or stumble when you try to accelerate.
- Poor Engine Performance: You may notice a drop in power and worse gas mileage.
Generation Differences are Key
The 2004-2015 Scion xB spans two generations with different engines. Using the wrong part will not work. Always confirm your vehicle's year before ordering.
- 1st Gen (2004-2006): Uses the 1.5L 1NZ-FE engine. OEM Part #: 90919-05087.
- 2nd Gen (2008-2015): Uses the 2.4L 2AZ-FE engine. OEM Part #: 90919-05067.
Choosing the Right Aftermarket Sensor
When a critical sensor like this fails, part quality matters. A cheap, unreliable sensor can fail quickly, leaving you in the same situation. Here’s how the available brands stack up for your Scion xB.
Tier 1: OEM & OEM-Equivalent
For a part this important, sticking with the original equipment manufacturer is the safest bet. Denso is the original supplier to Toyota and Scion for many electronics. Choosing a Denso-branded sensor or a Genuine Toyota part (which is often a Denso part in a Toyota box) gives you the best chance of a long-lasting, trouble-free repair. Forum users and mechanics strongly recommend this path.
Tier 2: Quality Aftermarket
Brands like Delphi, NGK, and Standard Ignition (SMP) offer a balance of quality and price. They are generally reliable, but quality can sometimes be inconsistent compared to OEM. Some users have success with these brands, but others report early failures, especially with sensitive electronics on import vehicles. If you choose this tier, be aware that it carries a slightly higher risk than sticking with Denso.
Tier 3: Budget Brands
This category includes many store brands and lesser-known names like Dorman, Spectra, and Walker Products. While the low price is tempting, it's not recommended for a crankshaft position sensor. The potential for a sudden failure and being left stranded outweighs the initial savings. One owner specifically warned against using cheap parts-store sensors, suggesting they don't last.
Known Issues for the Scion xB
While there are no specific recalls for the crankshaft sensor on the 2004-2015 Scion xB, there is a relevant Technical Service Bulletin (TSB) for second-generation models.
- TSB #S-SB-003-10 (2009 xB): For some 2nd Gen xB models with the 2.4L engine, Scion noted that an intermittent P0335 code could be triggered. They released an improved intake camshaft gear assembly to address the issue. If you have a 2nd Gen xB and the code returns after replacing the sensor, this TSB may be relevant.
| Part Type | Estimated Price Range |
|---|---|
| New Aftermarket | $26.90 - $129.80 |
| New OEM (Toyota/Denso) | $110 - $165 |
| Shop Labor | $75 - $150 |
Frequently Asked Questions

Where is the crankshaft position sensor located on my Scion xB?
For both generations, the sensor is on the front of the engine on the passenger side, down low near the main crankshaft pulley. On the 1st Gen (2004-2006), it is located just above the oil drain plug and is held in by a single 10mm bolt. 🎬 Watch this step-by-step replacement guide for 1st Gen models. Access is typically gained from the passenger side wheel well.
Can I replace this sensor myself?
Yes, this is a very DIY-friendly job for most home mechanics. It typically requires basic hand tools (a 10mm wrench or socket) and does not require you to drain the engine oil. The most difficult part is often just reaching the sensor and its electrical connector.
What happens if I don't replace a bad crank sensor?
You should not drive with a known bad crank sensor. The risk of the engine stalling while driving is high. This can cause a sudden loss of power steering and brakes, creating a serious safety hazard. At a minimum, it will eventually leave you stranded when the car refuses to start.
Is there a difference between a crank sensor and a cam sensor?
Yes. The crankshaft sensor measures the rotation of the engine's crankshaft at the bottom of the engine. The camshaft sensor measures the rotation of the camshaft(s) at the top of the engine. Both are critical for engine timing, but they are different parts in different locations and are not interchangeable.
Helpful Videos
Technical Specifications
OEM Part Numbers: 90919-05087 90919-05045 90919-05081 90919-05067 90919-05047
This is a 2-pin magnetic sensor that reads the teeth on the crankshaft reluctor wheel to determine engine speed and position. There are two distinct parts for the Scion xB lineup: one for the 1.5L 1NZ-FE engine (2004-2006) and another for the 2.4L 2AZ-FE engine (2008-2015).
We Have This Part in Stock
The information in this article is provided for general reference and educational purposes only. Vehicle specifications, procedures, and part compatibility can vary by production date, trim level, and region. Always consult your vehicle's factory service manual and verify part numbers before purchasing or performing repairs. Safety-critical components such as airbags, seat belts, and braking systems should be installed by a qualified professional.
- Scion xB: