on the fly
on the fly (idiomatic adverbial phrase)
/ɑn ðə flaɪ/
Synopsis
The idiom “on the fly” means doing something in real time, during a process, without prior planning. It originated in nineteenth-century American baseball, where catching a ball before it hit the ground was called catching it “on the fly,” a sense that later evolved into its modern figurative meaning of quick, spontaneous action.
Meanings
- Done while something is happening, in real time, without stopping the process.
- Decided or created without prior planning; spontaneous.
- Quickly adjusted in response to changing circumstances.
- (Literal) While moving or in motion, originally linked to flight.
Synonyms: spontaneously; in real time; impromptu; off the cuff; on the spot; as you go.
Example Sentences
- The engineer fixed the bug on the fly during the live demo.
- With new data coming in, the team revised the plan on the fly.
- She answered questions on the fly without prepared notes.
- (literal) The reporter gathered details on the fly while moving between locations.
Etymology and Origin
Literal Sporting Origins
The phrase “on the fly” originated with a literal meaning connected to motion through the air. Its earliest and most concrete use emerged in nineteenth-century American baseball, where a ball caught before touching the ground was said to be caught “on the fly.” This usage emphasized immediacy, timing, and uninterrupted action, contrasting with balls caught after a bounce, which were treated differently under early rules of the game.
Competing Explanations of Development
Two main explanations account for how the phrase developed beyond sport. The dominant view traces its evolution directly from baseball usage, where quick, in-motion action was central. A secondary and less supported explanation links the phrase more generally to the idea of flight itself—actions performed while moving or airborne. However, early printed evidence aligns far more clearly with the baseball-based explanation rather than a broad poetic association with flying.
Shift to Figurative Meaning
By the late nineteenth century, “on the fly” expanded beyond its literal sporting sense into figurative language. The phrase came to describe actions taken while an activity was already in progress, without pause or prior planning. This semantic shift followed a common pattern in English, where physical motion is used metaphorically to describe mental speed, adaptability, and improvisation.
Geographic and Cultural Origin
The idiom originated in the United States, shaped by American sporting culture during the formative years of baseball. As the sport gained popularity and its terminology spread through newspapers and everyday speech, “on the fly” moved naturally into general American English and later into international usage.
Earliest Printed Evidence
The earliest printed records of “on the fly” appear in mid-nineteenth-century baseball guides and sports reporting. These texts use the phrase to describe catching a ball directly in the air, reflecting official rules and common gameplay language of the period. Such records firmly establish the phrase’s literal origin before its figurative expansion.
Historical Consolidation
As English absorbed sporting terminology into everyday speech, “on the fly” became firmly established as an idiom expressing real-time decision-making and spontaneous action. Its endurance reflects the clarity of its underlying image—doing something while events are still in motion—which continues to resonate across modern professional, technical, and conversational contexts.
Variants
- on-the-fly (adjective form)
- done on the fly
- on the fly decision

Share your opinions