The prospects for supercritical water gasification technology for hydrogen production from coal are vast. However,thedevelopment of this technology is hindered by the formation of toxic sulfides during the gasification process. Therefore,conductingresearch on the sulfur migration mechanism during coal supercritical water gasification is of great significance for establishing targetedcontrol methods for sulfur in coal supercritical water gasification. The migration of inorganic sulfur,as an essential component of thesulfur migration mechanism during the coal supercritical water gasification process,is the focus of this study. Taking pyrite,a majorcarrier of inorganic sulfur in coal,as the research subject,molecular dynamics models for pyrite supercritical water gasification undervarious conditions were established. The study summarized the variations in key products such as H2 and H2S,and employed animationsto track the desorption and transformation process of sulfur,obtaining migration pathway diagrams. The results indicate that increasingtemperature not only promotes hydrogen generation but also suppresses hydrogen sulfide production,facilitating the release of sulfurfrom pyrite in the form of radical groups. Moreover,an increase in the number of supercritical water molecules promotes the detachmentof sulfur atoms from pyrite and enhances hydrogen production. However,it does not stimulate the generation of hydrogen sulfide gas. Concerning sulfur migration,sulfur atom migration is divided into thermal dissociation desorption and water-assisted desorption.Thermal dissociation desorption occurs in the early stages of the reaction,while water-assisted desorption is the primary mode of sulfuratom migration. The final products include sulfur-containing groups such as HOS and H2OS,along with H2S gas. Sulfur-containinggroups constitute over 80% of the total desorbed sulfur atoms. Another critical step in the evolution of pyrite clusters is the entry of oxygenatoms into the clusters. This process involves oxygen atoms from water molecules forming bonds with iron atoms,gradually moving fromthe outer to the inner regions of the clusters.