This study identified the spatial distribution pattern of the ambient air quality in the Yogyakarta Urban Area. It was performed to determine the distribution pattern of SO 2 , CO, and NO 2 concentrations for 2016-2019 (pre-pandemic) and 2020 (during pandemic). Furthermore, the spatial analysis was performed using the Inverse Distance Weighting interpolation method. This study proved that spatial modeling using this method has good accuracy, and it is easier to map the distribution pattern of ambient air quality. In 2020, most of the locations met the quality standard (62.64%). As a result, the SO 2 and CO parameters immediately showed that most conditions are satisfactory. In 2016, the SO 2 parameters met the quality standards at 74.24% of locations. In 2020, the number increased to 85.71%. In addition, the CO parameter reached the quality standard at 81.82% of locations in 2016 and a perfect level of 100% in 2020. This occurred due to the effects of the COVID-19 pandemic because most human and business activities decreased drastically. Therefore, all studies can be used as the basis for air quality modeling and post-COVID-19 predictions. This study is also important as a policy material in the monitoring and management system of ambient air quality in urban areas.