Schwanengesang ("Swan song") D.957 (Deutsch catalogue) is the title of a posthumous collection of songs by Franz Schubert.
The collection was named by its first publisher Tobias Haslinger, presumably wishing to present it as Schubert's final musical testament to the world. Unlike the earlier Die schöne Müllerin and Winterreise, it contains settings of three poets, Ludwig Rellstab (1799–1860), Heinrich Heine (1797–1856) and Johann Gabriel Seidl (1804–1875). Schwanengesang was composed 1828 and published in 1829 just a few months after the composer's death on 19 November 1828.
In the original manuscript in Schubert's hand, the first 13 songs were copied in a single sitting, on consecutive manuscript pages, and in the standard performance order. All the song titles are by Schubert, as Heine did not give names to the poems. (Reed 259) Tobias Haslinger, Schubert's publisher, collected the songs together as a cycle, most probably for financial reasons, as Die schöne Müllerin and Die Winterreise sold very well as collections. Taubenpost is considered to be Schubert's last Lied.
Franz Liszt later transcribed these songs for solo piano.
On 2 October 1828, Schubert (after the manuscript had been written) offered the Heine set of poems to a Leipzig publisher by the name of Probst. We can assume, then, that Schubert – at least in the beginning – intended to publish the sets separately. In addition to this, the order of Numbers 8–13 as they appear in the manuscript is different from that of the poems as Heine published them (No. 10 followed by 12, 11, 13, 9, 8). It was customary for Schubert to respect the poet's sequence; the manuscript may not represent Schubert's desired order. The Seidl song, Die Taubenpost, has no connection to the rest of the cycle and was appended by Haslinger at the end to round up all of Schubert's last compositions.