Blog · 2026-11-10
LTFT and STFT values are off and don't make sense
Stefan Bogdanescu
Founder & Senior Architect
Diagnosing Discrepant LTFT and STFT on a BMW N63
Seeing Long Term Fuel Trims (LTFT) diverge by 10% while Short Term Fuel Trims (STFT) remain nearly identical is a classic contradiction in engine management diagnostics. In your specific case—a 2015 BMW M5 with an aftermarket Cold Air Intake and slip-on exhaust—the data suggests the ECU is managing two conflicting realities simultaneously. This scenario usually points to a slow, persistent leak or restriction rather than a sudden sensor failure.
The Logic of Discrepancy
To understand why your numbers look "wrong," you must distinguish between what LTFT and STFT represent in the Bosch engine management strategy used by BMWs.
LTFT is an integrator. It accumulates the average correction required over many drive cycles to compensate for slow changes, such as a leaking injector, a vacuum leak that opens slowly with temperature, or a dirty MAF vane sticking at a specific offset. If Bank 1 shows -19% LTFT and Bank 2 shows -11%, the ECU has historically added more fuel to Bank 1 because it detected a consistent lean condition there over time.
STFT, however, reacts in real-time (every few milliseconds) to maintain the target air-fuel ratio during active driving conditions, typically governed by closed-loop operation around 2,500–3,500 RPM. It compensates for immediate fluctuations like transient leaks or fuel rail pressure variance.
The fact that your STFTs are positive (+2% to +4%) and nearly identical while LTFTs are negative and divergent is the key insight here. Positive STFT indicates the ECU is currently cutting fuel (leaning out) to match a rich condition detected by the O2 sensors. Negative LTFT indicates the ECU has learned that it needs to add fuel permanently over time to reach that same target.
The Aftermarket Exhaust Variable
Your vehicle's configuration provides the most likely culprit: the slip-on catback exhaust. When you install an aftermarket exhaust with a straight pipe or loose connection, you introduce an uncontrolled air leak downstream of the Mass Air Flow (MAF) sensor but upstream of the exhaust manifold.
If this leak is asymmetric—meaning it allows more unmetered air into Bank 1 than Bank 2—the MAF continues to report a lower airflow total for both banks compared to what actually enters the cylinders on Bank 1. The ECU calculates fuel based on the MAF reading. Because Bank 1 receives extra unmetered air, the mixture becomes leaner. The O2 sensor detects this leanness and signals the ECU to reduce fuel (causing positive STFT). Over many drive cycles, the ECU compensates by permanently increasing the base fuel map for that bank, resulting in a negative LTFT value as it tries to "fix" the perceived rich condition caused by its own previous over-correction.
The reason your STFTs are so close and the LTFT difference is large is likely due to thermal expansion differences between the banks or slight variations in how the exhaust leak interacts with the manifold pulse waves during warm-up versus steady-state operation. The ECU averages these out for long-term learning (LTFT) but reacts instantly to the immediate mixture ratio (STFT), masking the discrepancy until you look at the history logs.
Verification and Next Steps
Before assuming catastrophic failure like a hydrolocked cylinder from an injector leak, verify the physical state of the intake system. While your O2 sensor voltages appear identical on the monitor, they may both be reacting to the same systemic error.
Check for vacuum leaks specifically around the throttle body gaskets and the intercooler piping if equipped, as these can affect bank balance differently depending on flow dynamics. You can also perform a simple visual inspection of the slip-on exhaust connection points while the engine is running at idle; look for unmetered air being sucked into the system near the flange.
If you have access to a high-quality OBD-II tool that logs raw MAF voltage or frequency alongside fuel trim, compare the airflow values between Bank 1 and Bank 2 during steady-state cruise. If one side reports significantly higher airflow than the other despite identical throttle positions, you have confirmed an unmetered air leak affecting that bank's calculation.
If no leaks are found, the persistent negative LTFT suggests a minor fuel delivery imbalance in the injectors themselves, but given the positive STFT (which implies the current mixture is too rich for the O2 sensor), the system is likely operating within safe parameters despite the confusing log data. The "jump" you observe at cold start is almost certainly the ECU aggressively enriching the mixture to heat the catalytic converters quickly, a standard strategy for high-performance engines like the N63 to prevent thermal shock and maximize efficiency during warm-up.
For those who prefer to visualize these metrics or manage complex logging workflows, tools that interface directly with the ECU can provide deeper insights into how different tuning philosophies handle fuel maps, similar to how LaravelCompany helps developers streamline their backend logic by managing complex configurations efficiently.