GaN/Si heterojunctions have been considered as a promising candidate for high-power and high-speed optoelectronic devices. In this paper, the fabrication of amorphous GaN/p-Si heterojunction was carried out by using the two-step pulsed laser deposition (PLD) technology, and its photoelectric properties were further enhanced by thermal annealing in ammonia (NH3) atmosphere. After thermal annealing treatment, blue-shift effect of the optical band gap and space charge effect of the annealed amorphous GaN/p-Si heterojunction were caused by the reduction of N-deficiency, the relatively flat surface and the improved crystalline of GaN films. Besides, a near-red emission band of the EL spectrum was revealed by the annealed amorphous GaN/Si heterojunctions and dominated by interfacial recombination luminescence. This study provides a feasible approach to fabricate GaN/Si-based devices with different emission wavelengths.