The Nutcracker (Shchelkunchik), Op. 71, is an 1892 two-act classical ballet (balet-feyeriya) by Pyotr Ilyich Tchaikovsky, set on Christmas Eve at the foot of a Christmas tree in a child's imagination. The plot is an adaptation of E. T. A. Hoffmann's 1816 short story The Nutcracker and the Mouse King. The ballet's first choreographer was Marius Petipa, with whom Tchaikovsky had worked three years earlier on The Sleeping Beauty, assisted by Lev Ivanov. Although the complete and staged The Nutcracker ballet was not as successful as had been the 20-minute Nutcracker Suite that Tchaikovsky had premiered nine months earlier, The Nutcracker soon became popular.
Since the late 1960s, it has been danced by countless ballet companies, especially in North America. Major American ballet companies generate around 40% of their annual ticket revenues from performances of The Nutcracker. The ballet's score has been used in several film adaptations of Hoffmann's story.
Tchaikovsky's score has become one of his most famous compositions. Among other things, the score is noted for its use of the celesta, an instrument the composer had already employed in his much lesser known symphonic ballad The Voyevoda (1891).
After the success of The Sleeping Beauty in 1890, Ivan Vsevolozhsky, the director of the Imperial Theatres, commissioned Tchaikovsky to compose a double-bill program featuring both an opera and a ballet. The opera would be Iolanta. For the ballet, Tchaikovsky would again join forces with Marius Petipa, with whom he had collaborated on The Sleeping Beauty. The material Vsevolozhsky chose was an adaptation of E. T. A. Hoffmann's story "The Nutcracker and the Mouse King", by Alexandre Dumas called "The Story of a Nutcracker". The plot of Hoffmann's story (and Dumas' adaptation) was greatly simplified for the two-act ballet. Hoffmann's tale contains a long flashback story within its main plot titled "The Tale of the Hard Nut", which explains how the Prince was turned into the Nutcracker. This had to be excised for the ballet.