Yamaha Error Code 21: Coolant Temperature Sensor: Open or Short Circuit

What this code means

Code 21 means a break or short in the coolant temperature sensor circuit. This sensor tells the ECU (the engine's control computer) how hot the engine is. On Japanese-market bikes and scooters, the cause was the sensor's connector, its wiring or the sensor itself.

The repair cases behind this page are from Japanese-market bikes and scooters (Maxam, Majesty 125, Vino and WR250R), reported by owners and shops in Japan. One of the two code tables we used is a Japanese mechanic's guide to Japanese-market scooters. US models may differ.

Can I ride with Yamaha code 21?

Medium risk

With this code the ECU cannot read the engine temperature, so the engine may start or run poorly. Have it fixed soon. If the engine stalls or runs badly, stop riding until it is fixed.

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 21?

  • PossibleSensor connector not fully seated or shaken loose
  • PossibleBroken wire, or a poor earlier repair, near the sensor
  • PossibleFailed coolant temperature sensor

How do I fix Yamaha error code 21?

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.

  1. Sensor connector not fully seated or shaken loose. With the engine off and cool, find the coolant temperature sensor (it screws into a coolant passage on the engine). Unplug its connector and plug it back in firmly until it locks. One WR250R owner in Japan found the connector looked fitted but came off with almost no effort. Once it was pushed fully home, the code cleared.
  2. Broken wire, or a poor earlier repair, near the sensor. Gently flex the sensor wires where they enter the connector. Look for a break, a cracked solder joint or loose tape from an earlier fix. One Majesty 125 owner in Japan found a badly soldered wire at the connector had broken again. After it was rejoined and the wiring tied so it could not flex at the connector, the warning light went out. A shop in Japan found a broken wire near the sensor on a Vino and reported the light stayed off once the wire was replaced.
  3. Failed coolant temperature sensor. If the connector and wiring are sound, have the sensor tested as your service manual describes, or by a Yamaha dealer. A shop in Japan found a faulty sensor on a Maxam and replaced it, then topped up the coolant. Replacing the sensor lets some coolant out, so only do it with the engine cold, then refill and check for leaks.

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

  • With the engine off and cool, check that the coolant temperature sensor connector is pushed fully home and locked.
  • Gently flex the sensor wires at the connector and look for a break or an old repair coming apart.

What to leave to a shop

  • Testing the sensor before a new one is bought.
  • Replacing the sensor, which lets some coolant out and needs a refill and a leak check.

Related guide: What Owners Used: Parts and Tools From Real Repair Reports

Not comfortable doing these checks yourself? Find an authorized Yamaha dealer near you.

Which models have we checked Yamaha code 21 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.

Yamaha code 21: other questions

Can I still ride with code 21?

Have it fixed soon. The ECU cannot read the engine temperature, so the engine may start or run poorly. If it stalls or runs badly, stop riding until it is fixed.

Do I always need a new sensor for code 21?

Not always. In the reports we found from Japan, one WR250R owner cleared the code by pushing a loose connector fully home. One Majesty 125 owner cleared it by repairing a broken wire at the connector. Check the connection and wiring before buying parts.

What did a WR250R owner find behind code 21?

One WR250R owner in Japan found that the coolant temperature sensor connector looked fitted but came off with almost no effort. Once it was pushed fully home until it locked, the code cleared. That was a Japanese-market WR250R and US models may differ, but the connector is a simple first thing to check.

Is code 21 used on air-cooled bikes?

Code 21 is for the coolant temperature sensor, so it applies to liquid-cooled models. If your bike is air-cooled, your owner’s manual or a Yamaha dealer can tell you what its codes mean.

How do I read code 21 from a flashing check engine light?

A Japanese mechanic’s guide to Yamaha fuel-injected scooters says the slow flashes count tens and the fast flashes count ones. That would make code 21 two slow flashes followed by one fast flash. We have not seen this exact pattern reported on a bike, and other models may differ. Confirm with a dealer or a scan tool (a code reader) before replacing parts.

Slow and fast flashesTwo slow flashes followed by one fast flash. Each slow flash counts as 10 and each fast flash counts as 1, so the code is 21.2 slow1 fast= 20= 120 + 1 = code 21
A Japanese mechanic’s guide to Yamaha fuel-injected scooters says the slow flashes count tens and the fast flashes count ones. That would make code 21 two slow flashes followed by one fast flash.
Fixed this code? Tell us what you found

Code: Yamaha 21 (this page)

Result

Optional

Who fixed it?
Where is the bike from?

Please don't include part numbers or service manual values.

We may edit reports before publishing. Personal details are never published.

Sources

Last updated:

Found a mistake on this page? Tell us.