Severity Medium
P1787

P1787 Transmission Range Sensor Circuit Malfunction

📅 Last reviewed: July 2026
What does the P1787 code mean?

The P1787 code indicates that the Powertrain Control Module (PCM) has detected a voltage signal from the Transmission Range Sensor (TRS) / Park-Neutral Position (PNP) switch circuit that is outside the calibrated range during a self-test (KOEO or KOER). This means the PCM cannot reliably determine the gear selector position (Park, Reverse, Neutral, Drive), affecting starting strategy, shift scheduling, and torque control.

Medium
Severity
Variable
Typical Cost
Medium
Frequency

01. Most Common Causes

02. Symptoms You Will Notice

03. Step-by-Step Diagnosis

1

Scan for codes and record freeze frame data

2

Inspect TRS/PNP switch connector and wiring for damage, corrosion, or loose pins

3

Test TRS/PNP switch resistance and continuity per manufacturer specs

4

Check shift linkage adjustment and mechanical operation

5

If all else passes, test PCM input/output signals and consider PCM replacement

Need an OBD2 Scanner for the P1787? Compare the best scanners compatible with all vehicles
🛒 View OBD2 Scanners →

1. Frequently Asked Questions

Is it safe to drive?

It is moderately safe to drive short distances, but the transmission may not shift properly or the engine may not start in Park or Neutral. Avoid prolonged driving until repaired.

How much does it cost to fix?

Repair costs typically range from $150 to $400 for switch replacement, plus $50–$150 for diagnosis. Wiring repairs or PCM replacement can increase costs significantly.

2. Commonly Affected Makes

FordLincolnMercuryMazda

3. Related Codes