Due to the direct bandgap with coupled spin–valley physics, semiconducting MX2 (M = Mo, W; X = S, Se) materials have attracted considerable attention and have numerous proposed applications. With the development of 2D materials research, many 2D materials have been discovered, such as insulators, semiconductors, ferromagnetic semiconductors, topological insulators, metals, and ferromagnetic metals. van der Waals heterojunctions (vdWHs), based on MX2 and other 2D materials, have attracted increasing attention because of their various potential applications, such as field effect transistors, solar cells, photodetectors, light emitting diodes, and lasers. Based on the functionality of 2D materials, vdWHs are classified into six classes: MX2/semiconductors, MX2/insulators, MX2/topological insulators, MX2/ferromagnetic semiconductors, MX2/metals, and MX2/ferromagnetic metals. For each class of vdWHs, the structural, electronic, and optical properties, as well as potential applications in electronics and optoelectronics, are reviewed. Finally, an overview of perspectives and challenges regarding vdWHs based on MX2 materials is presented.