Sb-doped p-type ZnO films were grown on n-Si (100) by electron cyclotron resonance (ECR)-assisted molecular-beam epitaxy (MBE). Room temperature Hall effect measurements reveal that a heavily Sb-doped ZnO sample exhibits a low resistivity of 0.2 Ω cm, high hole concentration of 1.7×1018 cm-3, and high mobility of 20.0 cm2/V s. Low-temperature photoluminescence (PL) measurements show an Sb-associated acceptor-bound exciton (AoX) emission exists at 3.358 eV at 8.5 K. The acceptor energy level of the Sb dopant is estimated to be 0.14 eV above the valence band. Based on these electrical and optical properties, p-n hetero- and homojunction photodetectors employing Sb-doped p-type ZnO films were designed and fabricated. The heterojunction photodiode consists of Sb-doped p-type ZnO grown on n-Si (100) substrate. An Sb-doped p-type ZnO layer with an n-type Ga-doped ZnO layer was grown on a p-Si (111) substrate to form the homojunction. Current-Voltage (I-V) characterizations reveal rectifying characteristics. Good photoresponse to UV light has been demonstrated for both hetero and homojunction photodetectors.