Metafiction is a form of fiction that emphasizes its own narrative structure in a way that inherently reminds the audience that they are reading or viewing a fictional work. Metafiction is self-conscious about language, literary form, and storytelling, and works of metafiction directly or indirectly draw attention to their status as artifacts. Metafiction is frequently used as a form of parody or a tool to undermine literary conventions and explore the relationship between literature and reality, life and art.
Although metafiction is most commonly associated with postmodern literature that developed in the mid-20th century, its use can be traced back to much earlier works of fiction, such as The Canterbury Tales (Geoffrey Chaucer, 1387), Don Quixote Part Two (Miguel de Cervantes, 1615), Chymical Wedding of Christian Rosenkreutz (Johann Valentin Andreae, 1617), The Cloud Dream of the Nine (Kim Man-jung, 1687), The Life and Opinions of Tristram Shandy, Gentleman (Laurence Sterne, 1759), Sartor Resartus (Thomas Carlyle, 1833–34), and Vanity Fair (William Makepeace Thackeray, 1847).