What are the causes of nerve pain on top side of the head?

Nerve pain. The most common cause of pain at the top of the head is occipital neuralgia, a situation usually due to compression of the occipital nerve as it leaves the base of the neck. It can sometimes be treated with local injections. Best to see a neurologist for an evaluation.