The word "derail" entered English in the 1850s from French dérailler (to go off the rails), combining the prefix dé- (off, away from) with rail. The word "rail" itself came from Old French reille (a bar, a bolt), from Latin regula (a straight stick, a bar, a rule), from the verb regere (to straighten, to direct, to rule). The PIE root *h₃reǵ- (to straighten, to direct) connects rails, rules, and kings in a single etymological family.
The connection between straightness and authority is one of the deepest metaphors in Indo-European culture. A regula was both a physical straight-edge (used by carpenters) and an abstract principle (a rule of conduct). A rex (king) was one who directed or ruled straight — the righteous ruler kept things on the straight path. English "right," "rector," "regiment," "region," "regular," and "reign" all
The literal meaning of "derail" could only emerge after the invention of the railroad. The earliest railways date to the early 19th century, and the word "derail" appeared in English within decades of the first major rail networks. Train derailments were — and remain — among the most dramatic and feared accidents in transportation, combining high speed, massive weight, and the total loss of control that occurs when vehicles leave their guiding tracks.
The figurative extension appeared almost simultaneously with the literal usage. By the 1860s, English speakers were using "derail" to describe any process knocked off its intended course: negotiations derailed by a scandal, plans derailed by unforeseen events, lives derailed by misfortune. The metaphor works because railroad tracks represent the most rigidly predetermined path imaginable — you cannot steer a train; you can only follow the route laid down by the tracks. Leaving those tracks means complete loss of
German offers an interesting parallel: entgleisen (to derail) combines ent- (away from) with Gleis (track, rail), creating the same metaphor from native Germanic roots rather than borrowing from French. The German figurative use is identical to the English one: a conversation can entgleisen, a career can entgleisen, a person can entgleisen (meaning to behave badly or lose control).
The noun "derailment" followed the verb and carries both literal and figurative senses. In modern political and media language, "derailment" has become a standard term for any unexpected event that diverts attention from an agenda or destroys a planned sequence of events.