The low-cost fabrication of ZnO nanowire/CuSCN heterojunctions is demonstrated by combining chemical bath deposition with impregnation techniques. The ZnO nanowire arrays are completely filled by the CuSCN layer from their bottoms to their tops. The CuSCN layer is formed of columnar grains that are strongly oriented along the [003] direction owing to the polymeric form of the β-rhombohedral crystalline phase. Importantly, an annealing step is found essential in a fairly narrow range of low temperatures, not only for outgassing the solvent from the CuSCN layer, but also for reducing the density of interfacial defects. The resulting electrical properties of annealed ZnO nanowire/CuSCN heterojunctions are strongly improved: a maximum rectification ratio of 2644 at ±2 V is achieved following annealing at 150 °C under air atmosphere, which is related to a strong decrease in the reverse current density. Interestingly, the corresponding self-powered UV photodetectors exhibit a responsivity of 0.02 A/W at zero bias and at 370 nm with a UV-to-visible (370-500 nm) rejection ratio of 100 under an irradiance of 100 mW/cm(2). The UV selectivity at 370 nm can also be readily modulated by tuning the length of ZnO nanowires. Eventually, a significant photovoltaic effect is revealed for this type of heterojunctions, leading to an open circuit voltage of 37 mV and a short circuit current density of 51 μA/cm(2), which may be useful for the self-powering of the complete device. These findings show the underlying physical mechanisms at work in ZnO nanowire/CuSCN heterojunctions and reveal their high potential as self-powered UV photodetectors.