'Jig' is a very old term for a lively dance, and in Elizabethan times the word also became slang for a practical joke or a trick. 'The jig is up' - meaning your trick or game is finished, has been exposed, we're onto you now - derives from this obsolete slang word. From "Encyclopedia of Word and Phrase Origins" by Robert Hendrickson (Facts on File, New York, 1997)
Another more speculative origination was posted prior to the referenced one above. It suggests the phrase may refer to a common fishing situation where a fisherman boasts they have hooked on to a large fish, at which point an unconvinced onlooker quickly refutes this claim because they can see that the fisherman's "jig is up." A jig is a common form of fishing tackle, typically arrangements of hooks, sinkers, metal bracing, plastic beads and swivels designed to target specific fish species.
- (US, idiomatic, dated) An expression used to mean "We have been caught out and have no defense", or if spoken to a person who's just been found out as the perpetrator of an offense, it means "You've been discovered."
- 1753, The Skipper
- We knew then the jig was up, and it was no grin matter for us.
- 1833, Seba Smith (as Jack Downing), The life and writings of Major Jack Downing, of Downingville, away down East in the State of Maine, Lilly, Wait, Colman & Holden, page 176,
- When I first told 'em how the jig was up with us, that the British were going to have the land, without any fighting about it, I never see fellows so mad before in my life, unless it was Major Eaton at Washington when he sot out to flog Mr. Ingham.
- 1920, Champ Clark, My Quarter Century of American Politics, Harper & brothers, page 96,
- After I had returned home in the spring of 1893 from Washington, where I saw so many gray-haired men who had held high elective office begging for the crumbs from Cleveland's table, I gave my wife an account of what I observed, and told her that when the jig was up for me I would hasten back to Missouri to begin the practice of law once more and be a man among men.
- 2007, Mary Newport, in Jerry Newport and Mary Newport, Mozart and the Whale: An Asperger's Love Story, Simon and Schuster, ISBN 074327282X, page 248,
- The universe works in strange ways: just when you think the jig is up, you get a second chance.
- 1753, The Skipper
- the game is up