A curfew was first an order about fire, not about people. It told every household to cover its hearth and go to bed.
The word comes from Old French cuevrefeu, "cover fire," which survives in modern French as couvre-feu. Anglo-French had it as coeverfu by the late 1200s. Medieval Latin used parallel names, ignitegium and pyritegium, both built from "cover" and "fire."
The reason was practical. Merriam-Webster notes that houses in medieval European towns stood close together, so a fire in one could easily spread to the next. Etymonline says a bell rang in the evening, typically at 8 or 9 p.m., as the signal to cover the fire and sleep.
The word soon meant the bell and the hour rather than the fire. Word Histories quotes a London statute of 1285 that uses coeverfu for the time when the bell stopped tolling, with no mention of fire at all. Night movement was restricted after it, except for people carrying lanterns. The first known English use, spelled corfu, appears around 1320 and also refers to the time.
It has long been claimed that William the Conqueror imposed the curfew on England as a tool of political repression. Later chroniclers repeated the attribution. Word Histories says the claim "rests on no early historical evidence." The etymologist Anatoly Liberman agrees. Covering fires at a set hour was common across medieval Europe, and he argues the story grew from the word's French look.
Liberman raises a further doubt. He discusses an 1895 proposal that curfew comes from French carrefour, "crossroads," where the bell was supposedly rung. He finds it persuasive but says the question remains open. Standard dictionaries still give "cover fire."
The bell kept ringing long after its purpose lapsed. By the 1800s, Etymonline says, the word had widened into any periodic restriction on movement. That is the curfew most people know today, from emergency rules after a coup to a parent's deadline.
The word also named an object. A curfew could be a metal cover placed over embers so they smouldered overnight, ready to be revived in the morning.