Catalani was already in declining health due to his tuberculosis, and suffering from guilt over having an affair with his best friend's wife. He roused himself from depression to write a symphonic poem, Hero and Leander. Its success in 1885 gave him new confidence, and he wrote a successful opera, Edmea, premiered at La Scala in 1886. The same year he was appointed professor of composition, at the Milan Conservatory to succeed Ponchielli
Giovannina Lucca's publishing firm had been promoting his career, but it merged with the more powerful Ricordi firm. Ricordi was promoting Giacomo Puccini
's career, and neglected Catalani, seriously damaging his prospects. He hired the composer Zanardi to carry out his planned revisions to Elda. Catalani got no support from Ricordi, and had to arrange for a performance himself. Retitled Loreley, the opera was given on February 16, 1890, in Turin, and was a success.
During this time, Catalani had been devoting his dwindling strength to writing a new opera, La Wally, based on a German romance. The conductor Mascheroni realized that the success of Loreley might make Ricordi more receptive to this new opera. Though Catalani was embittered by his treatment by the firm, Mascheroni brought about a reconciliation. Ricordi accepted the work and promoted it, securing a La Scala premiere on January 20, 1892. It was a huge success, particularly after it was adopted by Arturo Toscanini
, who conducted it widely and even named his daughter "Wally." Catalani is remembered today almost entirely for La Wally. He started another opera, based on a Tolstoy text, but soon after starting work suffered a hemorrhage, and died five days later.