The primary objective of this research is to address the energy challenges by introducing an innovative nanocomposite material. This material is designed to facilitate the conversion of environmentally friendly and economically viable Red Sea water into hydrogen gas. The ultimate goal of this work is to pave the way for the development of a practical device that can be employed within households and industrial settings to directly convert water into hydrogen gas. This novel nanocomposite material synthesized through oxidative polymerization comprises As2O3 and Poly-3-methylaniline (P3MA). This material possesses an extensive absorption range, spanning up to 700 nm, and features a bandgap of 1.75 eV, making it a promising candidate for use as a photoelectrode in green hydrogen production. The unique aspect of this setup lies in the utilization of Red Sea water, a natural sacrificing agent, as the electrolyte, rendering the process eco-friendly and cost-effective. When it is employed as a photoelectrode, this material exhibits high sensitivity to green hydrogen production, generating 6 moles/10 cm2·h of hydrogen. At a voltage of −0.83 V, the current density values are measured as −0.08 mA·cm−2 (Jph) in light and −0.02 mA·cm−2 (Jo) in darkness. Furthermore, the photoelectrode’s responsiveness to light is assessed with different optical filters, revealing the optimal performance at 340 nm, where Jph reaches −0.052 mA·cm−2. These outcomes provide strong evidence of the photoactivity of the As2O3/P3MAphotoelectrode for green hydrogen production using Red Sea water. This underscores its potential for the development of an electrochemical cell for the direct conversion of sea water into H2 gas.