Blog · 2026-11-10

Which AC temperature gets rid of the fog

Stefan Bogdanescu

Founder & Senior Architect

The Thermodynamics Behind Clear Windshields

Driving in rain or cold weather often results in a frustrating cycle: fog forms on the windshield, you adjust the climate control, and minutes later the glass is opaque again. The anecdote describes a driver trying to clear fog at 21°C outside by setting the AC to 23°C, only to find that 24.5°C was necessary after half an hour, or 23°C when the outside temperature dropped to 20°C. This randomness suggests a fundamental misunderstanding of how automotive HVAC systems manage humidity and heat transfer. You cannot calculate a static temperature value for fog removal; instead, you must understand the physics of dew point and air exchange rates.

The Dew Point Constraint

Fog on a windshield is not merely "wet glass"; it is water vapor condensing onto a surface that has cooled below its dew point. When outside humidity is high, the air contains a significant amount of moisture. If your cabin air temperature matches the outside temperature but lacks dehumidification, that moisture will inevitably condense on any cold surface, including the windshield glass which loses heat to the outside environment.

The "rule of thumb" mentioned in the source material—setting the AC slightly above the outside temperature—is actually a heuristic for comfort, not clarity. If you set your internal temperature to 23°C while it is raining and cold outside, your HVAC system might be mixing hot engine coolant heat with cold fresh air, but it likely isn't removing enough moisture. The resulting air inside the car might feel warm, but its relative humidity remains high enough that condensation occurs on the glass.

To clear fog effectively, you are not trying to match temperatures; you are trying to lower the dew point of the cabin air below the temperature of the windshield. This requires active dehumidification. In HVAC engineering, this is achieved by passing air over a cold evaporator coil. As warm, moist outside air crosses these cold fins, water droplets form and drain away. The air leaving the vents is not just cool; it is dry.

Why Random Adjustments Fail

The driver's observation that "24.5 degrees worked" after 30 minutes highlights a critical flaw in static temperature settings: thermal inertia and accumulation. Fog doesn't disappear instantly; it accumulates based on the balance between moisture ingress (from rain or breath) and moisture egress (via the AC).

When you set a fixed temperature, such as 23°C, the system attempts to maintain that setpoint by cycling the compressor. However, many automotive climate control algorithms prioritize temperature stability over humidity removal once a target is reached. If the outside air is humid, setting the AC to 23°C might not engage the compressor frequently enough to dehumidify the cabin rapidly. The glass cools down faster than the air can be dried, leading to condensation.

The fact that a higher temperature (24.5°C) worked later suggests that the system had accumulated enough moisture load that a lower setpoint (which would trigger more compressor cycling) actually helped remove the excess humidity once the thermal equilibrium shifted. Conversely, when the outside temperature dropped to 20°C, the 23°C setting became sufficient because the external heat load decreased, reducing the rate at which moisture condensed on the glass.

The Optimal Configuration Strategy

Instead of guessing temperatures, the correct approach relies on three specific controls found in almost every modern vehicle:

  1. Fresh Air Mode: Ensure you are not recirculating cabin air. Recirculation traps humidity inside the car, making fog impossible to clear until the AC runs for an extended period. Fresh air intake allows the dehumidifying effect of the AC coil to work against the outside environment directly.
  2. AC Compressor Engagement: Do not turn off the "A/C" button even if you want warm air. The A/C compressor is responsible for the cold evaporator coil that removes moisture. Without it, you are just blowing warm air with no dehumidification capability.
  3. Defrost/Defog Mode: This mode prioritizes airflow to the windshield over heating or cooling comfort. It opens all vents and maximizes airflow velocity across the glass, which aids in evaporating any existing moisture and preventing new condensation.

Implementation Checklist

When facing foggy conditions, stop adjusting the temperature dial randomly. Apply this logic instead:

  • Turn the fan to maximum airflow immediately.
  • Select Fresh Air (not recirculate).
  • Engage the A/C compressor.
  • Set the mode to Defrost/Defog.
  • Allow the temperature to settle naturally, but do not lower it below a comfortable range; the goal is dry air, not ice-cold air.

Once the fog clears and the glass remains clear for 10–15 minutes, you can gradually reduce the fan speed and adjust the temperature to your comfort level. If the fog returns immediately after lowering the fan or turning off the A/C, the cabin humidity has not yet stabilized below the dew point. This method works because it addresses the root cause—moisture content—rather than attempting to manipulate a static temperature variable that is subject to constant environmental fluctuation.

For developers building IoT climate control systems or analyzing vehicle telemetry, this behavior illustrates why setpoint-only models are insufficient for humidity-sensitive tasks. You must monitor relative humidity and airflow velocity alongside temperature to predict condensation events accurately.