O Captain! My Captain!

By Walt Whitman

“O Captain! My Captain!” is Walt Whitman’s 1865 elegy for Abraham Lincoln, in which a sailor mourns his captain, who lies dead on deck just as their ship reaches port in triumph. First published in November 1865, its 24 lines in three stanzas became the most popular poem Whitman ever wrote.

Our reading: this is Whitman’s most famous poem and his least typical one. The father of American free verse wrote it in rhyme and regular rhythm, the public loved it for exactly that reason, and Whitman later said he was almost sorry he had written it.

At a Glance

Poet
Walt Whitman (1819–1892)
Written
1865, after the assassination of Abraham Lincoln
First published
The Saturday Press, November 4, 1865
Collected in
Sequel to Drum-Taps (1865), then Leaves of Grass (from 1867)
Subject
The death of President Abraham Lincoln, April 15, 1865
Form
Elegy in three eight-line stanzas, each ending in a short refrain
Length
24 lines
Meter
Loose iambic long lines with short refrain lines: “the SHIP is AN-chor’d SAFE and SOUND”
Era
Victorian (American)
Best-known lines
“O Captain! my Captain! our fearful trip is done, / The ship has weather’d every rack, the prize we sought is won”

ON THIS PAGE
Summary · The Poem · Background · Analysis and Themes · Form and Technique · Notable Lines · Themes · FAQ
Glossary · In Popular Culture · Related Poems

Summary

A ship has come safely home from a long and dangerous voyage, and the crowds on shore are celebrating with bells, flags, and cheers. The speaker cannot join them, because the captain who brought the ship through every storm lies dead on the deck at the moment of victory.

In the first stanza, the speaker sees the celebration and the body at once. In the second, he begs the captain to rise and tells himself it must be a dream. In the third, he accepts the truth: the captain does not answer and has no pulse. The shore rejoices while the speaker walks the deck alone. The ship stands for the United States, the voyage for the Civil War, and the captain for Abraham Lincoln.

The Poem

Whitman’s poem is given here in full, following his final text in the 1881 edition of Leaves of Grass.

O Captain! my Captain! our fearful trip is done,
The ship has weather’d every rack, the prize we sought is won,
The port is near, the bells I hear, the people all exulting,
While follow eyes the steady keel, the vessel grim and daring;
        But O heart! heart! heart!
          O the bleeding drops of red,
            Where on the deck my Captain lies,
              Fallen cold and dead.

O Captain! my Captain! rise up and hear the bells;
Rise up—for you the flag is flung—for you the bugle trills,
For you bouquets and ribbon’d wreaths—for you the shores a-crowding,
For you they call, the swaying mass, their eager faces turning;
        Here Captain! dear father!
          This arm beneath your head!
            It is some dream that on the deck,
              You’ve fallen cold and dead.

My Captain does not answer, his lips are pale and still,
My father does not feel my arm, he has no pulse nor will,
The ship is anchor’d safe and sound, its voyage closed and done,
From fearful trip the victor ship comes in with object won;
        Exult O shores, and ring O bells!
          But I with mournful tread,
            Walk the deck my Captain lies,
              Fallen cold and dead.

Background

The Confederate army surrendered at Appomattox on April 9, 1865. Five days later, on April 14, Lincoln was shot at Ford’s Theatre, and he died the next morning. The president who had held the Union together through four years of war was killed within a week of its end. Whitman, who had admired Lincoln and often saw him in wartime Washington, wrote this poem in the months that followed.

The poem first appeared in The Saturday Press on November 4, 1865, as a preview of Sequel to Drum-Taps, published later that year. Whitman then added it to Leaves of Grass and revised its punctuation several times. It became his best-known poem, and he often recited it at the end of his lectures on Lincoln in the 1870s and 1880s. Privately, he grew tired of it. In 1888, his friend Horace Traubel recorded him saying, “Damn My Captain … I’m almost sorry I ever wrote the poem,” though Whitman admitted it had its reasons for being.

Analysis and Themes

“O Captain! My Captain!” is two things at once: a genuinely moving public elegy that comforted a grieving nation, and a poem so unlike the rest of Whitman’s work that its author came to resent it. The tension between those two facts is the most interesting thing about it.

The Ship, the Captain, and April 1865

The poem is a sustained allegory. The ship is the United States, and the “fearful trip” through every storm is the Civil War. The “prize we sought” and the “object won” are the Union preserved and the war ended. The captain is Lincoln, who steered the country through and did not live to step ashore.

What gives the allegory its force is the timing. The celebration and the death happen at the same moment: the bells of victory ring over the body of the man who made victory possible. The poem freezes that week in April 1865, when triumph and catastrophe arrived together, and it will not let the reader feel one without the other.

Public Triumph, Private Grief

Every stanza fills with public celebration: bells, bugles, flags, “bouquets and ribbon’d wreaths,” and the “swaying mass” of eager faces. And every stanza ends on the same words: “Fallen cold and dead.” The nation rejoices, and the speaker cannot. That refrain tolls under every burst of joy.

The grief is also intimate. In the second stanza, the captain becomes “dear father,” and the speaker a child holding his head. Lincoln is mourned not by a citizen but by a son. In each stanza, the private loss gets the last word.

