404·Quotes

On display — sourced

“A ship in harbor is safe, but that is not what ships are built for.”
Label

John A. Shedd

Salt from My Attic · 1928

Sourced Printed in Salt from My Attic (1928), page 20, as Quote Investigator confirmed from photographs of the page.

Who said “A ship in harbor is safe, but that is not what ships are built for”? John A. Shedd, in 1928

John A. Shedd. The line is in his 1928 collection of sayings, Salt from My Attic. The computer scientist Grace Hopper used a version of it in the 1980s, which is why it is often credited to her; the credit to Albert Einstein appears only in the 1990s, decades after his death.

What it means

Being safe is not the same as being useful. A ship tied up in harbour is protected, but it was built to go to sea. The line is usually offered as encouragement to take a sensible risk rather than stay where it is comfortable.

Where it comes from

Quote Investigator gives the line on page 20 of Salt from My Attic, published in 1928 by the Mosher Press of Portland, Maine, and confirmed from photographs of the page; The Yale Book of Quotations cites the same book. In 1931 the columnist Ed Howe reprinted several of the book's sayings, this one among them, describing them as sayings “printed privately by an amateur named John A. Shedd”. By 1949 newspapers were using the line as a filler, with Shedd's name attached.

Grace Hopper, the computer scientist and US Navy rear admiral, told the San Diego Union in 1981 that “a motto that has stuck with me is: ‘A ship in port is safe. But that's not what ships were built for.’” She repeated it often and helped make it famous, but she did not coin it. In 1995 a newspaper column credited the line to Albert Einstein, who had died in 1955; Quote Investigator found nothing to support that.

Other versions you will see

  • “A ship in port is safe; but that is not what ships are built for.”
    Grace Hopper's version, from interviews in the 1980s
  • “Ships in harbor are safe, but that is not what ships are built for.”
    An unattributed newspaper version, 1956

Provenance

  1. ReferenceQuote Origin: A Ship in Harbor Is Safe, But that Is Not What Ships Are Built For — Quote Investigator
  2. ReferenceGrace Hopper (the saying listed under Misattributed, credited to John Augustus Shedd) — Wikiquote

Last reviewed 6 October 2026

Questions

Who said “A ship in harbor is safe, but that is not what ships are built for”?

John A. Shedd, in his 1928 book of sayings Salt from My Attic.

Did Grace Hopper say it?

She used a version of it, with “port” instead of “harbor”, and called it a motto that had stuck with her. The earliest known source is Shedd's book of 1928.

Did Einstein say it?

No source shows that he did. The credit to Einstein first appears in a 1995 newspaper column.

What does “a ship in harbor is safe” mean?

That staying where it is safe is not what you are for: a ship is built to go to sea, and a person to try things.

Where this one hangs

It belongs in the Dreams room, with the other checked lines on the same subject.

Nearby exhibits