2003 BMW 525i P0170/P0171/P1083/P1085: Idle Stalling, Rough Running & Fuel Trim Issues - OBD2 Diagnosis Guide
My 2003 BMW 525i (110k miles) has recently developed a 'Service Engine Soon' warning light. After using an OBD-II scanner, I retrieved the following diagnostic trouble codes: P0170, P0171, P1083, and P1085. I initially replaced the spark plugs and air filter (both original parts), which I assumed were related to the codes. I then disassembled and cleaned the Mass Air Flow (MAF) sensor using compressed air and a cleaning solution, reinstalled it, and tested the vehicle. The issue persists: at idle—especially when stopped at traffic lights—the engine drops RPMs to around 500 and stalls for the first time today. The engine runs roughly during this period with noticeable vibration. However, once moving, performance is normal. Fuel economy remains stable at 25–29 MPG. I'm wondering if this points to a pre-cat oxygen sensor issue or whether it's more likely an Idle Control Valve (IAC) malfunction. Given the lean conditions indicated by P0170/P0171, I suspect a vacuum leak or fuel delivery problem. I've found online references suggesting similar issues in 3 and 5 Series BMWs, with some pointing to clogged fuel injectors or intake manifold contamination. I recently had both front and rear brakes serviced (April 2010), and the symptoms began about three months after that—could this have affected the brake booster or vacuum lines? I've tried cleaning the MAF sensor with Brake Cleaner, but no improvement. I'm now considering fuel pressure testing and a full inspection of all vacuum hoses—including PCV and brake booster connections. I also plan to replace both upstream O2 sensors (Bosch Part #13477), as suggested by some forums, though I've heard that Bosch O2 sensors may not be compatible with older BMW systems due to heater element mismatch. I will clear the codes after replacement and monitor for changes in fuel trims. I'm seeking expert advice on whether these codes point directly to a sensor issue or if deeper system problems—such as vacuum leaks, fuel delivery, or idle control—are more likely.
Check and clean the MAF sensor using Brake Kleen or an electronic cleaner. Inspect for vacuum leaks throughout the intake system. Verify fuel pressure with a fuel pressure gauge and check fuel flow rate over time. Do you have access to an OBD2 scanner that can monitor live oxygen sensor data (fuel trims, switching rates) rather than just trouble codes? This helps identify lean conditions without removing sensors.