Hydrofluoric Acid (HF) is considered one of the most hazardous chemicals used in industrial plants. Even small exposures to HF can have fatal consequences if not promptly and properly treated. Various research teams have presented numerous substances with the objective of capturing or detecting toxic HF gas. In this study, we explore the impact of HF gas on a single layer of SnS by employing density functional theory (DFT). The interaction nature between the gas molecule and the adsorbent is elucidated by analyzing the related adsorption energy, electronic structure properties and differential charge transfer. The findings indicate that HF is physically adsorbed on the pristine SnS with an adsorption energy value of −0.63 eV. By introducing a Sn mono vacancy defect, the modification of SnS enhances the adsorption energy to −1.26 eV, resulting in a chemisorption process. Molecular fluorine (F2) was discovered to undergo a barrierless reaction with SnS, resulting in the formation of fluorine-substituted SnS. It has been discovered that the substitution of fluorine atoms enhances the reactivity of SnS towards hydro-gen fluoride gas. The adsorption potential of the studied structures towards HF gas was determined to be in the following order: F2SnS > VSn–SnS > VS-SnS ∼ SnS. The current study is anticipated to offer new molecular insights that could lead to the creation of innovative devices for detecting or eliminating HF toxic gas from a specific atmosphere.