Carbon quantum dots (CQDs) coated BiVO4 inverse opal (io-BiVO4) structure that shows dramatic improvement of photoelectrochemical hydrogen generation has been fabricated using electrodeposition with a template. The io-BiVO4 maximizes photon trapping through slow light effect, while maintaining adequate surface area for effective redox reactions. CQDs are then incorporated to the io-BiVO4 to further improve the photoconversion efficiency. Due to the strong visible light absorption property of CQDs and enhanced separation of the photoexcited electrons, the CQDs coated io-BiVO4 exhibit a maximum photo-to-hydrogen conversion efficiency of 0.35%, which is 6 times higher than that of the pure BiVO4 thin films. This work is a good example of designing composite photoelectrode by combining quantum dots and photonic crystal.