Occipital neuralgia is a sharp or jabbing electrical-type shock in the back of the head or neck. Or, it may involve an aching, burning, or throbbing pain that begins in the back of the head and moves to the scalp.