The P0171 code in your 2014 Subaru Outback indicates the fuel system is running lean, and when combined with coolant loss or other head gasket symptoms, this could point to the head gasket issues that Subaru boxer engines have historically experienced. Understanding the connection between lean codes and potential gasket failure is important for proper diagnosis.
Head Gaskets and Lean Codes
While P0171 is typically caused by vacuum leaks or fuel delivery issues, a failing head gasket can allow coolant to enter the combustion chamber. This can create intermittent lean conditions as the ECM can't properly calculate fuel for a charge that includes coolant vapor. On Subaru's 2.5L FB25 boxer engine, head gasket leaks tend to be external (coolant seeping out) rather than internal (coolant entering cylinders), but both can occur.
Identifying Head Gasket Symptoms
External leaks show as coolant residue between the engine block and head—visible from underneath or between the engine and firewall. Internal leaks cause white smoke from exhaust, coolant loss without visible leaks, and possible overheating. Check for bubbles in the coolant reservoir indicating combustion gases entering the cooling system. Oil contamination from coolant appears as milky residue on the dipstick or oil cap.
Diagnostic Process
First, diagnose P0171 conventionally: check for vacuum leaks, MAF sensor issues, and fuel system problems. Monitor coolant level over time—unexplained loss suggests head gasket. Perform a cooling system pressure test to find external leaks. Use a combustion gas test kit on the coolant reservoir to detect exhaust gases from internal leakage. Visual inspection of the head gasket area from below may reveal external weeping.
Repair Considerations
If P0171 is from typical causes (vacuum leak, dirty MAF), address those first. If head gasket failure is confirmed, repair requires significant disassembly due to the boxer engine's horizontal layout. Plan to replace both head gaskets even if only one shows symptoms, as the other is likely similar in condition. Use OEM or premium aftermarket multilayer steel gaskets for best results.