Digital endocasts of the right inner ears of various squamates in lateral view (anterior to the right). (a) Varanus gilleni (SAMA R32164), a generalist lizard; (b) Naja siamensis (SAMA R63784), a generalist snake; (c) Ahaetulla prasina (SAMA R22443), an arboreal snake; (d) Hydrophis platurus (FMNH 16927), a fully aquatic snake; (e) Myron richardsonii (SAMA R24824), a semi-aquatic snake; (f) Xenopeltis unicolor (SAMA R36861), a semi-fossorial snake with a preference for wet, swampy habitats; (g) Cylindrophis ruffus (SAMA R12956), a fossorial snake with a preference for tropical rainforest close to water bodies, where it hunts for eels; (h) the uropeltid snake Teretrurus sanguineus (NMV 8385), a truly fossorial snake (i.e. digs burrows); (i) Calabaria reinhardtii (FMNH 117833), a fossorial snake in loose soil and leaf litter; (j) Brachyurophis australis (SAMA R131571), a fossorial snake in loose soil and sand; (k) the scolecophidian snake Liotyphlops beui (SAMA R40142), a truly fossorial snake (i.e. digs burrows); (l) Dinilysia patagonica (MACN RN-1014), an extinct snake with unknown ecological preference. Note how diverse is the morphology of the inner ear of fossorial (s.l.) taxa. Names follow the same colour coding used in the other figures. For institutional abbreviations see electronic supplementary material S1, table S1. Images are not to scale.