Yamaha Error Code 12: Crankshaft Position Sensor Signal Fault
What this code means
Code 12 means the ECU (the engine's control computer) is not getting a usable signal from the crankshaft position sensor. That sensor tells the ECU where the engine is in its turn, to time the spark and fuel. The engine will usually not start, and may cut out while running.
Some of the reports behind this page are from FZ6 owners on an English-language forum; others are from Japanese-market MT-09 bikes, reported in Japan. US models may differ.
Can I ride with Yamaha code 12?
The engine can stop without warning, including while riding. Do not ride the bike until the cause is found.
If you are not sure the bike is safe to ride with this code, have it checked first. Find an authorized Yamaha dealer near you.
These two-digit codes are for Yamaha models that show a code number on the dashboard or flash the engine warning light. Some newer models are different, such as the MT-07 from 2018 and the YZF-R3 from 2019. The Japanese-market owner’s manuals we checked for them don’t describe a code on the display. On those bikes, the codes may need a dealer’s tool or a scan tool to read. They may not be these two-digit codes. Check which Yamaha models we have confirmed.
What causes Yamaha error code 12?
- PossibleLoose, dirty or corroded crankshaft position sensor connector
- PossibleFailing starter relay
- PossibleDamaged wiring between the sensor and the ECU
- PossibleFailed crankshaft position sensor
- RareSensor face damaged or the pickup rotor loose or out of position
How do I fix Yamaha error code 12?
Causes are listed by likelihood: common first, then possible, then rare. Causes with the same likelihood are not ranked against each other. We mark a cause as common only when three or more separate reports name it. For codes that report a state rather than a fault, we also do so when the official owner’s manual names it.
- Loose, dirty or corroded crankshaft position sensor connector. Find the sensor connector: follow the wire from the sensor on the engine to its plug in the harness (the bundle of wires). Unplug it and look for green corrosion or pushed-back pins. Then plug it back in firmly and see if the code returns.
- Failing starter relay. If the starter clicks, cranks weakly or does not turn at all, test the starter relay (the switch that sends power to the starter). Use the service manual for your model, and do this before you replace the sensor.
- Damaged wiring between the sensor and the ECU. Follow the sensor wires along the harness and look for chafing, melted insulation or pinched sections near the engine and frame. Check each wire for continuity (an unbroken path) end to end with a multimeter.
- Failed crankshaft position sensor. Measure the sensor's resistance at its connector and compare it with the value in the service information for your model. Replace the sensor only if it is out of range or physically damaged.
- Sensor face damaged or the pickup rotor loose or out of position. With the cover removed, look at the tip of the sensor for scoring and make sure the rotor it reads from is tight. A worn cam chain tensioner or loose parts inside the cover can grind the sensor.
Fixed it and want the light off? See How to Clear a Yamaha Check Engine Light (and When Not To).
What you can check yourself
- Find the crankshaft position sensor connector, unplug it and look for corrosion or pushed-back pins, then plug it back in firmly.
- Follow the sensor wires and look for chafing, melted insulation or pinched sections.
- Note whether the starter clicks, cranks weakly or does not turn at all.
What to leave to a shop
- Testing the starter relay, the sensor wiring and the sensor before parts are replaced.
- Removing the cover to inspect the sensor tip and the rotor it reads.
Related guide: What Owners Used: Parts and Tools From Real Repair Reports
Related guide: Motorcycle Codes Reported With an Engine That Won’t Start
Related guide: Crankshaft Position Sensor Codes: Yamaha 12, Suzuki C12 and Honda 19
Not comfortable doing these checks yourself? Find an authorized Yamaha dealer near you.
Which models have we checked Yamaha code 12 on?
Owner repair reports for this code on these models:
Notes about this code on these model pages:
If your model is not listed, that does not mean the code cannot appear on it; we list only the models we have checked.
Related codes
Yamaha code 12: other questions
Will code 12 clear by itself?
On some models the warning may go out once the ECU sees a good signal again. But the fault can stay stored in the ECU's history, and the cause is still there. If it does not go out, or keeps coming back, follow the checks above and have the bike checked by a dealer.
What fixed code 12 on a 2006 FZ6?
One 2006 FZ6 owner on an English-language forum reported that code 12 went away after the starter relay was replaced. That is a single report, so check the crank sensor connector and wiring as well. Test the starter relay as described in the service manual for your bike before you replace parts.
Can a flat battery be behind code 12?
On a Japanese-market 2014 MT-09, code 12 appeared after the battery went flat. It stayed after the battery was recharged and replaced. It then went out some hours after the owner had pushed the bike a short distance. So that report does not show what the cause was. Low voltage while cranking may affect the sensor signal the ECU sees. So it may be worth charging and testing the battery before you replace the sensor.
Fixed this code? Tell us what you found
Sources
- PowerSportsGuide: Yamaha Motorcycle Fault and Diagnostic Codes
- YZF-R125 Owners Blog: Yamaha YZF-R125 engine management fault codes (UK model; code list unchanged since at least 2017)
- 600riders.com: Error Code 12? (FZ6 owners — one sensor ground away by a faulty cam chain tensioner; one 2006 FZ6 owner who reported code 12 went away after replacing the starter relay)
- Goobike work record (Japanese): MT-09 crank sensor error (code number not given) — sensor and starter relay both failed
- Privateer Photoworker (Japanese): 2014 MT-09 code 12 after a flat battery — a new battery did not clear it; the cause was not found
- M-Factory (shop blog, Japanese): NMAX155 — warning light off, but a crank position sensor fault stored in the ECU history (shown as text on the dealer tool, no code number)
Last updated:
Found a mistake on this page? Tell us.
Was this page helpful?
Thanks