The partitioning of light elements between liquid and solid at the inner core boundary (ICB) governs compositional difference and density deficit between the outer and inner core. Observations of high S and low Fe concentration on the surface of Mercury from MESSENGER mission indicate that Mercury is formed under much more reduced conditions than other terrestrial planets, which may result in a Si and S-bearing metallic Fe core. In this study, we conducted high-pressure experiments to investigate the partitioning behavior of Si and S between liquid and solid in the Fe-Si-S system at 15 and 21 GPa, relevant to Mercury's ICB conditions. Experimental results show that almost all S partitions into liquid. The partitioning coefficient of Si (DSi) between liquid and solid is strongly correlated with the S content in liquid (XSliquid) as: log10(DSi)=0.0445+5.9895⁎log10(1−XSliquid). Within our experimental range, pressure has limited effect on the partitioning behavior of Si and S between liquid and solid. For Mercury with an Fe-Si-S core, compositional difference between the inner and outer core is strongly dependent on the S content of the core. The lower S content is in the core, the smaller compositional difference and density deficit between the liquid outer core and solid inner core should be observed. For a core with 1.5 wt% bulk S, a model ICB temperature would intersect with the melting curve at ∼17 GPa, corresponding to an inner core with a radius of ∼1600 km.