Halide perovskites exhibit excellent electrical and optical properties, which are ideal active layer candidates for optoelectronic devices, particularly in high-performance photodetection where they demonstrate a competitive edge in development prospects. Among these, the all-inorganic perovskite CsPbBr
3has garnered widespread attention due to its better environmental stability. This paper demonstrated a vertical MSM-type CsPbBr
3thin-film photodetector characterized by fast response times and ultra-low dark current. The use of a vertical structure reduces the transit distance of photo carriers, enabling the device to achieve a fast response time of 63 μs, which is an improvement by two orders of magnitude compared to the traditional planar MSM-type photodetectors with response times of 10 ms. Then, by spinning a charge transport layer between the p-type CsPbBr
3and Ag electrodes, photocarriers effective separation at interface is realized and physical passivation between the perovskite and metal electrodes is also achieved. Due to the superior surface quality of the spun TiO
2film compared to the NiO
Xfilm, and through Sentaurus TCAD simulations and bandgap analyses, with TiO
2serving as the electron transport layer, it effectively inhibits the transmission of excess holes in p-type CsPbBr
3. Consequently, the electron transport layer TiO
2is more effective at reducing dark current than the hole transport layer NiO
X, with a dark current magnitude of only -4.81×10
-12A at a -1 V bias. Furthermore, this vertical MSM-type CsPbBr
3thin-film photodetector also boasts a large linear dynamic range (122 dB), high detectivity (1.16×10
12Jones), and good photo-stability. Through Sentaurus TCAD simulation, it was found that the charge transport layer selectively blocks carrier transmission, thereby reducing dark current. The simulation results are in good agreement with experimental data, providing theoretical guidance for a deeper understanding of the intrinsic physical mechanisms.