01 Why Do They Ask for Your Old Car Battery? A Comprehensive G… • 02 Don't Get Stranded! Warning Signs Your Hybrid Battery Needs… • 03 Revving Up the Future: Automotive Industry Trends 2024-2026 • 04 How Many More Kilometres Can You Drive After the Empty Tank… • 05 What Does It Mean When Your Car Says “Engine Power Reduced”? • 06 The Hidden Tech Inside Modern Cars Most Drivers Don’t Under… • 07 The Advantages of Variable Valve Timing with Intelligence (… • 08 Unlocking the Skies: A Comprehensive Guide to Thriving in t… • 09 Why Your Car Interior Smells Different After Long Trips and… • 10 Hackers Can Now Steer Your Car Remotely And Here’s How to S… •

DTC codes / Mercedes-Benz codes / P1223

P1223 · Mercedes-BenzFuel Rack Position Sensor Y2311

P1223 on Mercedes-Benz vehicles indicates that the engine control module has detected an implausible or missing signal from the fuel rack position sensor, which is designated Y2311 in the manufacturer's wiring diagrams. The sensor reports the actual position of the fuel rack inside the high-pressure injection pump, and the computer compares that feedback against the commanded rack position to verify that the pump is delivering the requested fuel quantity.

SystemPowertrain
Code typeMercedes-Benz specific
SeverityMedium
Fix difficultyProfessional
AreaFuel and air metering (injector circuits)

Symptoms you may notice

  • Illumination of the check engine light, often with no other noticeable symptoms during normal driving.
  • Reduced engine power or limp-home mode when the computer substitutes a default rack position value.
  • Rough idle, surging, or unstable engine speed as the fuel delivery feedback loop loses accuracy.
  • Difficulty starting or a stall immediately after start-up when the rack position cannot be confirmed.
  • Poor fuel economy or excessive black smoke from the exhaust if the rack remains at a default rich position.
  • Intermittent hesitation or stumble under acceleration when the sensor signal drops out momentarily.

Common causes, most likely first

  1. Wiring harness damage or chafing at the fuel rack position sensor connector, especially where the harness routes near the injection pump.
  2. Corroded or loose electrical terminals at the Y2311 sensor connector or at the engine control module plug.
  3. Failure of the fuel rack position sensor itself due to internal wear, contamination, or heat exposure.
  4. Mechanical binding or sticking of the fuel rack inside the injection pump, preventing the sensor from reporting a valid position.
  5. Engine control module software or internal fault causing it to misread a valid sensor signal.
  6. Metal debris or fuel contamination interfering with the sensor's magnetic pickup or sliding contact.

How to diagnose and fix it

  1. Connect a Mercedes-Benz-compatible scan tool and read the live data for the fuel rack position sensor while wiggling the harness and connector to check for signal dropouts.
  2. Visually inspect the Y2311 sensor connector and the harness routing for chafing, corrosion, or loose pins, and repair any damaged wiring before replacing parts.
  3. Measure the sensor's resistance or voltage output at the connector and compare it against the manufacturer's specification for the current rack position.
  4. Check the fuel rack for mechanical binding by commanding rack movement with the scan tool and observing whether the sensor feedback follows smoothly.
  5. If the sensor signal is missing or implausible and the wiring is intact, replace the fuel rack position sensor and clear the fault memory.
  6. After repair, perform a relearn or adaptation of the fuel rack position sensor using the scan tool so the engine control module recognizes the new sensor's range.
  7. Road-test the vehicle and verify that the live data tracks commanded rack position without dropouts and that the code does not return.

What the fuel rack sensor really reports

  • A common misdiagnosis is replacing the injection pump when only the external rack position sensor has failed, so always confirm the sensor signal before condemning the pump.
  • The Y2311 sensor on many Mercedes-Benz diesel engines is a wear item that can become contaminated with fine metal particles from the pump, causing a gradual drift in its output rather than a sudden failure.
  • Intermittent P1223 codes often trace to a harness that rubs against the engine cover or intake duct, so a thorough wiggle test with live data is more valuable than a static resistance check.
  • The engine control module may set P1223 as a consequence of a low fuel pressure or quantity control fault elsewhere in the system, so check for related codes before focusing solely on the rack sensor.
  • Some technicians overlook that the rack position sensor must be adapted after replacement; skipping the relearn can cause the code to reset immediately even with a new sensor.

Can I keep driving with P1223?

You can usually drive the vehicle to a workshop if the engine runs smoothly and the warning light is steady, but avoid heavy acceleration or towing because the computer may be limiting fuel delivery. If the engine enters limp-home mode or stalls repeatedly, stop driving and arrange a diagnostic scan to prevent damage to the injection pump.

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