01 This Is Why Your Car’s CV Axle Is Failing • 02 The Future of Transportation: The Top Auto Innovations to W… • 03 Unlocking the Skies: A Comprehensive Guide to Thriving in t… • 04 The Power of Cruise Control: Advantages, Considerations, an… • 05 Types of Chain Drives: Uses, Design, Application, Pros, and… • 06 This Simple Shortcut Many Drivers Take Often Ends In Engine… • 07 V10 vs V8 Engine: Which One is Better? • 08 Why Does My Diesel Engine Take So Long to Warm Up? • 09 Automotive Abbreviations: A Guide for Car Enthusiasts • 10 How Self-Driving Cars See and Detect Objects •

DTC codes / Ford codes / P1187

P1187 · FordVariant Selection

P1187 on Ford vehicles indicates a variant selection fault, meaning the powertrain control module (PCM) has detected an invalid or unrecognized configuration code for the vehicle's emission control system. The PCM expects a specific variant code that matches the vehicle's hardware and software, but the value it reads does not match any known configuration, often due to a mismatch after a module replacement or programming error.

SystemPowertrain
Code typeFord specific
SeverityMedium
Fix difficultyProfessional
AreaFuel and air metering

Symptoms you may notice

  • Illumination of the check engine light (malfunction indicator lamp) with no other obvious driving issues.
  • Often no symptoms besides the warning light, as the vehicle may continue to run normally.
  • Possible rough idle or poor fuel economy if the PCM defaults to a limp mode.
  • Intermittent stalling or hesitation if the variant code affects fuel or ignition timing.
  • Failure to pass an emissions inspection due to the stored code.
  • Occasional hard starting if the PCM cannot select the correct startup strategy.

Common causes, most likely first

  1. Incorrect or corrupted PCM configuration after a module replacement or reflash.
  2. Aftermarket performance tuner or programmer that altered the variant code.
  3. Electrical issues such as a shorted or open circuit in the variant selection wiring.
  4. Faulty PCM itself, though rare, can misread or store the wrong variant code.
  5. Software bug in the PCM calibration that causes incorrect variant selection.
  6. Water intrusion or corrosion in the PCM connector affecting variant code pins.
  7. Installation of a used PCM from a different vehicle without proper programming.

How to diagnose and fix it

  1. Use a Ford-specific scan tool to retrieve the stored variant code and compare it to the expected value for the vehicle's VIN.
  2. Check for any aftermarket tuners or programmers and restore the PCM to stock calibration if present.
  3. Inspect the PCM connectors and wiring for corrosion, loose pins, or damage, especially at the variant selection circuits.
  4. Reprogram or flash the PCM with the latest calibration using Ford diagnostic software.
  5. If reprogramming fails, replace the PCM with a new or remanufactured unit and program it to the vehicle.
  6. Perform a road test and verify that the code does not return after repair.

Variant code mismatches after module swaps

  • A common cause of P1187 is installing a used PCM without programming the variant code, as the PCM retains the donor vehicle's configuration.
  • Aftermarket performance tuners often change the variant code to enable features, and reverting to stock may not automatically restore the correct code.
  • The variant code is not always stored in the PCM; on some Ford models, it resides in the body control module (BCM) or instrument cluster, so misdiagnosis can occur if only the PCM is checked.
  • A weak battery or voltage spikes during programming can corrupt the variant code, leading to this fault even without hardware changes.
  • P1187 can be set by a mismatch between the PCM and other modules on the controller area network (CAN) bus, so checking for communication codes is essential.

Can I keep driving with P1187?

The vehicle is generally safe to drive if it runs normally, but the code may cause poor emissions or reduced performance. Avoid towing heavy loads or aggressive driving until the fault is repaired, and schedule a diagnostic appointment soon to prevent potential limp mode activation.

Guidance is general and written for Ford vehicles. Exact tests and values vary by model, so confirm the fault before replacing parts.

Running on fumes Free guides aren't free to make. Top up the tank. Any amount, one time. Fuel the Garage