Halide perovskite semiconductors have outstanding physical properties such as high light absorption coefficient, large carrier diffusion length, and high photoluminescence quantum efficiency, and demonstrate significant potential applications in optoelectronic devices such as photodetectors and solar cells. However, the toxicity and environmental instability associated with lead-based perovskites significantly limit their applications. An attractive solution is substituting tin for lead in perovskites and growing high-quality tin-based perovskite films. In this study, we adopt the pulsed laser deposition method to achieve the epitaxial growth of CsSnBr<sub>3</sub> films on silicon substrates. The morphologies, optical and electrical properties of the CsSnBr<sub>3</sub> films, as well as the CsSnBr<sub>3</sub>/Si heterojunction detectors, are comprehensively investigated with various characterization techniques, including XRD 2<i>θ</i>-<i>ω</i> and <i>φ</i> scans, atomic force microscope, scanning electron microscope, photoluminescence and time-resolved photoluminescence spectroscopy, and Hall electrical measurements. The results indicate that such a CsSnBr<sub>3</sub> film grows epitaxially onto the silicon substrate via a face-to-face mode. Interestingly, an unusual temperature-dependent bandgap increase is found to be due to the high electron effective mass of CsSnBr<sub>3</sub>. The CsSnBr<sub>3</sub> film shows the P-type semiconductor behavior with a high mobility of 122 cm²/(V·s), enabling the formation of an ideal Type-II heterojunction with the silicon substrate. The CsSnBr<sub>3</sub>/Si semiconductor heterojunction detector exhibits distinctive heterojunction PN diode characteristics in the dark and a pronounced photoresponse under illumination. At zero bias, the detector displays a switch ratio exceeding 10<sup>4</sup>, responsivity of 0.125 mA/W, external quantum efficiency of 0.0238%, detectivity (<inline-formula><tex-math id="Z-20240301150440">\begin{document}$D^* $\end{document}</tex-math><alternatives><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="5-20231645_Z-20240301150440.jpg"/><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="5-20231645_Z-20240301150440.png"/></alternatives></inline-formula>) of 2.1×10<sup>9</sup> Jones, response time 3.23 ms, and recovery time of 4.87 ms. Under a small bias of –1 V, the switch ratio decreases to 50, but responsivity and external quantum efficiency increase by 568 times. The detectors can maintain self-powered operation state with a high switch ratio of 10<sup>4</sup>, millisecond-level response time and millisecond-level recovery time. In conclusion, this work presents a self-powering, high-performance photodetector based on CsSnBr<sub>3</sub> epitaxial films integrated with silicon substrates.