Here, we demonstrate that a type-II g-C3N4 nanosheet (CNNS)/W18O49 heterostructure composite can be switched to Z-scheme through the deposition of Au nanoparticles (NPs) on the surface of CNNS. As a direct result, the designed Au/CNNS/W18O49 heterostructure shows enhanced photocatalytic performance for Cr(vi) reduction than the CNNS/W18O49 heterostructure and single components (CNNS and W18O49) under visible light irradiation.