mid-15c., from Middle French détention (13c.), from Late Latin detentionem (nominative detentio), noun of action from past participle stem of Latin detinere (see detain). Sense of "confinement" used by 1570s (in reference to Mary Queen of Scots). In reference to school punishment, recorded from 1882.[detention etymology, detention origin, 英语词源]