102 volatile organic compound (VOC) species were measured online using a gas chromatography–mass spectrometry/flame ionization detector (GC–MS/FID) at an urban site in Beijing in 11 August to 3 September 2015, when a series of rigorous air quality control measures were implemented in Beijing city and neighbouring provinces. Positive matrix factorization (PMF) was applied to identify emission sources from 1h averaged values of VOC data. Based on the online VOC data and the PMF analysis results, the effectiveness of different control measures were investigated. The PMF results were compared with an emission inventory data. Results show that the rigorous air quality restrictions implemented were successful. The averaged ambient VOC mixing ratios during the emission control period and non-control period were 27.53 and 45.42ppbv, respectively. The mixing ratios of total VOC during the control period were reduced by 40%. Alkanes were the most abundant chemical group in the two periods, followed by oxygenated volatile organic compounds (OVOCs). Almost all quantified VOC species decreased during the control period. Tracers of industrial sources and vehicle exhaust reduced most, including some halocarbons, esters and aromatics. Eight sources were resolved by online PMF analysis for ambient VOCs in Beijing. Contributions of those sources varied significantly during the control and non-control period. Compared with the values before control, contributions of vehicle-related sources were most reduced, followed by solvent utilization. Reductions of vehicle-related sources, solvent utilization, secondary formation, fuel combustion, and biogenic were responsible for 65%, 19%, 10%, 5%, and 1% of the reductions in ambient VOCs. Both PMF results and emission inventory data indicated that the control measure on traffic was very effective in reducing ambient VOCs in Beijing, with the emission reductions of about 50%.