In this work, we reported a novel three-dimensional (3D) visible-light-driven hybrid photocatalyst synthesized via a facile hydrothermal process, which consists of two different 2D materials: g-C3N4 and BiOBr0.2I0.8. The physicochemical properties of the as-synthesized 3D hybrid photocatalyst were fully characterized using Electron spin resonance, X-ray diffraction, scanning electron microscopy, transmission electron microscopy, X-ray photoelectron spectroscopy, Fourier-transform infrared spectroscopy and UV–Vis diffuse reflectance spectrometry. The 10CN/BiOBr0.2I0.8 composite exhibits the best performance in visible-light-driven photocatalytic degradation of RhB among prepared samples. In such hybrid systems, electrons generated in g-C3N4 transfer to BiOBr0.2I0.8, while photo-generated holes on BiOBr0.2I0.8 transfer to g-C3N4, which enhances the charge separation through the heterojunction interface. The hole left on the valence band of g-C3N4 is the most efficient active species in the degradation process of RhB, therefore, heterojuncted BiOBr0.2I0.8 need better control for keeping some active sites on g-C3N4. In addition, the photodegradation efficiency of RhB still remains over 98% after six consecutive cycles, which indicates the good stability of such 3D g-C3N4/BiOBr0.2I0.8 hybrid photocatalysts.