A 2018 Chevy Malibu in Jurupa Valley was idling rough and stalling at stop signs. The owner had already had the throttle body cleaned somewhere else. We went out to the house, and the whole job happened at the curb.
Quick answer: A dirty or failing mass air flow sensor tells the computer less air is coming in than really is. The engine runs lean, idles rough, and stalls when you come off the gas. Cleaning buys time. A failed sensor needs replacing.
The mass air flow sensor sits between the air filter and the throttle body and measures the air going into the engine. The computer uses that number to decide how much fuel to add. If the sensor reads low, the computer adds too little fuel and the engine runs lean.
They rarely fail all at once. The sensing element picks up oil film and dust, the readings drift, and the symptoms come and go. That is why this one had already had a throttle body cleaning that did not fix anything.
Cleaning a mass air flow sensor is a real fix when the element is only dirty. On this one the readings were still off after cleaning, which means the element itself was done. Cleaning it again would have sent the car home to stall again.
That is the whole difference between a parts swap and a diagnostic. We do not mind replacing a sensor. We mind replacing one that was fine.
Supercanic tip: Rough idle and stalling right as you come off the throttle is a classic lean-condition pattern. Get the live data read before anyone sells you parts. Call or text (951) 644-1599.
We diagnose it properly the first time, at the shop in San Jacinto or in your driveway.