P1223 on a BMW means the engine control module (DME) has detected a high input voltage on the signal circuit of pedal position sensor 2, which is the second track inside the accelerator pedal assembly. The computer expects this sensor's voltage to rise and fall within a specific range as the pedal moves, and a sustained high reading tells the DME the circuit is shorted to voltage or the sensor has failed.
You can drive cautiously to a workshop if the car still accelerates smoothly, but avoid heavy throttle and motorway merging because limp mode can cut power without warning. If the engine will not rev or stalls repeatedly, stop driving and arrange recovery.
Tools we recommend are in the Auto Veteran shop on Amazon. As an Amazon Associate we earn from qualifying purchases.
Guidance is general and written for BMW vehicles. Exact tests and values vary by model, so confirm the fault before replacing parts.
Get the app
Quick access from your home screen.