What Does P0172 Mean on Your 2024 Hyundai Elantra?
When your 2024 Hyundai Elantra throws a P0172 code, it means the engine control module has detected a rich fuel condition on Bank 1. Your Elantra uses a 2.0-liter Smartstream inline-4 engine producing 147 horsepower with Atkinson cycle technology for maximum efficiency. Since this is an inline-4, it only has one bank, so P0172 means the entire engine is running rich — too much fuel relative to the amount of air entering the combustion chambers.
Symptoms You Might Notice
- Check engine light on the dashboard
- Decreased fuel economy below the rated 33 mpg combined
- Black or dark exhaust smoke
- Rough or unsteady idle
- Hesitation or stumbling during acceleration
- Gasoline smell from the exhaust
Common Causes of P0172 on the 2024 Elantra
The Smartstream 2.0L engine is efficient but sensitive to fuel mixture issues. Here are the most common causes:
- Contaminated Mass Airflow Sensor — The MAF sensor sits in the intake pipe and measures air entering the engine. Even minor contamination on the sensing element leads to inaccurate readings, causing over-fueling. This is the number one cause of P0172 on Hyundai four-cylinder engines.
- Faulty or Clogged Fuel Injectors — The Elantra's port fuel injectors can develop drips or fail to close completely, adding unmetered fuel to the intake ports.
- Failing Oxygen Sensor — The upstream O2 sensor provides feedback for the ECM's fuel calculations. A slow or biased sensor causes incorrect fuel adjustments.
- Stuck Open Purge Valve (EVAP System) — A common issue on Hyundai vehicles — the canister purge valve can stick open, allowing fuel vapors from the charcoal canister to flood the intake manifold, enriching the mixture significantly.
How to Diagnose the Problem
- Check for companion codes — Look for EVAP-related codes like P0441 or P0455 that could indicate a purge valve issue. This is a common pairing with P0172 on Hyundai models.
- Monitor fuel trim data — Check short-term and long-term fuel trims. LTFT below -10% confirms the ECM is actively reducing fuel delivery to compensate.
- Inspect and clean the MAF sensor — Remove the MAF sensor and clean it with dedicated MAF cleaner spray. At idle, the 2.0L should read approximately 3-7 g/s on a scan tool.
- Test the purge valve — Disconnect the purge valve hose at the intake manifold and plug it. If fuel trims improve, the purge valve is likely stuck open.
- Check fuel pressure — Verify fuel pressure is within specification (approximately 43-58 psi) using a fuel pressure gauge.
Repair Options and Estimated Costs
- MAF sensor cleaning — $10-$25 (easy DIY)
- MAF sensor replacement — $100-$230 parts and labor
- EVAP purge valve replacement — $80-$200 parts and labor
- Oxygen sensor replacement — $150-$300 parts and labor
- Fuel injector replacement — $200-$450 for parts and labor
The 2024 Elantra should be fully covered under Hyundai's 5-year/60,000-mile basic warranty and 10-year/100,000-mile powertrain warranty. Visit your dealer for diagnosis first — the repair may cost you nothing.
Prevention Tips
- Replace the engine air filter every 15,000-30,000 miles per the maintenance schedule
- Use quality fuel to keep injectors clean
- Don't overfill the gas tank — this can damage the EVAP system and purge valve
- Address check engine lights promptly to prevent catalytic converter damage
- Follow Hyundai's recommended service intervals