The Magic Flute (German: Die Zauberflöte, pronounced [diː ˈtsaʊbɐˌfløːtə] (listen)), K. 620, is an opera in two acts by Wolfgang Amadeus Mozart to a German libretto by Emanuel Schikaneder. The work is in the form of a Singspiel, a popular form during the time it was written that included both singing and spoken dialogue.[a] The work premiered on 30 September 1791 at Schikaneder’s theatre, the Freihaus-Theater auf der Wieden in Vienna, just two months before the composer’s premature death. Still a staple of the opera repertory, its popularity was reflected by two immediate sequels, Peter Winter’s Das Labyrinth oder Der Kampf mit den Elementen. Der Zauberflöte zweyter Theil (1798) and a fragmentary libretto by Johann Wolfgang von Goethe titled The Magic Flute Part Two.
The allegorical plot was influenced by Schikaneder and Mozart’s interest in Freemasonry and concerns the initiation of Prince Tamino. Enlisted by the Queen of the Night to rescue her daughter Pamina from the high priest Sarastro, Tamino comes to admire the high ideals of the latter and he and Pamina both join Sarastro’s community, while the Queen and her allies are vanquished.