Abstract Recent experimental and theoretical studies indicate that thiols (R-SH) can be used to repair sulfur vacancy defects in MoS 2 monolayers (MLs). This density functional theory study investigates how the thiol repair mechanism process can be used to dope MoS 2 MLs. Fluorinated thiols as well as amine-containing ones are used to p- and n-dope the MoS 2 ML, respectively. It is shown that functional groups are only physisorbed on the repaired MoS 2 surface. This explains the reversible doping with fluorinated thiols.