<P> The hypoglossal nerve is the twelfth cranial nerve, and innervates all the extrinsic and intrinsic muscles of the tongue, except for the palatoglossus which is innervated by the vagus nerve . It is a nerve with a solely motor function . The nerve arises from the hypoglossal nucleus in the brain stem as a number of small rootlets, passes through the hypoglossal canal and down through the neck, and eventually passes up again over the tongue muscles it supplies into the tongue . There are two hypoglossal nerves in the body: one on the left, and one on the right . </P> <P> The nerve is involved in controlling tongue movements required for speech and swallowing, including sticking out the tongue and moving it from side to side . Damage to the nerve or the neural pathways which control it can affect the ability of the tongue to move and its appearance, with the most common sources of damage being injury from trauma or surgery, and motor neuron disease . The first recorded description of the nerve is by Herophilos in the third century BC . The name hypoglossus springs from the fact that its passage is below the tongue, from hypo (Greek: "under") and glossa (Greek: "tongue"). </P> <P> The hypoglossal nerve arises as a number of small rootlets from the front of the medulla, the bottom part of the brainstem, in the preolivary sulcus, which separates the olive and the pyramid . The nerve passes through the subarachnoid space and pierces the dura mater near the hypoglossal canal, an opening in the occipital bone of the skull . </P> <P> After emerging from the hypoglossal canal, the hypoglossal nerve gives off a meningeal branch and picks up a branch from the anterior ramus of C1 . It then travels close to the vagus nerve and spinal division of the accessory nerve, spirals downwards behind the vagus nerve and passes between the internal carotid artery and internal jugular vein lying on the carotid sheath . </P>

Where does the hypoglossal nerve exit the skull