On a whim
Meaning
Act impulsively without planning.
Usage
Used to describe spontaneous acts.
Origin & History
Origin notes can vary by region and source; this page gives the commonly reported explanation and usage context.
Whim is short for whim-wham, meaning a capricious fancy.
From the 18th century onward.