We propose a solution-processable ultraviolet (UV) photodetector with a pn-heterojunction hybrid photoactive layer (HPL) that is composed of poly-n-vinylcarbazole (PVK) as a p-type polymer and ZnO nanoparticles (NPs) as an n-type metal oxide. To observe the effective photo-inducing ability of the UV photodetector, we analyzed the optical and electrical properties of HPL which is controlled by the doping concentration of n-type ZnO NPs in PVK matrix. Additionally, we confirmed that the optical properties of HPL dominantly depend on the ZnO NPs from the UV-vis absorption and the photoluminescence (PL) spectral measurements. This HPL can induce efficient charge transfer in the localized narrow pn-heterojunction domain and increases the photocurrent gain. It is essential that proper doping concentration of n-type ZnO NPs in polymer matrix is obtained to improve the performance of the UV photodetector. When the ZnO NPs are doped with the optimized concentration of 3.4 wt.%, the electrical properties of the photocurrent are significantly increased. The ratio of the photocurrent was approximately 103 higher than that of the dark current.