01 Is Your Fuel Pump Failing? 8 Critical Signs to Watch For • 02 Common Causes of Turbocharger Damage and How to Avoid Them • 03 Why Your Car Acts Possessed After Rain • 04 Unveiling the Secrets of Trailers' Mysterious Extra Wheel O… • 05 How to Clean a Mass Air Flow Sensor • 06 The Role of Vacuum Pipes in Engine Functionality: A Compreh… • 07 C0035 - Left Front Wheel Speed Circuit Malfunction • 08 Troubleshooting a Hard Brake Pedal: Causes and Solutions • 09 The Heart of Automatic Transmissions: A Closer Look at Torq… • 10 A Comprehensive Guide to Using Side Mirrors and Rear View M… •

DTC codes / BMW codes / P1542

P1542 · BMWPedal Position Sensor Electrical

P1542 on BMW vehicles indicates that the engine control module (ECM) has detected an electrical fault in the pedal position sensor circuit, which typically involves the accelerator pedal module and its two redundant sensors. The ECM monitors the sensor signals for rationality and range, and this code sets when the voltages fall outside expected limits or disagree with each other.

SystemPowertrain
Code typeBMW specific
SeverityMedium
Fix difficultyIntermediate
AreaVehicle speed, idle control and auxiliary inputs

Symptoms you may notice

  • The check engine light or electronic throttle control warning light illuminates on the dashboard.
  • The engine may enter limp mode, limiting power and engine speed to a fast idle.
  • The accelerator pedal may feel unresponsive or require excessive travel to accelerate.
  • Inconsistent engine speed or surging may occur as the pedal is pressed.
  • Often no symptoms besides the warning light, especially if the fault is intermittent.

Common causes, most likely first

  1. Faulty accelerator pedal position sensor (integrated into the pedal module).
  2. Worn or corroded electrical connector at the pedal sensor.
  3. Damaged wiring harness between the pedal sensor and the ECM (open, short, or chafed wires).
  4. Poor ground connection for the pedal sensor circuit.
  5. Internal ECM fault (rare but possible).
  6. Aftermarket or incorrectly installed pedal module or wiring modifications.

How to diagnose and fix it

  1. Read and record all fault codes and freeze-frame data using a BMW-compatible scan tool.
  2. Visually inspect the accelerator pedal sensor connector and wiring for damage, corrosion, or loose pins.
  3. Check the sensor reference voltage and ground at the pedal connector with a multimeter; compare to BMW specifications.
  4. Perform a live data check of both pedal sensor voltages while slowly pressing the pedal to verify smooth, proportional changes and correct correlation.
  5. If the sensor signals are erratic or out of range, replace the accelerator pedal module with a genuine BMW part.
  6. Clear the fault codes and perform a throttle adaptation reset if required, then test-drive to confirm the repair.

Common misdiagnosis traps for P1542

  • Many technicians replace the accelerator pedal module without first checking the wiring harness, which often has chafed wires near the pedal assembly or under the dashboard.
  • A weak or corroded ground connection can cause voltage drops that mimic a faulty sensor, so always verify ground integrity before condemning the pedal.
  • The two sensors inside the pedal module are designed to have different voltage ranges (one roughly half the other); a scan tool that shows both signals is essential for accurate diagnosis.
  • Intermittent P1542 codes can be caused by water intrusion into the connector or pedal assembly, especially on vehicles with clogged sunroof drains or cowl leaks.
  • After replacing the pedal module, some BMW models require a relearn procedure or adaptation reset to avoid a repeat code.

Can I keep driving with P1542?

If the vehicle is in limp mode, driving is not recommended because power is severely limited and unpredictable. If the warning light is on but the car drives normally, you can drive cautiously to a repair shop, but avoid heavy acceleration and have the fault checked promptly.

Guidance is general and written for BMW 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