TorqFix
B2787 Body

B2787 — Right latch switch invalid

Documented by: MAZDA

I got fault code B2787. What does it mean?

B2787 is stored when the ECU sees range or performance on the circuit named in the code (right). That describes how the circuit is behaving, not which part has failed — the wiring, the connector and the component itself can all produce it, which is why the checks below start with the cheapest.

What causes B2787?

Common causes

The cause is almost always one of a few things. Here they are — B2787 rarely comes from anything outside this list:

  • Sensor reading is inside its electrical range but does not match reality
  • Contamination or deposits changing what the sensor sees
  • A mechanical fault upstream that the sensor is correctly reporting
  • Sensor drifted with age without failing outright
How do I fix B2787 — where should I start?

Where to start

In the order a sensible mechanic would work — the cheap checks first, the expensive replacements only after:

  1. Compare the live value against a second sensor or a known-good figure — this code is about plausibility, not a dead circuit
  2. Look for the mechanical cause first: leaks, restrictions or wear that would genuinely produce this reading
  3. Clean the sensor if it is the type that fouls
  4. Check freeze-frame data to see under what conditions it triggered
  5. Replace the sensor only after the mechanical side is ruled out
And on my car specifically?

That is what holds for B2787 in general. From here it depends on your engine — tell me which car it is and what it does, and I will give you the steps for it: real procedures, torque figures and diagrams instead of general advice.

Free for registered users · 4 questions per day · drawings are Pro · no card

Why TorqFix for your car?

Above is what the code means and why it appears. TorqFix goes further — it gives you specific procedures, torque values, wiring diagrams and pinouts for your exact engine, not generic steps for every car. Real workshop data (127,000+ diagrams, 10,000+ procedures), interpreted by AI in your language.

Free with an account: 4 questions per day · drawings are Pro. Signing up takes twenty seconds and needs no card.

Code breakdown

B
Body
2
Manufacturer
7
Sub-system
87
Specific fault

Related codes

Other codes in the same range:

B2783B2784B2785B2786B2788B2789B2790B2791
Diagnose your car with AI →

Who makes these pages, and how

TorqFix was built by a mechanic — after a 2,700 km drive with five roadside repairs that no diagnostic tool could explain.

The figures on this page come from manufacturer workshop documentation and are shown as they are. The page is assembled automatically from that data — it is not written by an AI. The AI works in the chat, where it answers for your specific car. It writes nothing here.

The same code can mean different things on different makes. Match the meaning to your make before acting on it.

Seen a figure that does not match your manual? Write to us — we correct it and note when. support@torqfix.com

The story behind TorqFix →