Open Loop Vs. Closed Loop

How to tune and set these parameters

Written By:

A term you are bound to run across when tuning an EFI fuel injection set-up, is the term closed loop o2. The purpose of this article is to explain how open and closed loop o2 works and how to tune and modify these tables.

O2 Sensor Background

The O2 sensor is the sensor located just after the exhaust manifold where all of the exhaust gasses have been collected into a single exhaust pipe. This way the sensor can get an accurate reading from all cylinders of the motor. There are two types of O2 sensors, narrow band, and wide band. While closed loop O2 can be used with a narrow band sensor, its accuracy is not fine enough to consistently rely on its reading. For this reason I would suggest only using closed loop O2 with a wide band O2 sensor. To be fair though, I would suggest that any high performance engine be equipped with a wide-band O2 sensor, and that this should be considered a must have. This sensor is a 0-5v sensor that can accurately read the air to fuel ratio of the exhaust gasses.

Tuning closed loop o2 feedback wideband sensor

Defining Open Loop and Closed Loop O2

Open loop is when the ECU is not referring to the O2 sensor for feedback. Meaning that the O2 sensor might as well not be there, because the ECU is not using it to modify its timing and fuel maps. If your asking yourself why the ECU would ever want to do this? It is because there are times when you want the motor to run a set amount of timing and fuel, no matter what the conditions. For reference, most OEM cars are tuned to run closed loop O2 on partial throttle driving to get the best gas mileage, and then run open loop on wide open throttle (WOT) to be sure the motor runs the safest it can, and that the factory fuel map is not modified in any way. Closed loop is when the ECU does refer to the O2 sensor for feedback. Using the O2 sensor the ECU will modify its fuel table based on the readings the O2 sensor is seeing. This is important in maintaining a perfect A/F ratio as there are so many variables affecting the tune of a motor at any given time. For example, air temperature, altitude, humidity, and so on.

Tuning Closed loop O2

Most stock and aftermarket ECU's allow you to tune the adjust-ability of closed loop O2 operation. If you have hacked into the stock ECU to change calibrations then this might be more difficult to tune, but on most aftermarket ECU's it is very straight forward. Some of the options you will have the ability to change are:

1. The Percent (%) of fuel that can be added or subtracted from the fuel map.

2. The coolant temperature when closed loop O2 will begin.

3. The engine RPM when closed loop O2 will begin.

4. Conditions when closed loop O2 should be turned off.

5. The target A/F value based on load or MAF CFM, and engine speed.

Tuning closed loop o2 feedback wideband sensor

Certain ECU's allow for more or less tuning of this parameter. It should be pretty straight forward what each of these values do. One thing you will want to make sure you do is TURN OFF CLOSED LOOP O2 when you are starting out tuning the vehicle. This is because as you are trying to get a good base fuel map, you will want to see the actual A/F value's your map is producing. If you leave O2 feedback on, then you will be seeing modified values, as the ECU itself is trying to dial in your target A/F ratio. Once you have fully tuned the fuel map to be as close as you can to your target A/F values, then you will want turn on closed loop O2. You will notice the map to contain even smoother A/F ratios, and be spot on now that the ECU is adding a little here, and taking away some there, to provide the perfect tune.


Some tuners or users are scared of O2 feedback, because of the ability of the car to lean itself out. While this is a possibility, most tuners can tune the stock fuel map to be so close to accurate, that they only allow closed loop O2 to modify at max 10% of the fuel map. Also, if the user is worried about the O2 sensor going bad, and giving false readings, I often encourage them to just change out the O2 sensor every 3-5 years just as a precaution. When wide band sensors have become as cheap as $80 bucks, it just seems like a sound investment when there can be upwards of thousands of dollars under the hood.