The moment at which the problem you've been banging your head against for the last month vanishes and is replaced by sheer understanding.
Used in the title of MartinGardner's "Aha! Paradox".
Also defined, somewhat differently, by Alan Partridge: AKA EurekaMoment
See also AhHa