A heterostructured photoelectrocatalyst and a method of fabricating the same. The heterostructured photoelectrocatalyst according to the invention includes a substrate, a plurality of nanowires, a plurality of metal nanoparticles and a transition metal compound film. The substrate is formed of a semiconductor material with a first conductive type. The plurality of nanowires are formed of the semiconductor material and formed on an upper surface of the substrate. Each nanowire thereon exists a few of the plurality of metal nanoparticles. The transition metal compound film is formed to overlay the plurality of nanowires and the plurality of metal nanoparticles. The transition metal compound film can formed of a transition metal sulfide, a transition metal telluride or a transition metal selenide. The compound film has a second conductive type different from the first conductive type. |