The mass production of urea, the most widely used agricultural fertilizer, usually relies on energy- and carbon-intensive processes.The light-driven synthesis path has great potential for more sustainable techniques to produce urea from abundant naturally occurring resources, but this method suffers fromthe use of pure CO2 and high-energy-driven forces (high temperature or UV light).Herein, we present a mild photocatalytic pathway for urea production from diverse nitrogenous species (such as NO3-, NH3, and N2) and diluted CO2 using visible light.We designed a palladium (Pd)-doped Schottky heterojunction, composed of graphene and titanium dioxide, as an effective photocatalyst to achieve on-farm urea generation.With the injection of visible-light-generated hot electrons from graphene to TiO2, the as-integrated Pd(I) centers with a special oxidation state of +1.36 in the TiO2 lattice can initiate the universal reaction path of cascade reduction of NO3-/N2 to NH3 and resulting C-N coupling of CO2 with as-formed or added NH3 to transform diverse nitrogenous species and CO2 into urea.The urea yield over the at.-Pd@TiO2/Gr photocatalyst is 1.62 mmol g-1 h-1 under visible-light irradiation with an apparent quantum yield of 1.05% at 400 nm and 0.39% even at 700 nm.