O Captain! My Captain!
A sailor cries out to his captain as their ship reaches port in triumph, but the captain lies dead on the deck: Whitman’s elegy for Abraham Lincoln.
O Captain! My Captain! the full poem, lines numbered
The war is won and the crowds are cheering, but the one person the speaker cares about cannot hear them. Whitman published this elegy in 1865, months after Abraham Lincoln was assassinated as the Civil War was ending. Many readers first meet the title as a line in the 1989 film Dead Poets Society, but the poem itself is about grief that arrives at the very moment of victory.
The speaker calls out to his Captain: their fearful voyage is over, the ship has come through every storm, and they have won the prize they sought. The port is near, bells are ringing and people are cheering as the ship comes in. But the speaker’s heart breaks, because his Captain lies on the deck, bleeding, “Fallen cold and dead.” In the second stanza he begs the Captain to rise and hear the bells. The flag, the bugle, the bouquets and wreaths and the crowds on the shore are all for him. Calling him “dear father,” the speaker holds an arm beneath his head and tells himself it must be a dream. In the last stanza he accepts the truth. The Captain does not answer; his lips are pale and he has no pulse. The ship is anchored safe, its voyage finished and its goal won. Let the shores celebrate and the bells ring, the speaker says, but he walks the deck with mournful steps where his Captain lies dead.
Speaker & situation
The speaker
Sailor
A member of the crew who loves the Captain like a father (lines 13 and 18). He is torn between the victory he sees and the death he mourns.
The Captain
Fallen leader
The ship’s commander, dead on the deck at the moment of triumph. The poem never names him, but Whitman placed it among his memories of Lincoln, and readers take the Captain as Abraham Lincoln.
The crowd
The public
The people on shore who cheer, ring bells and wave the flag (lines 3 and 9 to 12), with “their eager faces turning” toward the ship.
Form & sound
Line by line what each part says and does
- 1
Lines 1–8
Home in triumph
The speaker tells the Captain that the fearful trip is done: the ship has “weather’d every rack,” coming through every storm, and has won its prize. The port is near, bells ring and people cheer as they watch the ship come in. But the speaker’s heart breaks at the sight of the Captain lying on the deck, bleeding, “Fallen cold and dead.”
How it worksThe stanza is built on contrast: four long lines of public joy, then four short lines of private grief. The ship has survived every danger, only for its Captain to die at the end of the voyage.
- 2
Lines 9–16
Rise up
The speaker begs the Captain to rise and hear the bells. The flag, the bugle, the bouquets and wreaths and the crowds on shore are all “for you,” he says. Calling him “dear father,” he holds an arm beneath his head and tells himself it must be a dream that the Captain has fallen dead.
How it worksThis is denial. The speaker talks to the Captain as if he could still answer, and the repeated “for you” heaps up honors he cannot receive.
- 3
Lines 17–24
Mournful tread
Now the speaker admits the truth. The Captain does not answer, his lips are pale and still, and he has no pulse. The ship is anchored safe, its voyage done and its goal won. The shores may cheer and the bells may ring, but the speaker walks the deck with mournful steps where his Captain lies dead.
How it worksThe speaker moves from “you” to “he,” from pleading to acceptance. Victory and grief stand side by side in the final lines, and neither cancels the other.
The turn
Lines 17
In stanzas 1 and 2 the speaker talks to the Captain directly, begging him to rise and hear the bells. Line 17 moves to the third person: “My Captain does not answer.” From there the speaker accepts the death and sets his own mournful walk against the celebration on shore.
Literary devices with line numbers
Extended metaphor
The whole poem pictures the nation as a ship. The Captain is Lincoln, the “fearful trip” (line 1) is the Civil War, the “prize we sought” (line 2) is victory and the Union preserved, and the port (line 3) is peace. The poem never names Lincoln or the war; the metaphor carries it all.
Apostrophe
The speaker addresses the dead Captain as if he could hear: “O Captain! my Captain!” (lines 1 and 9) and “Here Captain! dear father!” (line 13). The pleading shows a grief that has not yet accepted the death.
Refrain
Each stanza ends with the Captain “Fallen cold and dead” (lines 8 and 24; “You’ve fallen cold and dead” in line 16). The repeated words close every stanza on death, however loud the celebration before it.
Juxtaposition
Public joy and private grief meet in every stanza. In line 21, “Exult O shores, and ring O bells!” is followed at once by “But I with mournful tread” in line 22.
Anaphora
In lines 10 to 12, “for you” opens clause after clause, five times in all: the flag, the bugle, the bouquets and wreaths, the crowds. The list shows everything the Captain earned and cannot receive.
Internal rhyme
Several long lines rhyme inside themselves: “near” and “hear” in line 3, “trip” and “ship” in line 20. The chiming gives the lines a song-like, marching sound fit for a public elegy.
Themes in O Captain! My Captain!
Grief inside victory
The ship has won, and the speaker cannot share the joy. The poem holds celebration and mourning side by side without letting either one win.
The leader as father
The speaker calls the Captain “dear father” (line 13) and “My father” (line 18). The poem shows a nation’s leader loved not only as a commander but as family.
Denial and acceptance
Stanza 2 calls the death “some dream” (line 15). Stanza 3 accepts it: no pulse, no answer. The poem traces the first steps of mourning.
The price of victory
The prize is won and the ship is “safe and sound” (line 19), but the man who steered it is gone. The poem suggests that the Union’s victory came at a terrible cost, capped by the leader’s own death.
Images and symbols
The ship
The United States, carried through the storm of civil war to a safe harbor.
The Captain
Lincoln, and more broadly any leader who guides a people through danger.
The bells
Victory and celebration. They ring in all three stanzas, and the Captain cannot hear them.
Tensions
Public joy vs. private grief. The crowds cheer the ship’s return while the speaker mourns on deck. The last lines let both stand: the shores exult, and the speaker walks with “mournful tread.”
How O Captain! My Captain! ends, explained
The final stanza is where the speaker stops pleading. In stanzas 1 and 2 he talks to the Captain, begging him to rise and hear the bells. In line 17 he switches to “he”: “My Captain does not answer, his lips are pale and still.” The move from “you” to “he” is the moment the death becomes real. The stanza then restates the victory in full. The ship is “anchor’d safe and sound,” the voyage “closed and done,” the “object won.” None of that is taken back. Instead the speaker invites the celebration to go on: “Exult O shores, and ring O bells!” Only then does he set himself apart: “But I with mournful tread, / Walk the deck my Captain lies.” The word “But” marks the gap between the nation’s joy and his own grief. Read as history, the ending captures the spring of 1865, when the Union’s victory and Lincoln’s assassination came within days of each other. The poem does not ask the country to stop celebrating. It asks it to remember who paid for the victory. The refrain “Fallen cold and dead” closes the poem as it closed each stanza, so the last image is not the cheering shore but the body on the deck. Some readers find the ending simple and public, a poem made for reciting. Others hear real private sorrow in the lonely walk that ends it.
“O Captain! my Captain! our fearful trip is done,”
“But O heart! heart! heart! / O the bleeding drops of red,”
“Here Captain! dear father! / This arm beneath your head!”
“Exult O shores, and ring O bells! / But I with mournful tread, / Walk the deck my Captain lies, / Fallen cold and dead.”
Common misreadings
MythThe poem names Abraham Lincoln.
ActuallyLincoln’s name never appears. The link comes from the date, from the picture of a leader struck down at the moment of victory, and from Whitman’s placing the poem among his “Memories of President Lincoln.”
MythThe Captain dies in a storm during the voyage.
ActuallyThe ship has already “weather’d every rack” and the port is near (lines 2 and 3). The Captain lies dead as the ship comes in, and “the bleeding drops of red” (line 6) point to a wound, as Lincoln was shot days after Lee’s surrender at Appomattox.
MythThe poem is typical of Whitman’s style.
ActuallyIt is one of the few poems Whitman wrote in regular rhyme and meter. Most of Leaves of Grass is long-lined free verse, like “When I Heard the Learn’d Astronomer.”
AP practice a poetry prompt in the exam's style
In Walt Whitman’s “O Captain! My Captain!” a sailor mourns his captain as their ship returns in triumph. Read the poem carefully, then write an essay that analyzes how Whitman uses literary elements and techniques to convey a complex perspective on victory and loss.
What a strong response notices
- The extended metaphor of ship, voyage and captain (lines 1–4) and what it lets Whitman say without naming Lincoln or the war.
- The contrast in each stanza between the long lines of celebration and the short lines of grief (lines 5–8, 13–16 and 21–24).
- The apostrophe of lines 1, 9 and 13 and the move to the third person in line 17.
- The repeated “for you” of lines 10–12, listing honors the Captain cannot receive.
- The refrain “Fallen cold and dead” and the “But” of line 22, which give grief the final word.
Practice prompt written by StoryBites, not taken from a College Board exam. See the AP Literature free-response guide for how answers are scored.
Test yourself
1. What does the ship stand for?
The ship of state is an old image for a nation. Here the voyage is the Civil War and the Captain is Lincoln.
2. Where does the Captain lie?
Line 7: “Where on the deck my Captain lies.”
3. What does the speaker call the Captain in line 13?
Line 13: “Here Captain! dear father!”
4. What changes in line 17?
“My Captain does not answer” is in the third person. The speaker has begun to accept the death.
5. Why is the poem unusual for Whitman?
Whitman usually wrote unrhymed free verse. This poem rhymes and keeps a steady beat.
Flashcards flip, self-grade, and the deck remembers what you know
Nice work.
A ship has come home safely after a scary trip, and people on shore are cheering and ringing bells. But the ship’s captain is lying dead on the deck. A sailor who loved him like a father begs him to get up and hear the celebration. The captain cannot answer. The sailor walks the deck sadly while everyone else celebrates. The poem is really about President Abraham Lincoln, who was killed just as the Civil War was ending.
Compare & connect
The Gettysburg Address
Lincoln’s own words over the war dead, asking the living to finish the work they began. Whitman’s elegy turns the same kind of mourning on Lincoln himself.
Lincoln’s Second Inaugural Address
Delivered in March 1865, about six weeks before Lincoln was shot, it looks toward the war’s end “with malice toward none.” Read together, the two texts show the hope of that spring and the grief that followed.
When I Heard the Learn’d Astronomer
Also by Whitman and also first printed in 1865, but in unrhymed free verse. Side by side, the two show how unusual the rhyme and steady beat of this elegy are.
Discussion and essay prompts:
💬 Discussion questions
- What is O Captain My Captain about
- Who is the captain in O Captain My Captain
- What does the ship symbolize in O Captain My Captain
- How does O Captain! My Captain! explore the theme of grief inside victory?
- How does O Captain! My Captain! explore the theme of the leader as father?
- What is the central conflict in O Captain! My Captain!, and how does it shape the ending?
✎ Essay prompts
- Analyze how Walt Whitman develops the theme of grief inside victory in O Captain! My Captain!. Support your argument with specific evidence from the text.
- Examine the significance of the ship in O Captain! My Captain!. What does it represent, and how does it deepen the work’s meaning?
- How does Walt Whitman use extended metaphor to shape the reader’s experience of O Captain! My Captain!?
- Some readers assume that the poem names Abraham Lincoln. Argue for or against this interpretation, using evidence from the text.
Key questions students ask
- What is O Captain My Captain about
- Who is the captain in O Captain My Captain
- What does the ship symbolize in O Captain My Captain
- Is O Captain My Captain about Abraham Lincoln
- What is the rhyme scheme of O Captain My Captain
- What is the tone of O Captain My Captain
Analysis is original StoryBites commentary. The poem is printed from Whitman’s final text in the 1891–92 “deathbed” edition of Leaves of Grass (David McKay), checked line by line against the page images of that printing. First published in 1865, it is in the public domain.