The invention discloses a photoelectric detector based on graphene/boron-doped silicon quantum dots/silicon and a preparation method thereof. The photoelectric detector comprises an n type silicon substrate, a top electrode, a graphene film, a boron-doped silicon quantum dot film, and a bottom electrode. The photoelectric detector can carry out wide spectral detection, and a problem of low infrared detection response of a traditional silicon-based PIN junction is solved. According to the detector, graphene is used as an active layer and a transparent electrode, a dead layer is eliminated, and the absorption of incident light is enhanced. The boron-doped silicon quantum dot film is in the middle, the influence of a silicon surface state is reduced, and the reverse saturation current is suppressed at the same time. Under a certain reverse bias voltage effect, collision ionization is generated by photon-generated carriers and silicon lattice, and a high photoelectric response is obtained. The photoelectric detector and the preparation method have the advantages of a simple preparation process, low cost, a high response degree, fast response speed, a large internal gain, a small switching ratio, and easy integration.