AP Literature · poem · 24 lines

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.

⏱ 9 min to understand the poem Elegy Public domain poem
0% explored

O Captain! My Captain! the full poem, lines numbered

1O Captain! my Captain! our fearful trip is done,
2The ship has weather’d every rack, the prize we sought is won,
3The port is near, the bells I hear, the people all exulting,
4While follow eyes the steady keel, the vessel grim and daring;
5But O heart! heart! heart!
6O the bleeding drops of red,
7Where on the deck my Captain lies,
8Fallen cold and dead.
9O Captain! my Captain! rise up and hear the bells;
10Rise up—for you the flag is flung—for you the bugle trills,
11For you bouquets and ribbon’d wreaths—for you the shores a-crowding,
12For you they call, the swaying mass, their eager faces turning;
13Here Captain! dear father!
14This arm beneath your head!
15It is some dream that on the deck,
16You’ve fallen cold and dead.
17My Captain does not answer, his lips are pale and still,
18My father does not feel my arm, he has no pulse nor will,
19The ship is anchor’d safe and sound, its voyage closed and done,
20From fearful trip the victor ship comes in with object won;
21Exult O shores, and ring O bells!
22But I with mournful tread,
23Walk the deck my Captain lies,
24Fallen cold and dead.
The poem in 60 seconds

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

SpeakerA sailor on the ship who calls the Captain “dear father” (line 13). Read as history, he stands for the grieving nation, or for Whitman himself.
Addressed toThe dead Captain, in stanzas 1 and 2 (“O Captain! my Captain!”). In stanza 3 the speaker stops addressing him and speaks about him instead, then calls out to the shores and bells (line 21).
OccasionThe ship’s triumphant return to port, which is also the moment of the Captain’s death. Whitman placed the poem in the group “Memories of President Lincoln” in Leaves of Grass. Lincoln was shot on the evening of 14 April 1865, days after the main Confederate army surrendered, and died the next morning.
SettingThe deck of a ship coming into harbor, with bells, crowds and a flag on shore. The ship stands for the United States and the voyage for the Civil War.
ToneGrief-stricken and urgent, set against the joy of the crowd. The exclamations of stanzas 1 and 2 give way to a quieter acceptance in stanza 3.

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

FormElegy; three eight-line stanzas mourning a dead leader, written in rhyme and a regular beat. That makes it unusual for Whitman, who wrote most of his poems in unrhymed free verse.
MeterEach stanza has four long lines of about seven beats, then four short lines of three or four, like a march that slows into a funeral step. The long lines often split in half with an internal rhyme, as in line 3, “The port is near, the bells I hear.”
Rhyme schemeThe long lines rhyme in pairs, such as done and won or still and will, though some pairs only half rhyme, like “bells” and “trills” or “exulting” and “daring.” In the short lines, the second and fourth rhyme (red and dead, head and dead, tread and dead), so every stanza ends on “dead.”
StructureEach stanza moves from the ship’s triumph in its long lines to the dead Captain in its short lines, and closes on a refrain: “Fallen cold and dead” (lines 8 and 24), varied as “You’ve fallen cold and dead” (line 16).
RevisionsThis is Whitman’s final text, from the 1891–92 edition of Leaves of Grass. In the first book printing, Sequel to Drum-Taps (1865–66), the stanzas were numbered, “captain” was lower-case after the first word, and six lines (6, 13, 14, 19, 22 and 23) read differently. The image of “the bleeding drops of red” in line 6, for example, was one of his later changes.

Line by line what each part says and does

  1. 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. 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. 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 victoryThe leader as fatherDenial and acceptanceThe price of victory

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.”

The ending

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,”
Line 1. The famous opening cry. The voyage stands for the Civil War, and calling out to a Captain who cannot hear is the poem’s grief in small.
“But O heart! heart! heart! / O the bleeding drops of red,”
Lines 5–6. The celebration breaks off. The triple “heart” is a cry of pain, and the blood points to a violent death. Line 6 is one of the lines Whitman revised after 1865.
“Here Captain! dear father! / This arm beneath your head!”
Lines 13–14. The speaker cradles the dead man and calls him father, a love closer to family than to duty.
“Exult O shores, and ring O bells! / But I with mournful tread, / Walk the deck my Captain lies, / Fallen cold and dead.”
Lines 21–24. The ending sets the nation’s celebration beside one mourner’s walk and gives grief the last word.

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?

2. Where does the Captain lie?

3. What does the speaker call the Captain in line 13?

4. What changes in line 17?

5. Why is the poem unusual for Whitman?

Flashcards flip, self-grade, and the deck remembers what you know

tap to flip
Answer

Explain it like I’m 12

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

Abraham Lincoln

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

Abraham Lincoln

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

Walt Whitman

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

  1. 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.
  2. Examine the significance of the ship in O Captain! My Captain!. What does it represent, and how does it deepen the work’s meaning?
  3. How does Walt Whitman use extended metaphor to shape the reader’s experience of O Captain! My Captain!?
  4. 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.

Share this poem guide

Continue exploring

Follow a thread — every work connects to others through what they share.