In this study, we tested the efficiency of nitrogen-doped titanium dioxide (N-TiO2) and nitrogen-doped bismuth molybdate (N-Bi2MoO6) compounds as photocatalysts capable of degrading methylene blue and lignin molecules under irradiation with ultraviolet (UV) and visible light (VIS). Moreover, we compared TiO2 and Bi2MoO6 catalysts with N-TiO2 and N-Bi2MoO6 compounds using chemical coprecipitation. The catalysts were prepared starting from Ti(OCH2CH2CH3)4, Bi(NO3)3·5H2O, and (NH4)6Mo7O24 reagents. N-doping was achieved in a continuous reflux system, using ethylene diamine as a nitrogen source. The resulting materials were characterized using Scanning Electron Microscopy (SEM), X-Ray diffraction (XRD), Fourier transform infrared spectroscopy (FTIR), and X-ray photoelectron spectroscopy (XPS). Additionally, we observed the decrease in particle size after processing the compounds in the reflux system. The results regarding photocatalytic degradation tests show a remarkable effect for nitrogen doped samples, achieving 90% of lignin degradation.