P&F Blog

The Star-Spangled Banner: History, Lyrics, and Meaning of America's National Anthem

Francis Scott Key wrote the Star-Spangled Banner in 1814 while watching Fort McHenry under British bombardment. Here is the real story, the full four verses, and the Flag Code rules for honoring the anthem.

The Star-Spangled Banner: History, Lyrics, and Meaning of America's National Anthem
The Star-Spangled Banner: History, Lyrics, and Meaning of America's National Anthem

The Star-Spangled Banner is more than a song played before ballgames. It was written by a lawyer watching a 25-hour British bombardment, set to an old drinking tune, and not made the official national anthem until 117 years after it was written. Here is the real history, the full lyrics, and the meaning behind the words every American has sung.

The short version

  • Francis Scott Key wrote the words after watching Fort McHenry withstand a British bombardment in September 1814.
  • The poem was set to an existing tune and did not become the official national anthem until 1931.
  • The familiar first verse asks whether the American flag survived the night; three additional verses continue the story.
  • During the anthem, civilians should face the flag, remove nonreligious headwear, and place the right hand over the heart.
American flag with red and white stripes and 50 white stars on a blue field Featured in this post 3' x 5' American Flag $7.00 Shop now

The Full Lyrics of the Star-Spangled Banner

The first verse is the one everyone knows. The other three almost never get sung in public.

Verse 1
O say can you see, by the dawn's early light,
What so proudly we hail'd at the twilight's last gleaming,
Whose broad stripes and bright stars through the perilous fight
O'er the ramparts we watch'd, were so gallantly streaming?
And the rockets' red glare, the bombs bursting in air,
Gave proof through the night that our flag was still there,
O say does that star-spangled banner yet wave
O'er the land of the free and the home of the brave?

Verse 2
On the shore dimly seen through the mists of the deep,
Where the foe's haughty host in dread silence reposes,
What is that which the breeze, o'er the towering steep,
As it fitfully blows, half conceals, half discloses?
Now it catches the gleam of the morning's first beam,
In full glory reflected now shines in the stream,
'Tis the star-spangled banner, O long may it wave
O'er the land of the free and the home of the brave!

Verse 3
And where is that band who so vauntingly swore,
That the havoc of war and the battle's confusion
A home and a country should leave us no more?
Their blood has wash'd out their foul footstep's pollution.
No refuge could save the hireling and slave
From the terror of flight or the gloom of the grave,
And the star-spangled banner in triumph doth wave
O'er the land of the free and the home of the brave.

Verse 4
O thus be it ever when freemen shall stand
Between their lov'd home and the war's desolation,
Blest with vict'ry and peace may the heav'n-rescued land
Praise the power that hath made and preserv'd us a nation!
Then conquer we must, when our cause it is just,
And this be our motto, "In God is our trust,"
And the star-spangled banner in triumph shall wave
O'er the land of the free and the home of the brave.

American flag flying over Fort McHenry at dawn with sun breaking through storm clouds

Fort McHenry's oversized garrison flag was raised at dawn so ships on the Patapsco River could see that the fort still held.

The Real Story Behind the Song

Francis Scott Key, the Battle of Baltimore, and a flag the size of a modern apartment.

In August 1814 the British burned Washington D.C. The White House was set on fire. The Capitol was gutted. Dolley Madison fled with the Gilbert Stuart portrait of George Washington rolled up in a wagon. For a young country barely 38 years old, losing the capital was a gut punch.

The British moved on Baltimore next. They planned to hit the city from both land and sea. The sea approach meant they had to pass Fort McHenry, a star-shaped brick fort guarding Baltimore Harbor. The British fleet sat offshore and began a bombardment on the morning of September 13, 1814. Their rockets and mortars could hit the fort, but the fort's cannons could not reach the ships. So the British pounded away, safe at range, for about 25 hours.

Inside the fort, Major George Armistead had the garrison ride it out. Four Americans were killed and 24 wounded. The British fired roughly 1,500 to 1,800 rockets and bombs. When they realized they could not reduce the fort, they withdrew on the morning of September 14.

Francis Scott Key had spent the night on the HMS Tonnant, a British ship down the harbor. He had gone there under a flag of truce to negotiate the release of Dr. William Beanes, an American civilian doctor the British had taken prisoner. The British agreed to release Beanes but held Key and his companion on the ship through the attack so they could not warn the city. From that deck, through the rain and smoke, Key watched the bombs and Congreve rockets streak across the sky and explode above the fort.

25

Hours the British bombardment of Fort McHenry lasted. Around 1,500 to 1,800 bombs and rockets were fired at the fort. Four defenders were killed. The flag kept flying.

At dawn, Key looked for the flag. Not any flag. The specific flag that flew over Fort McHenry was a 30 by 42 foot garrison flag with 15 stars and 15 stripes, hand sewn the year before by a Baltimore widow named Mary Pickersgill and her 13-year-old daughter Caroline. It was sewn in pieces on the floor of a brewery because no house was big enough to lay it out flat. When Key saw that flag still flying in the morning light, he pulled out a letter from his pocket and began writing on the back of it.

The four-stanza poem he wrote is what we now know as the Star-Spangled Banner. His brother-in-law, Joseph Nicholson, took it to a printer. It was distributed as a handbill within days under the title Defence of Fort M'Henry. By November it had been printed in at least 17 newspapers from Georgia to New Hampshire.

Where the Tune Came From

This part trips people up. Key wrote words. He did not write music. The tune everyone sings is older than the poem by about 40 years.

