Elegiac Ode, Op. 21, is a musical composition by British composer Charles Villiers Stanford (1852–1924) written and first performed in 1884. It is a four-movement work scored for baritone and soprano soloists, chorus and orchestra, Stanford's composition is a setting of Walt Whitman's 1865 elegy, "When Lilacs Last in the Dooryard Bloom'd", mourning the death of American president Abraham Lincoln. According to musicologist Jack Sullivan, Stanford's Elegiac Ode likely had reached a wider audience during Whitman's lifetime than his poems.
- Town, Stephen, "'Full of fresh thoughts'’: Vaughan Williams, Whitman, and the Genesis of A Sea Symphony", in Adams, Byron, and Wells, Robin (editors), Vaughan Williams Essays, (Aldershot: Ashgate Publishing, Ltd., 2003), 73-102, at 78.
- Sullivan, Jack. New World Symphonies: How American Culture Changed European Music, 95ff.