A 2005 Suzuki Swift III rolled in with a single P0171 code and a technician note stating the engine was running rough. Chasing a lean condition code often leads to replacing parts hoping for a quick fix, but prioritizing the right tests narrows the field immediately. The technician noted the symptom simply as "motorn går ojämnt", which translates from Swedish as a rough running engine. When our diagnostic platform analyzed this combination of the P0171 code and the rough idle on this specific vehicle, it generated a structured list of probable root causes.
Unmetered air and the intake tract
The highest probability cause, ranked at 85 percent with high severity, points directly to a vacuum leak. Unmetered air entering the intake system after the mass airflow sensor creates an immediate lean condition. The engine control module sees the air reported by the sensor, calculates the required fuel, and injects it. However, the extra air pulled in through a leak means the actual mixture in the cylinder has far too much oxygen. The oxygen sensor detects this, the module tries to compensate by adding fuel, and eventually, the fuel trims max out, setting the P0171 code.
On the Suzuki M15A engine found in this generation of Swift, the intake manifold and its associated plumbing are particularly sensitive to small cracks. Gasket deterioration over time is a known factor. The unmetered air could also be entering through leaking vacuum hoses, the positive crankcase ventilation system, or a faulty evaporative emissions purge valve. A stuck PCV valve or a cracked breather hose acts exactly like a direct vacuum leak, drawing unmeasured air directly into the intake runner.
The tests suggested by our platform start with a thorough visual inspection of all vacuum hoses and the intake system. Mechanics should look for brittle rubber, loose clamps, or obvious cracks. If a visual check reveals nothing, a smoke test of the intake system is the next logical step. Pumping low pressure smoke into the intake manifold while the engine is off will quickly highlight any gasket failures or hairline cracks in the plastic components. Alternatively, technicians can carefully use brake cleaner or an unlit propane torch around suspected leak areas while watching the short term fuel trims on a scan tool. If the trims suddenly drop into the negative, the extra fuel from the spray has temporarily enriched the mixture, confirming the unmetered air source has been found.
Mass airflow sensor contamination
Coming in at a close second with an 80 percent probability is a faulty or dirty mass airflow sensor. The MAF sensor is the primary load sensor for the engine management system. It measures the precise volume and density of the air entering the engine. If the sensor element becomes coated in dirt, carbon, or oil from aftermarket reusable air filters, it insulates the heated wire. This contamination causes the sensor to cool down slower than it should, which makes it underreport the actual volume of air entering the engine.
When the module receives this artificially low airflow reading, it commands the injectors to deliver less fuel. The engine runs lean, shakes, and misfires, aligning perfectly with the rough running symptom the technician noted.
Diagnosing this requires inspecting the sensor wire visually. A clean with dedicated sensor spray is a fast and non invasive first step. However, visual checks are not always enough. The platform recommends monitoring live data. Technicians should watch the mass airflow sensor values in grams per second at idle and wide open throttle. Comparing these readings against known good values for the M15A engine, while simultaneously watching the fuel trims, will confirm if the sensor is reacting accurately to throttle changes. A sluggish response on the scan tool graph often points directly to a failing sensor element.
Fuel delivery volume and pressure
If the air metering systems are sound, the focus shifts to fuel delivery. Ranked at 75 percent probability is low fuel pressure or insufficient fuel flow. A lean condition is simply a ratio problem, and a lack of fuel is just as likely to cause a P0171 as an excess of air.
An underperforming fuel pump, a partially clogged fuel filter, or a failing fuel pressure regulator can all prevent the fuel rail from maintaining the correct pressure. When the pressure drops, the injectors spray less fuel during their commanded open time. This lack of fuel causes the engine to run rough and shake, and these symptoms often become much more pronounced when the engine is hot or under higher load.
Testing for this requires mechanical gauges. A scan tool cannot always tell you the actual physical pressure in the rail if the vehicle lacks a dedicated rail pressure sensor. The recommended diagnostic path involves connecting a mechanical pressure gauge to the fuel system and testing the pressure under various engine conditions, including idle, snapped throttle, and steady high RPM. A fuel flow test is equally vital. A pump might build adequate deadhead pressure but fail to deliver the volume required to keep the engine running smoothly under high demand.
Injector performance and spray patterns
The final ranked cause, sitting at a 65 percent probability with medium severity, involves clogged or faulty fuel injectors. Fuel injectors are precision components tasked with atomizing fuel into a fine mist. Over time, heat cycles and fuel impurities can cause carbon deposits to build up on the pintle caps.
When an injector gets clogged or develops a poor spray pattern, it fails to deliver the exact amount of fuel commanded by the engine control module. Instead of a fine mist that mixes easily with the incoming air, the injector might produce a solid stream or drip fuel into the cylinder. This creates a lean mixture in the affected cylinders, contributing to an overall lean condition that the module cannot fully compensate for. The result is the P0171 code, accompanied by the rough idle and shaking.
Isolating an injector fault requires a slightly different approach. The platform suggests starting with a visual inspection and listening to the injectors with an automotive stethoscope. A sharp, consistent clicking sound indicates the solenoid is firing properly, while a dull or erratic click suggests an internal mechanical issue. Monitoring fuel trims with a diagnostic tool can help identify if the engine is struggling to balance the mixture across different banks, though on a small inline four like the M15A, this is less obvious than on a larger V6 engine. A cylinder drop test or balance test will help pinpoint exactly which cylinder is misbehaving. If an injector is identified as the culprit, professional cleaning and flow testing on a dedicated bench is often the only way to restore proper function.
Seeing the wider pattern
Dealing with lean codes requires a methodical approach, starting from unmetered air and working down to individual cylinder fuel delivery. Have you seen an increase in intake cracks on older M15A engines in your bays, or does it usually end up being a contaminated sensor? Drop a note below and let me know your typical findings on this generation of Swift.
Reference pages for the codes in this article
- P0171, what we measure for this code across real diagnostics
