Energy funneling effect of two-dimensional materials provides an important method for modulating carrier transfer. However, the formation of energy funneling and its influences on the carrier transfer are still relatively uncharacterized. In this work, the energy funneling induced by the layer number gradient effect in MoS
2 is investigated through atomic-bond-relaxation approach and first-principles calculations. It is found that the bandgap of MoS
2 monotonically increases with the decrease of the layer number, leading the conduction band minimum (valence band maximum) of thin layer MoS
2 to be higher than (lower than) that of thick layer MoS
2. Therefore, both dual thickness gradient and triple thickness gradient MoS
2 can achieve the energy funneling effect. As a result, the carriers will be directionally transferred from the thin layer region to the thick layer region. According to Marcus theory, the carrier transfer rate is dependent on drive force caused by the energy level difference with different thicknesses of MoS
2. For the dual thickness gradient MoS
2, when the thickness difference between adjacent layers is the largest, the driving force is the highest, which is 1L/bulk. In addition, owing to the driving force smaller than the reorganization energy in dual thickness gradient MoS
2, a large driving force corresponds to a high carrier transfer rate, resulting in a higher carrier transfer rate of 1L/bulk than those in other dual thickness gradient systems. For the triple thickness gradient MoS
2, there are two consecutive interface energy differences that induce driving forces. However, the carrier transfer rate is exponentially correlated with the driving force. Therefore, the carrier transfer rate of dual thickness gradient MoS
2 will be higher than that of the corresponding triple thickness gradient MoS
2. Our results demonstrate that the energy funneling effect induced by thickness gradient can realize carrier accumulation in the thick layer region without the need for p-n junctions, which is of great benefit in collecting photogenerated carriers. The atomic force microscopy lithography and chemical vapor deposition will be used to engineer thickness-gradient two-dimensional materials with enhanced optoelectronic properties in future.