Relative humidity (RH) plays a significant role in secondary organic aerosol (SOA) formation, but the mechanisms remain uncertain. Using a 30 m3 indoor smog chamber, the influences of RH on SOA formation from two conventional anthropogenic aromatics (toluene and m-xylene) were investigated from the perspective of both the gas- and particle- phases based on the analysis of multi-generation gas-phase products and the chemical composition of SOA, which clearly distinguishes from many previous works mainly focused on the particle-phase. Compared to experiments with RH of 2.0%, SOA yields increased by 11.1%–133.4% and 4.0%–64.5% with higher RH (30.0%–90.0%) for toluene and m-xylene, respectively. The maximum SOA concentration always appeared at 50.0% RH, which is consistent with the change trend of SOA concentration with RH in the summertime field observation. The most plausible reason is that the highest gas-phase OH concentration was observed at 50.0% RH, when the increases in gas-phase OH formation and OH uptake to aerosols and chamber walls with increasing RH reached a balance. The maximum OH concentration was accompanied by a notable decay of second-generation products and formation of third-generation products at 50.0% RH. With further increasing RH, more second-generation products with insufficient oxidation degree will be partitioned into the aerosol phase, and the aqueous-phase oxidation process will also be promoted due to the enhanced uptake of OH. These processes concurrently caused the O/C and oxidation state of carbon (OSc) to first increase and then slightly decrease. This work revealed the complex influence of RH on SOA formation from aromatic VOCs through affecting the OH concentration, partitioning of advanced gas-phase oxidation products as well as aqueous-phase oxidation processes. Quantitative studies to elucidate the role of RH in the partitioning of oxidation products should be conducted to further clarify the mechanism of the influence of RH on SOA formation.