The optimal chemical composition of the Cd0.8Zn0.2S/FTO-based working electrode for photoelectrochemical cell is found. The influence of Na2S, S, and NaCl concentrations on the cell efficiency was studied. Under the optimal conditions, the highest short-circuit current density is 8.25 mA/cm2; the power conversion efficiency, 10.7%.