The Yangtze River Delta (YRD) is the most developed region in China. Influenced by intensive and complex anthropogenic activities, atmospheric pollution in this region is highly variable, and reports are sparse. In this study, a seven-year history of the atmospheric O3 and NOx mixing ratios over a typical city, Hangzhou, was presented to enrich the studies on air pollution in the YRD region. Our results revealed that the diurnal variation in NOx corresponded to traffic rush hours, while O3 was mainly impacted by photochemical reactions in the daytime. The weekend effect was significant for NOx, but inapparent for O3. Two O3 peaks in May and September were caused by seasonal atmospheric stability and climatic conditions. The lower NOx and higher O3 levels observed suggested direct effects from traffic restrictions and large-scale industrial shutdowns during the COVID-19 lockdown in 2020 compared with those in the periods before and after lockdown. The model simulation results showed that O3 mixing ratios were not only related to regional anthropogenic emissions but were impacted by air mass transportation from surrounding provinces and the China shelf seas. The NOx mixing ratios showed a decreasing trend, while the O3 mixing ratios showed the opposite trend from 2015 to 2021, which is indicative of the implementation of the Air Pollution Prevention and Control Acton Plan issued by the Chinese government in 2013.