Flexible zinc oxide (ZnO) photodetectors have attracted widespread attention due to their advantages such as light weight, good flexibility, good photoelectric performance, and flexible preparation processes. This study successfully prepared high-quality ZnO thin films on polyethylene terephthalate (PET) flexible substrates using magnetron sputtering method, and completed the preparation of photodetectors by evaporating silver electrodes on the surface of the thin films. Afterwards, we tested and characterized the photoelectric performance of the prepared detector, and the results showed that the detector has good photoresponse characteristics and stable photocurrent output. The preparation of this detector on a flexible substrate provides strong support for its applications in wearable electronics, flexible displays, and other fields. This study provides valuable insights for the future development and utilization of flexible ZnO photodetectors.