Cox and Box; or, The Long-Lost Brothers, is a one-act comic opera with a libretto by F. C. Burnand and music by Arthur Sullivan, based on the 1847 farce Box and Cox by John Maddison Morton. It was Sullivan's first successful comic opera. The story concerns a landlord who lets a room to two lodgers, one who works at night and one who works during the day. When one of them has the day off, they meet each other in the room and tempers flare. Sullivan wrote this piece five years before his first opera with W. S. Gilbert, Thespis.
The piece premiered in 1866 and was seen a few times at charity benefits in 1867. Once given a professional production in 1869, it became popular, running for 264 performances and enjoying many revivals and further charity performances. During the 20th century, it was frequently played by the D'Oyly Carte Opera Company in an abridged version, as a curtain raiser for the shorter Gilbert and Sullivan operas. It has been played by numerous professional and amateur companies throughout the world and continues to be frequently produced.
The Moray Minstrels were an informal gathering of notable members of London society and the arts, including painters, actors and writers (all male), who were mostly amateur musicians. They would meet for musical evenings at Moray Lodge, in Kensington, the home of Arthur James Lewis (1824–1901), a haberdasher and silk merchant (of the firm Lewis & Allenby), who married the actress Kate Terry in 1867. The Minstrels would discuss the arts, smoke and sing part-songs and other popular music at monthly gatherings of more than 150 lovers of the arts; their conductor was John Foster. Foster, as well as the dramatist F. C. Burnand and many other members were friendly with young Arthur Sullivan, who joined the group. On one occasion in early 1865, they heard a performance of Offenbach's short two-man operetta Les deux aveugles ("The Two Blind Men"). After seeing another operetta at Moray Lodge the following winter, Burnand asked Sullivan to collaborate on a new piece to be performed for the Minstrels.