P0172 Code: 2019 Hyundai – What It Means & Cost to Fix

2019 Hyundai Sonata P0172 Rich Code Diagnosis

What Does P0172 Mean on Your 2019 Hyundai Sonata?

If your 2019 Hyundai Sonata is showing a P0172 trouble code, the engine control module has detected that the fuel mixture is running too rich. Your 2019 Sonata uses a 2.4-liter Theta II GDI inline-4 engine producing 185 horsepower with gasoline direct injection. Since this is an inline-4 with one bank, P0172 means the entire engine is getting more fuel than it should. The ECM relies on oxygen sensor data and fuel trim adjustments, and when it maxes out trying to lean the mixture, P0172 is stored.

Symptoms You Might Notice

  • Check engine light on
  • Reduced fuel economy compared to the rated 28 mpg combined
  • Black exhaust smoke, particularly under acceleration
  • Rough or shaky idle
  • Engine hesitation or poor throttle response
  • Strong fuel smell from the exhaust
  • Possible black soot on the exhaust tips

Common Causes of P0172 on the 2019 Sonata

The Theta II GDI engine has some specific characteristics that affect P0172 diagnosis:

  1. Contaminated MAF Sensor — After five or more years of service, the MAF sensor can accumulate significant contamination. This is the most common P0172 trigger, causing incorrect airflow measurements that lead to over-fueling.
  2. Stuck Open EVAP Purge Valve — A well-known Hyundai issue. The purge valve fails open, flooding the intake with fuel vapors from the charcoal canister.
  3. Worn Oxygen Sensor — With five-plus years of heat cycling, the upstream O2 sensor may have degraded, providing slow or inaccurate readings to the ECM.
  4. Leaking GDI Fuel Injectors — The high-pressure direct injectors in the Theta II engine can develop leaks or sealing issues over time, delivering excess fuel directly into the cylinders.

How to Diagnose the Problem

  1. Check for EVAP codes — Scan for P0441, P0446, or P0455 codes alongside P0172. This pairing is classic for a stuck purge valve on Hyundai models.
  2. Analyze fuel trim data — Connect a scan tool and check Bank 1 long-term fuel trim. Values below -10% confirm the ECM is actively reducing fuel to fight the rich condition.
  3. Inspect the MAF sensor — Remove and clean with MAF-specific spray. At idle, the 2.4L GDI should read approximately 4-8 g/s.
  4. Test the purge valve — Disconnect the purge valve line at the intake manifold and cap it. If fuel trims improve significantly, the purge valve needs replacement.
  5. Check fuel pressure — Monitor fuel rail pressure with a scan tool. The GDI system operates at high pressures and any abnormality can cause rich running.

Repair Options and Estimated Costs

  • MAF sensor cleaning — $10-$25 (easy DIY)
  • MAF sensor replacement — $90-$220 parts and labor
  • EVAP purge valve replacement — $70-$185 parts and labor
  • Oxygen sensor replacement — $140-$290 parts and labor
  • GDI fuel injector replacement — $250-$550 parts and labor

The 2019 Sonata's basic warranty has likely expired, but the 10-year/100,000-mile powertrain warranty may still cover engine-related fuel system components. Check with your Hyundai dealer.

Prevention Tips

  • Replace the air filter regularly to protect the MAF sensor
  • Never top off the gas tank past the first click
  • Use Top Tier gasoline to minimize carbon buildup on direct injection components
  • Consider a fuel system cleaning service every 30,000 miles for the GDI engine
  • Address check engine lights promptly to prevent expensive secondary damage
Got Another Mystery?

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

Open a New Case