Two-dimensional (2D) materials are highly sought after for their superior semiconducting properties, making them promising candidates for next-generation electronic and optoelectronic devices. Transition-metal dichalcogenides (TMDCs), such as molybdenum disulfide (MoS2) and tungsten diselenide (WSe2), are promising alternative 2D materials. However, the devices based on these materials experience performance deterioration due to the formation of a Schottky barrier between metal contacts and semiconducting TMDCs. Here, we performed experiments to reduce the Schottky barrier height of MoS2field-effect transistors (FETs) by lowering the work function (Фm=Evacuum−EF,metal) of the contact metal. We chose polyethylenimine (PEI), a polymer containing simple aliphatic amine groups (–NH2), as a surface modifier of the Au (ФAu= 5.10 eV) contact metal. PEI is a well-known surface modifier that lowers the work function of various conductors such as metals and conducting polymers. Such surface modifiers have thus far been utilized in organic-based devices, including organic light-emitting diodes, organic solar cells, and organic thin-film transistors. In this study, we used the simple PEI coating to tune the work function of the contact electrodes of MoS2FETs. The proposed method is rapid, easy to implement under ambient conditions, and effectively reduces the Schottky barrier height. We expect this simple and effective method to be widely used in large-area electronics and optoelectronics due to its numerous advantages.Supplementary InformationThe online version contains supplementary material available at 10.1186/s11671-023-03855-z.