Whitman’s Most Famous, Least Typical Poem

The poet who spent his life breaking free of rhyme and meter wrote his most beloved poem in rhymed lines, regular rhythm, fixed stanzas, and a singable refrain. In form, “O Captain! My Captain!” is a conventional parlor elegy, the opposite of the long, free lines of “Song of Myself.” That is exactly why it was loved: it is easy to memorize and recite, and it offered familiar music at a moment of national shock.

Whitman wrote a second elegy for Lincoln in 1865, “When Lilacs Last in the Dooryard Bloom’d,” in his own free verse. Most critics consider it the far greater poem, but the public never embraced it the same way. It is a rare case of a great poet whose most famous poem and whose best poem on the same subject are not the same poem, and Whitman seems to have known it.

Form and Technique

The poem has 24 lines in three stanzas of eight lines. Each stanza opens with four long lines that rhyme in pairs and move with a strong, roughly iambic beat: “the SHIP is AN-chor’d SAFE and SOUND.” Then comes a four-line refrain of short lines, printed in a cascading indent that steps down the page. The layout and the shorter rhythm create a sense of collapse, as if the celebration were falling, like the captain, to the deck.

The most powerful technical move is what happens to the speaker’s direct address. In the first two stanzas, he speaks to the captain as “you”: rise up, hear the bells, feel my arm beneath your head. In the third stanza, the address fails: “My Captain does not answer.” The poem shifts from “you” to “he” and finally to “I,” leaving the mourner alone. The grammar itself moves from denial to acceptance.

Notable Lines

Three passages carry the poem from triumph through denial to acceptance.

O Captain! my Captain! our fearful trip is done,
The ship has weather’d every rack, the prize we sought is won,

Lines 1 to 2

The allegory begins in a single triumphant breath. For two lines, the poem is pure victory, which is exactly why the turn that follows lands so hard.

But O heart! heart! heart!
O the bleeding drops of red,
Where on the deck my Captain lies,
Fallen cold and dead.

Lines 5 to 8

The refrain breaks the celebration apart. After the steady long lines, the rhythm fractures into cries, and “Fallen cold and dead” closes every stanza like a bell that drowns out the others.

My Captain does not answer, his lips are pale and still,
My father does not feel my arm, he has no pulse nor will,

Lines 17 to 18

The moment of acceptance and the most moving lines in the poem. The dead man does not answer, the pretending stops, and calling him “father” turns the loss of a leader into the loss of a parent.

Themes

Four ideas shape the poem, all rooted in the week that Lincoln died.

Grief. The poem traces mourning from shock and denial to acceptance in three stanzas.

Victory and loss. The nation’s triumph and its leader’s death arrive together, and neither cancels the other.

Leadership. The captain is a father figure who guides the ship to safety at the cost of his own life.

Public and private mourning. The crowd celebrates on shore while one person grieves on deck, and the poem sides with the lone mourner.

Frequently Asked Questions

These are the questions readers most often ask about Whitman’s poem.

What Is “O Captain! My Captain!” About?

It is about the death of Abraham Lincoln at the end of the Civil War. A sailor mourns his captain, who lies dead on deck just as the ship arrives home in triumph, while the crowds on shore celebrate.

Who Wrote “O Captain! My Captain!”?

Walt Whitman wrote it in 1865, soon after Lincoln’s assassination. It was first published in The Saturday Press on November 4, 1865.

Is “O Captain! My Captain!” About Abraham Lincoln?

Yes. The captain is Lincoln, who was assassinated in April 1865, days after the Confederate surrender. The poem never names him, but Whitman wrote it as an elegy for the president.

What Does the Ship Represent in the Poem?

The ship represents the United States. Its “fearful trip” is the Civil War, and its safe arrival in port stands for the Union preserved and the war won.

What Type of Poem Is “O Captain! My Captain!”?

It is an elegy, a poem of mourning for someone who has died. Unlike most of Whitman’s work, it uses rhyme, a regular rhythm, and a repeated refrain.

Glossary

These nautical and older words carry the poem’s allegory.

  • weather’d (line 2): Came safely through a storm.
  • rack (line 2): A violent storm, with an echo of “wrack,” meaning wreckage.
  • exulting (line 3): Rejoicing loudly.
  • keel (line 4): The central beam along the bottom of a ship, here standing for the whole vessel holding its course.
  • object won (line 20): The goal achieved.

For many readers today, the poem’s title is tied to one film.

Dead Poets Society (1989): Robin Williams’s teacher John Keating tells his students they may call him “O Captain! My Captain!” In the film’s final scene, the boys stand on their desks and repeat the words as a farewell and a tribute to him, which fixed the line in popular memory.

If this poem moves you, these three elegies make natural companions, one of them by Whitman himself.

  • When Lilacs Last in the Dooryard Bloom’d by Walt Whitman: His other elegy for Lincoln, written the same year in free verse, and widely considered the greater poem.
  • Lycidas by John Milton: The great English pastoral elegy for a drowned young friend, the grand tradition of public mourning that Whitman’s poem works in a simpler key.
  • In Memoriam A.H.H. by Alfred Tennyson: The century’s great elegy, in which grief for one man carries the doubts of a whole age.