The Mass Airflow (MAF) sensor is critical for engine efficiency. Located in the intake pipe between the air filter box and the throttle body, it measures the weight of the incoming air. The sensor houses a heated platinum wire. As air passes through, it cools the wire. The sensor increases electrical current to keep the wire at a constant temperature. The computer measures this current change to calculate the exact mass of air entering the engine, adjusting the fuel injector spray to match.
MAF sensors are sensitive. Dirt, oil from reusable filters, and carbon can coat the wire, insulating it and distorting the readings. The engine will run rich or lean, causing rough idling, hesitation during acceleration, stalling, and check engine light codes (like P0101).