Checking air quality sensor G238: Audi
Checking air quality sensor G238 — Audi. 31 source steps. Read the instructions and application notes; confirm the exact vehicle before use.
Match the vehicle and component conditions in this source. Read warnings and variant notes with the steps they qualify; linked operations need their own instructions.
🧭 Before you start
Models recorded for this source: Audi A5 (8T, 2007–2016), Audi Q5 (8R, 2008–2017), Audi A5 Cabriolet (8F), Audi A4 B8 (8K, 2007–2015)
- Special tools named: VAS 5051
Don't miss
- On vehicles with a start/stop system, the engine may be shut off automatically by the vehicle electronics.
- The air quality sensor G238 reacts when exposed to cigarette smoke or cigarette lighter gas. As cigarette lighter gas is heavier than air, remove the air quality sensor G238 and let the gas flow past it from above.
- Due to changes in pollutant levels, the values currently displayed may differ from those measured initially.
- A second person is required to read out the values displayed while the other is driving.
- Also refer to (Removing and installing dust and pollen filter) and Operation of air quality sensor G238.
📋 Procedure
- ⚠ Risk of fatal injury if high-voltage components are damaged. Observe the following when working in the vicinity of high-voltage components or wiring:It is not permitted to use cutting or forming tools, other sharp-edged tools or heat sources such as welding, brazing, soldering, hot air or thermal bonding equipment. Before starting work, visually inspect the high-voltage components in the areas involved. Before working in the engine compartment, visually inspect the power and control electronics for electric driveJX1, electric drive motor V141, air conditioner compressor V470 and high-voltage wiring. Before working on the vehicle underbody, visually inspect the high-voltage wiring and covers. Before working on the rear section of the vehicle, visually inspect the high-voltage wiring and the electro-box with the maintenance connector for high-voltage system TW (see the separate procedure). Visually inspect all potential equalisation lines. Check the following when making the visual inspection:There must be no external damage on any component. The insulation of the high-voltage wiring and potential equalisation lines must not be damaged. There must be no unusual deformation of the high-voltage wiring. All high-voltage components must be identified by a red warning sticker. — Switch off ignition.
- Remove rubber seal (A) and plenum chamber cover (B) (different versions) General body repairs, exterior 50. Bulkhead; Removing and installing plenum chamber cover.
- ⚠ When working on a vehicle with the ignition switched on or while the drive system is active, the engine can start unexpectedly and exhaust fumes can cause a health hazard in closed rooms. Moving parts can trap or draw in parts of the body and/or clothing (safety hazard). Before switching on the ignition, perform the following steps:Move selector lever to position PActivate parking brake Switch off ignitionOpen bonnetConnect battery charger (e.g. VAS 5095A) to jump-start connections of 12 V electrical system Switch on ignition — To minimise the number of automatic engine starts when the vehicle's drive system is active (READY) during test and measurement work, charge the vehicle batteries e.g. with the battery charger 60AVAS 5904 in battery standby mode Electrical system 27. Battery; Charging battery and Electrical system 93. General warning instructions for work on the high-voltage system.
- For test and measurement work that requires the vehicle's drive system to be active (READY) or the ignition to be switched on, move the selector lever to position "“P”", activate the parking brake and take care to keep well clear of the engine when it is running. Set up any tools needed so that they cannot come into contact with moving parts. [Note: Also move the selector lever to position "“P”" and activate the parking brake before performing test and measurement work for which the ignition must be switched on but where the vehicle's drive system does not need to be active (READY).The status of the drive system (READY) is shown by the control unit in dash panel insert J285 via the "“power meter”"Owner's Manual. Activating and deactivating drive system Owner's Manual (note display of control unit in dash panel insert J285).]
- Switch off ignition.
- Detach rubber seal (left-side) (B) as far as necessary General body repairs, exterior 50. Bulkhead; Removing and installing plenum chamber cover.
- Remove cover for fresh-air intake at cowl panel trim (A), or remove cowl panel trim (different versions) General body repairs, exterior 50. Bulkhead; Removing and installing plenum chamber cover. [Note: If necessary, carefully detach cowl panel trim from fastener at cross member of windscreen (C)General body repairs, exterior 50. Bulkhead; Removing and installing plenum chamber cover.]
- With ignition switched off, connect vehicle diagnostic, testing and information system VAS 5051/ to diagnostic connection in vehicle with diagnostic cable VAS 5051/5A and start Guided Fault Finding Vehicle diagnostic, testing and information system VAS 5051 ("Guided Fault Finding").
- Switch on ignition (vehicles with high-voltage system).
- Start engine (vehicles without high-voltage system). [Note: On vehicles with a start/stop system, the engine may be shut off automatically by the vehicle electronics.]
- Interrogate event memory of operating and display unit (Climatronic control unit J255) Vehicle diagnostic, testing and information system VAS 5051 ("Guided Fault Finding").
- Set operating and display unit (Climatronic control unit J255) ("“deluxe”" version) to "“Auto”" mode.
- Use operating and display unit (Climatronic control unit J255) of MMI (Multi Media Interface) to set "“automatic air recirculation mode”"Infotainment/MMI Operating Manual.
- Wait 2 minutes to allow air quality sensor G238 to warm up.
- Use vehicle diagnostic, testing and information system VAS 5051 to select "“Read measured value block”" function and read out measured values for air quality sensor G238Vehicle diagnostic, testing and information system VAS 5051 ("Guided Fault Finding"). [Note: The measured value block displays the air pollution level measured by the air quality sensor G238 and the measured values for the NOx (nitrogen oxide) and CO (carbon monoxide) content of the air. For explanatory notes on the possible displays, refer to Vehicle diagnostic, testing and information system VAS 5051 ("Guided Fault Finding").]
- Turn air quality sensor G238(A) approx. 90° in anti-clockwise direction and remove it from fresh-air intake (C).
- Allow a small quantity of gas from cigarette lighter (B) to flow past section (A) of air quality sensor G238 (from above). [Note: The air quality sensor G238 reacts when exposed to cigarette smoke or cigarette lighter gas. As cigarette lighter gas is heavier than air, remove the air quality sensor G238 and let the gas flow past it from above.]
- Select and read out measured value block with measured values for air quality sensor G238Vehicle diagnostic, testing and information system VAS 5051 ("Guided Fault Finding").
- Wait briefly (approx. 1 minute, depending on amount of gas applied to sensor).
- Read out display in display zones with measured values for air quality sensor G238. [Note: Due to changes in pollutant levels, the values currently displayed may differ from those measured initially.]
- Read out the display with the measured values for the air conditioner operating status (air recirculation/fresh air mode). [Note: If a value deviating from "“fresh air mode”" is displayed in the measured value block, air recirculation mode has already been requested (e.g. because of request for "“maximum cooling output”" or "“air recirculation mode”"); in this case select a mode which does not require air recirculation. If the measured value block indicates that the air quality sensor G238 is already requesting automatic air recirculation mode, clean the plenum chamber (if necessary) or move the vehicle to an area with a cleaner ambient atmosphere Vehicle diagnostic, testing and information system VAS 5051 ("Guided Fault Finding").]
- Allow a small quantity of gas from cigarette lighter (B) to flow past section (A) of air quality sensor G238 (from above).
- Read out display for air recirculation/fresh air mode. [Note: Should the measured value block indicate that the air quality sensor G238 is requesting automatic air recirculation mode, but that this request is not being implemented by the operating and display unit (Climatronic control unit J255) due to a shut-off criterion, eliminate the cause of the shut-off criterion (if applicable) Vehicle diagnostic, testing and information system VAS 5051 ("Guided Fault Finding").To prevent the air flow/fresh air and air recirculation flaps from being switched too frequently, a request from the air quality sensor G238 for "“automatic air recirculation mode”" is applied for at least 25 seconds (minimum dwell time) even if the pollutant concentration in the air has decreased again to such an extent that air recirculation mode would no longer be necessary.]
- Wait briefly (approx. 1 minute, depending on amount of gas applied to sensor).
- Check dust and pollen filter for dirt (see the separate procedure).
- With ignition switched off, connect vehicle diagnostic, testing and information system VAS 5051/ to diagnostic connection in vehicle with diagnostic cable VAS 5051/5A and start Guided Fault Finding Vehicle diagnostic, testing and information system VAS 5051 ("Guided Fault Finding").
- Use vehicle diagnostic, testing and information system VAS 5051 to select "“Read measured value block”" function Vehicle diagnostic, testing and information system VAS 5051 ("Guided Fault Finding"). [Note: A second person is required to read out the values displayed while the other is driving.]
- Alternately read out displays in measured value block for measured values of air quality sensor G238 and request for air recirculation/fresh air mode.
- Start by driving vehicle into an area with a relatively clean atmosphere (system in fresh air mode).
- Then drive vehicle into an area where the atmosphere is polluted (e.g. onto an uphill road with heavy commercial traffic).
- Read out displays in the various display zones. The displays in the various zones must change, e.g. when driving through a cloud of diesel emissions. [Note: Also refer to (Removing and installing dust and pollen filter) and Operation of air quality sensor G238.]
Other AUDI procedures
- Removing and installing air quality sensor G238/humidity sender in fresh air intake duct G657
- Checking air quality sensor -G238
- Checking operation of air quality sensor G238 – Audi A8 D4
- Removing and installing air quality sensor G238/humidity sender in fresh air intake duct G657
- Removing and installing air quality sensor G238 with humidity sender in fresh air intake duct G657
- Testing air quality sensor -G238
- Removing and installing toothed belt – Audi
- Removing engine – Audi A8 D3
- Removing camshaft timing chain from camshafts – Audi A6/A7 C7
- Installing engine – Audi A8 D4
Who makes these pages, and how
TorqFix was built by a mechanic — after a 2,700 km drive with five roadside repairs that no diagnostic tool could explain.
Workshop figures are drawn from the available source documentation. Pages are assembled automatically, with source instructions and explanatory material presented together. Some explanations use AI assistance. Automated source checks are not a claim that a mechanic reviewed every page; read the source conditions and the editorial method below.
Variants of the same model differ. Cross-check torque against the factory manual for your engine before final tightening.
Seen a figure that does not match your manual? Write to us — we correct it and note when. support@torqfix.com
The story behind TorqFix → · How these pages are made →Workshop data on this page last updated 20 Sep 2026.