P0171 Code: 2022 Mercedes-Benz – What It Means & Cost to Fix

2022 Mercedes GLC P0171 Lean Code Diagnosis

Understanding P0171 on Your 2022 Mercedes-Benz GLC

A P0171 code on your 2022 Mercedes-Benz GLC (X253) means the engine control unit has found a lean air-fuel mixture on Bank 1. The 2022 GLC 300 uses the M264 2.0L turbocharged inline-4 engine with EQ Boost. As an inline engine, Bank 1 covers all four cylinders.

The first-generation X253 GLC is a well-understood platform, and P0171 causes on the M264 engine are well-documented by Mercedes technicians. At 2-4 years old, some components may be starting to show wear.

Symptoms You May Notice

  • Check engine light illuminated
  • Rough or hunting idle
  • Reduced throttle response
  • Increased fuel consumption
  • Hesitation during acceleration
  • Slight engine vibration at idle

Top Causes on the M264 Engine

  1. EVAP Purge Valve Failure (31% likelihood) - This is one of the most common causes of lean codes on the M264 engine in the GLC. The valve sticks open, creating an uncontrolled vacuum leak.
  2. Boost System Leak (28% likelihood) - The charge pipe connections and intercooler hoses can develop leaks from heat cycling and vibration over 2-4 years of driving.
  3. MAF Sensor Issue (23% likelihood) - The MAF sensor can drift from calibration or become contaminated by oil mist from the turbo system.
  4. Vacuum Hose Deterioration (18% likelihood) - Small rubber vacuum hoses can begin to crack and deteriorate at this age, creating minor air leaks that add up.

How to Diagnose

  • Mercedes diagnostic scan - Use XENTRY or a quality Mercedes-compatible scan tool to read all fault codes and live data.
  • EVAP system test - Test the purge valve for proper operation. It should be closed at rest and open only when commanded.
  • Smoke test - The most comprehensive method for finding vacuum and boost leaks on the M264.
  • Fuel trim review - Monitor STFT and LTFT at idle and under various load conditions to characterize the lean condition.

Repair Costs

  • EVAP purge valve: $190 - $400. A straightforward repair with a well-known fix.
  • Boost hose or pipe repair: $200 - $460. Depends on which connection has failed.
  • MAF sensor: $240 - $480. Cleaning may resolve the issue without replacement.
  • Vacuum hose replacement: $120 - $300. Individual hoses are inexpensive; labor for diagnosis is the main cost.

Check if the 4-year/50,000-mile warranty still applies. Mercedes dealer labor is $190-$265 per hour. Independent shops charge $130-$185 per hour.

DIY Potential

MAF sensor cleaning is a quick 15-minute DIY job. Visual inspection of hoses and connections is accessible. EVAP purge valve replacement is manageable for mechanically inclined owners. More involved diagnostics benefit from professional equipment.

Prevention Tips

  • Follow the Service A/B schedule religiously
  • Use only premium fuel as required
  • Have the EVAP system tested during regular services
  • Inspect visible hoses and connections during oil changes
  • Address idle quality changes early before they trigger fault codes
Got Another Mystery?

"The game is afoot!" Let our AI detective investigate your next automotive case.

Open a New Case