1530s, "one who detains," agent noun from detain. As a legal term, "a detaining in one's possession" (what belongs to another), 1610s, from Anglo-French detener, from Old French detenir (noun use of infinitive).
detachable
detachment
detail
detain
detainee
detainer
detainment
detect
detectable
detection
detective