The Master and Margarita (Russian: Ма́стер и Маргари́та) is a novel by Russian writer Mikhail Bulgakov, written in the Soviet Union between 1928 and 1940 during Stalin's regime. A censored version was published in Moscow magazine in 1966–1967, after the writer’s death. The manuscript was not published as a book until 1967, and then first in Paris. A samizdat version circulated that included parts cut out by official censors, and these were incorporated in a 1969 version published in Frankfurt. The novel has since been published in several languages and editions.
The story concerns a visit by the devil to the officially atheistic Soviet Union. Many critics consider it to be one of the best novels of the 20th century, as well as the foremost of Soviet satires.