Sulfur deposition usually occurs in the development of highsulfur gas reservoirs, threatening the production efficiency and mining safety by blocking the pore throats. Prediction on the solubility evolution of elemental sulfur in the sour gases is fundamental for controlling over sulfur deposition. It has been well-recognized that H 2 S is the main solvent in the sour gases. However, it remains unclear how the other components affect the sulfur dissolution in H 2 S. The solubility evolution of elemental sulfur (S 8 ) in the binary mixtures (H 2 S and CO 2 ), ternary mixtures (H 2 S, CO 2 , and CH 4 ), and mixtures up to five components is studied using molecular dynamics simulations under varying temperature, pressure, and component. On the basis of reproducing the experimentally observed dramatic solubility reduction, the antisolvent role of CO 2 and CH 4 in the sulfur dissolution is revealed. The solubility reduction stems from not only the low solubility in CO 2 and CH 4 but also the competitive interaction of CO 2 and CH 4 with H 2 S, and the latter is decisive. Our findings would be useful for the establishment of the sulfur dissolution/deposition model, which is essential for the development of high-sulfur natural gas reservoirs.