Single-crystalline n-type InP nanowires (NWs) with different electron concentrations were synthesized on Si substrates via the vapor phase transport method. The electrical properties of the InP nanowires were investigated by fabricating and measuring single NW field-effect transistors (FETs). Single InP NW/p(+)-Si heterojunctions were fabricated, and electroluminescence (EL) spectra from them were studied. It was found that both the photoluminescence (PL) spectra of the InP NWs and the EL spectra of the heterojunctions blueshift from 920 to 775 nm when the electron concentrations of the InP NWs increase from 2 × 10(17) to 1.4 × 10(19) cm(-3). The blueshifts can be attributed to the Burstein-Moss effect rather than the quantum confinement effect in the InP NWs. The large blueshifts observed in this study indicate a potential application of InP NWs in nano-multicolour displays.