a figment of imagination

a figment of your imagination

also a figment of the imagination
something created by your mind I thought I saw someone standing in the shadows, but it was just a figment of my imagination.
See also: figment, imagination, of
References in periodicals archive ?
The story of the correspondent is therefore a figment of imagination, spokesman added.