Organic pollutant detection has caused widespread concern regarding due to their potential environmental and human health risks. In this work, a nitrogen-doped titanium dioxide/silver oxide (N-TiO2/Ag2O) composite has been designed asa sensitive photoelectrochemical (PEC) monitoring platform of organic dyes. Sensitive determination relies on the outstanding PEC performance of N-TiO2/Ag2O. The improved PEC performance stems from the effective separation of photocarriers and the extended light response range provided by the narrowing bandgap and a p-n junction with N-TiO2/Ag2O. The N-TiO2/Ag2O electrode exhibits a photocurrent density of up to 2.2mA/cm2, demonstrating three times increase compared withthe photocurrent density observed with the pure TiO2 film. The linear detection range for rhodamine B (RhB), methylene blue (MB), and methyl orange (MO) is 0.2ng/mL to 10 μg/mL with an ultrasensitive detection limit of 0.2ng/mL without bias voltage. Due to the outstanding photocurrent density and sensitive response to organic pollutants, the N-TiO2/Ag2O PEC sensor provided a promising analytical method to detect environmental organic dyes.