The melody is called To Anacreon in Heaven. It was the theme song of the Anacreontic Society, a gentlemen's music and drinking club in London founded around 1766. The tune was composed by John Stafford Smith, an English organist and composer. The club members would sing it at meetings to honor Anacreon, a Greek poet known for verses about wine and romance. Which is to say: yes, the American national anthem is sung to the tune of a British drinking song.

The tune was already popular in America before Key wrote his poem. Key's brother-in-law specifically noted that the words fit the meter of that tune, so the poem was published with a note that it should be sung to Anacreon in Heaven. Within weeks people were singing Key's lyrics to that melody in Baltimore taverns and public gatherings.

3x5 American Flag

Featured Product

3' x 5' American Flag

The same 13 stripes that flew over Fort McHenry, updated with 50 stars. Heavy-duty nylon, reinforced fly end, built to fly outside.

Shop VIP Discount →

Why It Took 117 Years to Become Official

The song was sung at military events and July 4th celebrations for more than a century before Congress made it the national anthem.

The United States did not have an official national anthem for most of its history. My Country 'Tis of Thee (sung to the tune of God Save the King, another British song, ironically) was used at official functions for decades. Hail Columbia, written for George Washington's inauguration, was often used too. Different eras liked different songs.

The Star-Spangled Banner became the unofficial anthem of the U.S. military starting in the 1890s. The Navy made it the standard in 1889. In 1916, President Woodrow Wilson issued an executive order that it be played at military and naval occasions. Still, it was not the national anthem in a legal sense.

1 1889: Navy adopts it. Secretary of the Navy Benjamin Tracy orders the Star-Spangled Banner played at the raising of the colors.
2 1916: Wilson's executive order. President Wilson signs an executive order making the song standard for military and naval occasions.
3 1918: First played at a World Series. During Game 1 of the 1918 World Series at Comiskey Park, the band plays it during the seventh-inning stretch. The crowd takes their hats off. A tradition is born.
4 March 3, 1931: It becomes official. President Herbert Hoover signs a bill making the Star-Spangled Banner the official national anthem of the United States. 117 years after Key wrote it.

The path to official status was not smooth. Critics in the 1920s argued the song was too hard to sing (fair), too militaristic, or tied to a British drinking tune (also fair). A petition from the Veterans of Foreign Wars, signed by five million Americans, helped push it through Congress. The bill was introduced by Representative John Linthicum of Baltimore. It passed the House by a voice vote, the Senate unanimously, and President Hoover signed it on March 3, 1931.

Proper Etiquette During the National Anthem

The U.S. Flag Code (36 U.S.C. § 301) covers how Americans should conduct themselves during the national anthem. It is not enforced by law, but it is the standard at military ceremonies, sporting events, and official government functions.

What the Flag Code Says

If a flag is displayed Face the flag. Stand at attention.
If no flag is displayed Face the music. Stand at attention.
Civilians not in uniform Remove headwear. Hold it at your left shoulder with right hand over heart.
Civilians in religious headwear Leave it on. Right hand over heart.
Military members in uniform Stand at attention. Render the military salute.
Veterans and service members not in uniform May render the military salute in the same manner as those in uniform.

The 2008 defense authorization act updated the code to let veterans and service members not in uniform render a hand salute during the anthem. Before that, they were expected to use the hand-over-heart civilian posture. If you served, you can salute the flag in civilian clothes and you are covered under federal code.

The Flag That Inspired the Song Still Exists

The actual garrison flag that flew over Fort McHenry that morning is now at the Smithsonian. It lives in its own climate-controlled gallery at the National Museum of American History in Washington D.C. You can see it for free.

Mary Pickersgill and her team (her daughter, two nieces, and an indentured servant girl) sewed two flags for the fort in summer 1813. A smaller storm flag (17 by 25 feet) and a larger garrison flag (30 by 42 feet). The garrison flag is the one Key saw. It was made of English wool bunting with cotton stars. Each star is two feet across. Each stripe is two feet wide.

The flag is now too fragile to hang vertically. It lies at a 10-degree angle in a dark glass case. Over the years, family members and admirers cut pieces off as souvenirs, which is why one of the stars is missing and the fly end is ragged. In 1998 the Smithsonian started an eight-year conservation project to stabilize it. The fabric is cleaned, supported on a giant sheet of linen, and monitored for humidity and light damage.

There are roughly 34 pieces of the flag known to exist outside the Smithsonian, in museums and private collections. The Smithsonian has tried to buy back pieces when they come up for auction. In 2011, a fragment sold at auction for $38,000.

Frequently Asked Questions

Who wrote the Star-Spangled Banner?

Francis Scott Key, a 35-year-old American lawyer, wrote the four-verse poem on September 14, 1814 while detained on a British ship during the Battle of Baltimore. He watched the bombardment of Fort McHenry through the night and wrote the poem when he saw the American flag still flying at dawn.

When did the Star-Spangled Banner become the national anthem?

It became the official national anthem of the United States on March 3, 1931, when President Herbert Hoover signed the bill into law. Before that, it had been used by the U.S. Navy since 1889 and by all U.S. military branches since a 1916 executive order, but Congress had not made it official for the country as a whole.

Is the Star-Spangled Banner set to a British drinking song?

The melody is To Anacreon in Heaven, composed by John Stafford Smith around 1775 as the theme song of the Anacreontic Society, a London music and drinking club. It was a popular tune in America by the time Key wrote his lyrics. So while it was not literally a drinking song, it was the theme of a club where drinking was part of the meetings.

Browse the flags and flag poles for flags and gear connected to the traditions covered here.

Carry the story forward.

Choose gear made for people who still mean it.

Shop VIP Discount →

Featured in this post

Back to blog

Leave a comment

Please note, comments need to be approved before they are published.