Ammonia (NH3) is an important base gas in the atmosphere and has received extensive research interest due to its role on secondary aerosol formation. However, the effects of NH3 on the photochemical smog oxidants formation including ozone and secondary aerosol did not attract much attention. In this study, a set of smog chamber experiments was conducted under toluene/NOx photo-oxidation base condition and adding NH3 in the following photochemical regimes referred as hydrocarbon, NOx-limited and transitional regimes. Dedicated instruments including gas analysers, scanning mobility particle sizer (SMPS), aerosol mass spectrometry (HRToF-AMS) were used to measure the gaseous compounds, aerosol mass concentration and chemical composition. It was found that the presence of NH3 did not affect the O3 formation rate. However, the particle number concentration increased dramatically after NH3 was injected in any photochemical regimes. This effect has been mainly attributed to the rapid formation of organic ammonium and ammonium nitrate. The mass spectra of organic aerosols from AMS showed that the most abundant fragments were at m/z 28, 29, 43 and 44, which became higher after the addition of NH3 in the transition and NOx-limited regimes, indicating that NH3 could enhance the formation of the compounds containing carbonyl and carboxylic acid functional groups. Compared to hydrocarbon-limited regime, higher atomic nitrogen-to-carbon (N:C) ratios were observed when NH3 were injected into transition and NOx-limited regimes, and this is mainly due to more organic nitrate formation. Four factors, which were assigned to inorganic nitrate aerosols, carboxylic acid compounds, carbonyl compounds and