The two-dimensional (2D) graphitic carbon nitride (g-C 3 N 4 ) nanosheets based composites are prepared in the form of the NiS/g-C 3 N 4 , CdS/g-C 3 N 4 and CdS/NiS/g-C 3 N 4 using a facile and reliable method of chemical deposition. The TEM and HRTEM images demonstrated a spectacular representation of the 2D lamellar microstructure of the g-C 3 N 4 with adequately attached CdS and NiS nanoparticles. The changes in crystallinity and the surface elemental valence states of composites with the incorporation of two metal sulphides are studied, which confirmed the formation of composites. The photocatalytic response of the composites was estimated by photodegradation of Rhodamine B (C 28 H 31 ClN 2 O 3 –RhB), and the ternary composite CdS/NiS/g-C 3 N 4 samples exhibited the superior photocatalytic performance. Further, the free radical capture and electron paramagnetic resonance (EPR) spectroscopy experiments identified the main active species that contributed to the photocatalytic reaction. Besides, the samples’ photocatalytic performance was evaluated by photocatalytic hydrogen production. The stability of the performance-optimized composite was determined by employing cyclic experiments over five cycles. The CdS/NiS/g-C 3 N 4 showed the highest efficiency of hydrogen production i.e. about 423.37 μmol.g −1 .h −1 , which is 2.89 times that of the pristine g-C 3 N 4 . Finally, two types of heterojunction structures were proposed to interpret the enhanced photocatalytic efficiency. • The CdS/NiS/g-C 3 N 4 was synthesized by a convenient chemical deposition method. • The CdS and NiS nanoparticles were attached on the surface of g-C 3 N 4 nanosheets. • The loaded metal sulphides could significantly improve the quantum efficiency. • The CdS/NiS/g-C 3 N 4 showed excellent photocatalysis and stability for H 2 evolution. • The ESR spectra indicated that ·O 2 − played a major role during the reaction process.