Due to the high bandgap of up to 4.8 eV, Ga<sub>2</sub>O<sub>3</sub> has a natural advantage in the field of deep-ultraviolet (DUV) detection. Ga<sub>2</sub>O<sub>3</sub>-based photoconductors, Schottky and heterojunction detectors have been proposed and have shown excellent photodetection performance. Ga<sub>2</sub>O<sub>3</sub> heterojunction detectors are self-driven and feature low power consumption. On the other hand, considering the ultra-wide bandgap and low intrinsic carrier concentration, Ga<sub>2</sub>O<sub>3</sub>-based photodetectors are exhibiting important applications in high-temperature photodetection. In this work, a WO<sub>3</sub>/<i>β</i>-Ga<sub>2</sub>O<sub>3</sub> heterojunction DUV photodetector was constructed and the effect of high temperature on its detection performance was investigated. <i>β</i>-Ga<sub>2</sub>O<sub>3</sub> films were prepared by metal-organic chemical vapor deposition (MOCVD), and WO<sub>3</sub> films and Ti/Au ohmic electrodes were prepared by spin-coating and magnetron sputtering techniques, respectively. The current-voltage (<i>I-V</i>) and current-time (<i>I-t</i>) measurements were performed at different ambient temperatures. Parameters including light-dark-current ratio (<i>PDCR</i>), responsivity (<i>R</i>), detectivity (<i>D</i><sup>*</sup>), and external quantum efficiency (<i>EQE</i>) were extracted to evaluate the deep-ultraviolet detection performance and its high-temperature stability. At room temperature (300 K), the <i>PDCR</i>, the <i>R</i>, the <i>D</i><sup>*</sup>, and the <i>EQE</i> of the detector are 3.05×10<sup>6</sup>, 2.7 mA/W, 1.51×10<sup>13</sup> Jones, and 1.32%, respectively. As the temperature increases, the dark current of the device increases and the photocurrent decreases, resulting in the degradation of the photodetection performance. To explore the physical mechanisms underlying the degradation of the detection performance, the effect of temperature on the carrier generation-combination process is investigated. It is found that the main reason is that the Shockley-Read-Hall (SRH) generation-combination mechanism is enhanced with the increase in temperature. Recombination centers are introduced from the crystal defects and interfacial defects, which are the main source of the SRH process. Specifically, the dark current mainly comes from the depletion region of WO<sub>3</sub>/<i>β</i>-Ga<sub>2</sub>O<sub>3</sub>, and the carrier generation rate in the depletion region is enhanced with increasing temperature, which leads to the rise of dark current. Similarly, the increase in temperature leads to the improvement of the recombination process, thereby the photocurrent decreases at a higher temperature. This effect can also well explain the variation in response time at high temperatures. Overall, it is exhibited that the WO<sub>3</sub>/<i>β</i>-Ga<sub>2</sub>O<sub>3</sub> heterojunction photodetector can achieve stable self-powered operation even at an ambient temperature of 450 K, indicating that the all-oxide heterojunction detector has potential applications in harsh detection environments.