Before Morse code, the fastest way to send a message across a country was a horse, a ship or a chain of signal towers. Within a few decades of the telegraph, news could cross an ocean in minutes. It all ran on a code simple enough to tap with one finger.

What is Morse code?

Morse code represents each letter and number as a short pattern of two signals:

  • a dot (also called a “dit”): a short signal
  • a dash (a “dah”): a long signal, three times the length of a dot

Because it only needs “on” and “off”, it works with almost anything: clicks on a wire, beeps on a radio, flashes of a lamp, even blinks of an eye. That flexibility is the secret to its long life.

Try it

Type a message, see it and hear it in Morse

Letters A–Z, numbers and common punctuation. Timing follows the ITU standard: a dot is one unit, a dash three, with gaps of one, three and seven units.

How it was discovered: a painter’s idea

Samuel Morse was not originally an engineer. He was a successful portrait painter. In 1825, while working on a commission in Washington, he received a letter from his father: his young wife, Lucretia, had died suddenly at home in New Haven, Connecticut. By the time he got home, she had already been buried. The slowness of news haunted him.

Years later, on a voyage home from Europe in 1832, Morse heard fellow passengers discussing electromagnets and became convinced electricity could carry messages instantly. He worked on the idea for the next decade, helped by scientist Joseph Henry’s research on electromagnets and by his partner Alfred Vail, a skilled mechanic who did much of the practical work on the code itself.

According to the popular account, Vail visited a local printer and counted how many of each letter the printer kept in his type cases. Common letters got short codes. That is why E, the most common letter in English, is a single dot and T is a single dash.

In 1843 Congress funded a 40-mile test line from Washington to Baltimore. On 24 May 1844, Morse sat in the U.S. Capitol and tapped out a Bible verse chosen by Annie Ellsworth, the daughter of a friend.

What hath God wrought

The first long-distance telegraph message, 24 May 1844 (Numbers 23:23)

The original paper tape from that day is held by the Library of Congress.

Milestones

From a painter’s grief to a global code

  1. 1825
    News too slow to say goodbyePainter Samuel Morse learns of his wife’s death only after her funeral. The delay stays with him.
  2. 1838
    Dots and dashesMorse and Alfred Vail demonstrate their telegraph and an early version of the code in New Jersey.
  3. 1844
    “What hath God wrought”On 24 May, the first long-distance message travels by wire from the U.S. Capitol to Baltimore.
  4. 1865
    One code for the worldEuropean telegraph authorities adopt a revised “continental” code, the ancestor of today’s International Morse.
  5. 1906
    SOS is chosenAn international radiotelegraph conference in Berlin adopts ··· −−− ··· as the distress signal. It takes effect in 1908.
  6. 1912
    TitanicOperators send both the older CQD and the newer SOS as the ship sinks; nearby ships hear them.
  7. 1999
    The sea moves onA satellite-based distress system (GMDSS) fully replaces Morse for ships at sea.
  8. 2004
    A new character: @The ITU adds ·−−·−· for the @ sign, the first change in decades, so email addresses can be sent.

How Morse code works: it’s all about rhythm

People often imagine Morse as dots and dashes on paper, but trained operators hear it as rhythm, almost like music. Everything is measured in units of time:

ElementLength
Dot1 unit
Dash3 units
Gap between dots and dashes in a letter1 unit
Gap between letters3 units
Gap between words7 units
Timing diagram of SOS in Morse code: three short pulses, three long pulses, three short pulses, with each part measured in time units.
SOS on a timing grid. The distress signal is sent as one unbroken sequence, with no letter gaps, so it can’t be mistaken for anything else.

Speed is measured in words per minute. By convention, a “word” is the word PARIS, which takes exactly 50 units including the gap after it. So at 20 words per minute, one unit lasts 60 ms. Skilled operators copy 30 to 40 words per minute by ear without writing anything down.

The alphabet

Today’s standard is International Morse Code, maintained by the International Telecommunication Union (ITU). It descends from a European revision made in the mid-1800s; the original American Morse used on U.S. railroads was different and is now rarely heard.

Reference

The International Morse Code alphabet

A·−
B−···
C−·−·
D−··
E·
F··−·
G−−·
H····
I··
J·−−−
K−·−
L·−··
M−−
N−·
O−−−
P·−−·
Q−−·−
R·−·
S···
T−
U··−
V···−
W·−−
X−··−
Y−·−−
Z−−··
0−−−−−
1·−−−−
2··−−−
3···−−
4····−
5·····
6−····
7−−···
8−−−··
9−−−−·
Highlighted: E, T, A, I, N and S, some of the most common letters in English, all get short codes. Standard: ITU-R M.1677-1.

SOS: the most famous signal

SOS doesn’t stand for “save our souls” or “save our ship”. Those phrases came later. It was chosen at an international radiotelegraph conference in Berlin in 1906, simply because ··· −−− ··· is easy to send and impossible to mistake. It took effect in 1908.

In April 1912, the Titanic’s wireless operators sent both the older distress call CQD and the newer SOS. The disaster led to new rules requiring ships to keep radio watch around the clock.

Morse code in war and captivity

Morse code’s simplicity has saved lives in situations where no other communication was possible. In 1966, U.S. Navy pilot Jeremiah Denton, a prisoner of war in North Vietnam, was forced to appear in a propaganda interview. While answering questions, he blinked T-O-R-T-U-R-E in Morse code with his eyes. It was one of the first confirmations that American prisoners were being tortured.

Jeremiah Denton blinks “TORTURE” in Morse code during a 1966 propaganda interview.

Does anyone still use Morse code?

Officially, Morse code’s role at sea ended on 1 February 1999, when the satellite-based Global Maritime Distress and Safety System (GMDSS) took over. In the U.S., the FCC dropped Morse code testing for amateur radio licences in 2007. But the code is far from dead:

  • Aviation. Radio navigation beacons still identify themselves with a two- or three-letter call sign in Morse, and pilots use it to confirm they are tuned to the right station.
  • Amateur radio. Thousands of “hams” use Morse (called CW, for continuous wave) because it gets through when voice can’t. A weak Morse signal can cross the world on very little power.
  • Accessibility. For people with limited movement, Morse can be sent with a single switch, a puff of air or an eye blink. Google added Morse code input to its Gboard keyboard in 2018 for this reason.
  • Emergencies. Three short, three long, three short flashes from a torch or mirror is still a universally recognised call for help.

FAQ

Who invented Morse code?

Samuel Morse is credited, but Alfred Vail did much of the work turning the idea into a practical code. Physicist Joseph Henry’s work on electromagnets also made the telegraph possible.

What was the first Morse code message?

“What hath God wrought”, a quotation from Numbers 23:23 in the Bible, sent from Washington to Baltimore on 24 May 1844.

How long does it take to learn Morse code?

Most people can learn the alphabet in a few days. Copying by ear at 15 to 20 words per minute usually takes a few months of regular practice. Teachers recommend learning each letter as a sound rather than as dots and dashes on paper.

Is SOS still used?

Ships now use satellite distress systems, but SOS by sound or light is still widely understood as a call for help.

Sources