Moscow, 1930s. A famous writer at the height of his career suddenly finds himself at the center of a literary scandal. The performance of his play is removed from the repertoire, his colleagues demonstratively avoid meeting him, and in a matter of days he turns into an outcast. Soon after this, he meets Margarita, who becomes his lover and muse. Inspired by her love and support, the writer takes on a new novel in which the characters are people from his environment, and the main character is the mysterious Woland, whose prototype is a recent foreign acquaintance. The writer immerses himself in the world of his novel and gradually ceases to notice how fiction and reality are intertwined into one whole.