“Keep it under your hat” means to keep something secret—to avoid sharing it with others. The expression is documented in English by the late 19th century, though its precise first use and the moment it acquired its familiar meaning are not firmly established. That evidence gives us a useful boundary, not a definitive origin story: the phrase may have circulated in speech before it appeared in print.
The image would have been readily understood in a time when hats were everyday clothing. A hat could cover or conceal something, making “under your hat” a compact way to suggest keeping information out of sight. It also points playfully toward the head as the place where a thought can be held. The expression’s secrecy meaning has endured, while the hat itself has become less central to daily dress.
One popular explanation connects the phrase to medieval archers, who supposedly tucked spare bowstrings beneath their hats to protect them from rain. It is an appealingly vivid tale, but there is no reliable evidence tying that practice to the expression’s origin. Archers had good reason to keep bowstrings dry; that practical possibility, by itself, does not show that the phrase grew out of their habits. The safer explanation is that the wording uses an ordinary object as a metaphor for concealment, without claiming a single, provable source.
Today, the phrase is casual and often friendly, though it can also carry a note of caution. “I heard who’s getting the promotion, but keep it under your hat until the announcement.” Or: “She’s planning a surprise for her brother, so please keep it under your hat.” In both cases, the listener is being asked to hold back information rather than pass it along. The phrase endures because its image is simple, memorable, and just secretive enough to make a small confidence feel like a shared one.