The stylomastoid foramen is situated between the styloid and mastoid processes of the temporal bone (thus the name). It allows passage of the facial n. (CN VII) out of the temporal bone.