Nitrogen has five valence electrons. In a neutral nitrogen atom, these five valence electrons are arranged in two electron pairs and one unpaired electron. The two electron pairs are in the 2s and 2p orbitals, while the unpaired electron is in the 2p orbital.