Maugham wrote The Magician after meeting the famous magician and occultist Aleister Crowly in Paris. He caricatures Crowly as the protagonist Oliver Haddo, a magician who is attempting to create life. Crowly later accused Maugham of plagiarism and Maugham added the foreword A Fragment of Autobiography, which is included in this edition.