The greater occipital nerve is a branch of the posterior ramus of the C2 spinal nerve, emerges just inferior to the obliquus capitis inferior muscle, ascends superficial to the suboccipital triangle, pierces the semispinalis capitis and trapezius muscles, and then spreads out to supply a large part of the posterior scalp as far superiorly as the vertex.