Bi2O2Se nanosheets were synthesized by molten salt method by using Bismuth nitrate pentahydrate as bismuth source, selenium powder as selenium source and hydrazine hydrate as reducing agent at different concentrations of NaOH (0~3mol/L). The morphology, structure and composition of the samples were characterized by XRD, SEM, TEM and XPS. Then, a wide spectrum self-powered detector was prepared by using Bi2O2Se as the working electrode, and their photoelectric detection performance was investigated. The test results show that the Bi2O2Se self-powered detector has the best photoelectric detection performance under the condition of 1.1mol/L NaOH. In the UV-Vis-IR band, it has a high response. Under 365nm UV light, the photocurrent can reach 7.8μA, and the rise and fall time are 30 and 21ms, respectively. The responsivity and detectivity are 4.2×10-4A/W and 1.02×109Jones, respectively.