We demonstrate a two-step electrosynthesis approach for the preparation of silver pyrovanadate, Ag4V2O7 in thin-film form. In the first, cathodic step, polycrystalline Ag was deposited on fluorine doped tin oxide substrate from a non-aqueous bath. Aqueous pyrovanadate species were then generated by aging of a CO2-infused sodium orthovanadate (Na3VO4) solution for three weeks. Silver ions were subsequently generated in situ in this medium using anodic stripping of the Ag/indium tin oxide films from the first step. Interfacial precipitation of the Ag+ ions with the pyrovanadate species afforded the targeted product in phase pure form. The various stages of the electrosynthesis were monitored in situ via the combined use of voltammetry, electrochemical quartz crystal nanogravimetry, and coulometry. The Ag4V2O7 thin films were characterized by a variety of experimental techniques, including X-ray diffraction, laser Raman spectroscopy, diffuse reflectance spectroscopy, scanning electron microscopy, and high-resolution transmission electron microscopy. Surface photovoltage spectroscopy, ambient-pressure photoemission spectroscopy, and Kelvin probe contact potential difference (work function) measurements afforded information on the energy band structure of the p-type Ag4V2O7 semiconductor. Finally, the electrochemical and photoelectrochemical properties of the electrosynthesized Ag4V2O7 thin films were studied in both aqueous and non-aqueous electrolytes.