Understanding P0172 on Your 2023 Subaru Legacy
A P0172 code on your 2023 Subaru Legacy means the engine control module has detected that Bank 1 is running too rich. The 2023 Legacy comes equipped with the 2.5L FB25 naturally aspirated boxer four-cylinder engine as standard. When this code sets, the ECM has determined that its fuel trim adjustments have been pushed beyond the normal correction range trying to lean out the mixture.
Since your 2023 Legacy is likely still under warranty, this issue may be resolved at no cost. But understanding the problem helps you have an informed conversation with your service advisor.
Symptoms You May Notice
- Check engine light on
- Fuel economy below the expected 27-35 MPG range
- Dark or black exhaust smoke
- Rough idle or vibration at stoplights
- Hesitation when accelerating from a stop
- Gasoline odor from the exhaust
- Engine running rougher than usual
Common Causes of P0172 in the 2023 Legacy
Even on a relatively new vehicle, several things can cause a rich-running condition:
- Mass Airflow Sensor Contamination - The number one cause of P0172 in Subaru boxer engines. The MAF sensor in the intake tube gets contaminated by oil vapor from the PCV system or debris that bypasses the air filter. A dirty MAF underreads airflow, and the ECM delivers excess fuel to match what it thinks is less air.
- ECM Software Calibration - Newer vehicles sometimes have fuel mapping calibrations that aren't perfect from the factory. Subaru may have released a TSB or software update that adjusts the fuel trim strategy for the 2023 Legacy.
- Upstream Oxygen Sensor Malfunction - Although rare on a vehicle this new, a defective Bank 1 upstream O2 sensor can provide biased readings that cause the ECM to overfuel.
- EVAP Purge Valve Stuck Open - If the purge valve fails to close, fuel vapors continuously enter the intake manifold, adding unmetered fuel that creates a rich condition the ECM has to fight against.
How to Diagnose the Problem
For a 2023 model, the best first step is visiting your Subaru dealer. The Legacy is covered by a 3-year/36,000-mile bumper-to-bumper warranty and emissions-related components are covered for 8 years/80,000 miles. The dealer can scan for codes, check for TSBs, and perform any needed software updates at no charge.
If you prefer to check things yourself first, use an OBD-II scanner to read fuel trim data. Negative Bank 1 fuel trims below -10% confirm the rich condition. A quick visual inspection and cleaning of the MAF sensor is safe to do without affecting warranty coverage. Just use proper MAF cleaner spray and let it dry completely.
Repair Options and Cost Estimates
- Warranty repair at dealer: $0 under bumper-to-bumper or emissions warranty.
- MAF sensor cleaning: $10-$15 for spray. Easy DIY, won't void warranty.
- MAF sensor replacement: $130-$260 for the part, $60-$100 labor.
- ECM software update: $0 under warranty, $100-$200 if out of pocket.
- O2 sensor replacement: $85-$185 for the part, $80-$150 labor.
- Purge valve replacement: $40-$90 for the part, $60-$110 labor.
Prevention Tips
Stick with OEM or quality replacement air filters. If using an oiled reusable filter, apply oil very sparingly. Use Top Tier gasoline consistently. Follow Subaru's maintenance schedule and don't skip oil changes, as oil vapor in the PCV system can contaminate the MAF sensor. Take advantage of your warranty for any check engine lights that appear.