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

2022 Hyundai Elantra P0172 Rich Code Repair

What Does P0172 Mean on Your 2022 Hyundai Elantra?

A P0172 code on your 2022 Hyundai Elantra means the engine control module has detected that the engine is running too rich — there is too much fuel in the combustion mixture compared to air. Your Elantra's 2.0-liter Smartstream MPI inline-4 engine produces 147 horsepower and uses multi-port fuel injection. Since it is an inline-4 with only one bank of cylinders, P0172 affects the entire engine's fuel mixture.

Symptoms You Might Notice

  • Check engine light on
  • Fuel economy noticeably worse than the rated 33 mpg combined
  • Dark or black smoke from the tailpipe
  • Rough or surging idle
  • Engine hesitation or stumbling under load
  • Fuel smell near the tailpipe

Common Causes of P0172 on the 2022 Elantra

The 2022 Elantra's Smartstream engine is generally reliable, but these issues commonly trigger P0172:

  1. Dirty Mass Airflow Sensor — The MAF sensor measures incoming air volume. Contamination from dust, oil, or debris causes it to underestimate airflow, and the ECM responds by injecting too much fuel. This is the most common cause.
  2. Stuck Open EVAP Purge Valve — Hyundai vehicles are known for purge valve issues. When the canister purge valve sticks open, fuel vapors are continuously drawn into the intake, creating a rich condition.
  3. Worn Oxygen Sensor — The upstream O2 sensor provides real-time feedback on exhaust gas composition. A lazy or biased sensor gives the ECM bad data, causing incorrect fueling.
  4. Leaking Fuel Injectors — Port fuel injectors that drip or don't seal properly allow extra fuel into the intake runners, especially noticeable at idle.

How to Diagnose the Problem

  1. Scan for all codes — Check for EVAP system codes (P0441, P0455) alongside P0172. This combination strongly suggests a purge valve issue on Hyundai models.
  2. Check fuel trim data — Long-term fuel trim should be near zero. Values significantly below -10% indicate the ECM is pulling fuel to compensate for a rich condition.
  3. Test the MAF sensor — At idle, the 2.0L should read approximately 3-7 g/s. Clean with MAF-specific spray if readings seem off.
  4. Test the EVAP purge valve — Disconnect the purge valve vacuum line at the intake and plug the port. If fuel trims normalize, replace the purge valve.
  5. Inspect spark plugs — Pull the plugs and check for black, sooty deposits indicating a rich-running condition.

Repair Options and Estimated Costs

  • MAF sensor cleaning — $10-$25 (easy DIY with spray cleaner)
  • MAF sensor replacement — $90-$220 parts and labor
  • EVAP purge valve replacement — $75-$190 parts and labor
  • Oxygen sensor replacement — $140-$280 parts and labor
  • Fuel injector cleaning or replacement — $150-$400 parts and labor

The 2022 Elantra may still be under Hyundai's 5-year/60,000-mile basic warranty depending on mileage. The powertrain warranty extends to 10 years/100,000 miles. Check your coverage before paying for repairs.

Prevention Tips

  • Replace the air filter at 15,000-30,000 mile intervals
  • Avoid topping off the gas tank past the first click — this can damage the EVAP system
  • Use quality gasoline from reputable stations
  • Keep up with scheduled maintenance per the owner's manual
  • Address any check engine lights promptly before small issues become expensive repairs
Got Another Mystery?

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

Open a New Case