Pull a rabbit out of the hat
Meaning
Produce something surprising or seemingly magical.
Usage
Used for unexpected solutions.
Origin & History
Origin notes can vary by region and source; this page gives the commonly reported explanation and usage context.
Magician's trick revealing a rabbit from an empty hat.
Used in illusionist publicity and now figuratively everywhere.