Hydrogen and hydrogen peroxide have been photoelectrocatalytically produced by electrocatalytic reduction using simple carbon electrodes made by depositing a mesoporous carbon film on carbon cloth. Visible-light-absorbing photoanodes have been constructed by depositing mesoporous CdS/TiO2 or WO3 films on transparent fluorine-doped tin oxide (FTO) electrodes. Both produced substantial photocurrents of up to 50 mA in the case of CdS/TiO2 and 25 mA in the case of WO3 photoanodes, and resulting in the production of substantial quantities of H2 gas or aqueous H2O2. Maximum hydrogen production rate was 7.8 µmol/min, and maximum hydrogen peroxide production rate was equivalent, i.e., 7.5 µmol/min. The same reactor was employed for the production of both solar fuels, with the difference being that hydrogen was produced under anaerobic and hydrogen peroxide under aerated conditions. The present data promote the photoelectrochemical production of solar fuels by using simple inexpensive materials for the synthesis of catalysts and the construction of electrodes.