Guide · History

The History of Morse Code

Morse code was created in the late 1830s for the electric telegraph. Within a few decades it connected continents, and it is still in use almost 200 years later.

Timeline

1836–1838Samuel Morse, Alfred Vail and Joseph Henry's ideas lead to a working electric telegraph. Vail turns Morse's number code into a letter code.
1844On May 24 Morse sends "What hath God wrought" from Washington, D.C. to Baltimore on the first long-distance US telegraph line.
1848Friedrich Gerke simplifies the code for German railways and telegraphs. His version is the basis of International Morse code.
1865The International Telegraph Union adopts the international version in Paris.
1890sGuglielmo Marconi sends Morse code by radio. Wireless telegraphy is born.
1906–1908SOS becomes the international distress signal.
1912The Titanic sends CQD and SOS. Radio rules at sea change dramatically after the disaster.
1997The French navy stops using Morse code and signs off with a famous final message to all stations.
1999Commercial ships switch to the satellite-based GMDSS system and Morse code distress watches end.
2004The ITU adds the @ sign so email addresses can be sent in Morse.
TodayAmateur radio operators, aviation beacons, accessibility tools and hobbyists keep Morse alive.

A painter with a big idea

Samuel F. B. Morse was a successful portrait painter before he became an inventor. A family tragedy in 1825, when news of his wife's illness reached him too late, is often told as the spark for his interest in fast long-distance communication. On a ship home from Europe in 1832 he heard about electromagnets and started sketching a telegraph.

Alfred Vail and the letters

Morse first planned to send numbers that would be looked up in a codebook. His partner Alfred Vail pushed for a code that spelled out letters directly. To keep messages short, he gave the shortest patterns to the letters used most in English, reportedly after counting the type in a printer's case.

From wires to radio

By the 1860s telegraph cables crossed oceans. When Guglielmo Marconi showed that radio waves could carry signals without wires, Morse code went wireless too. Ships carried radio operators, and Morse became the language of the sea for almost a century.

SOS and the Titanic

In 1912 the Titanic's operators sent both the old British distress call CQD and the new SOS. The disaster led to rules that ships must keep a 24-hour radio watch. Read more about the SOS signal.

Morse code today

Commercial shipping stopped using Morse in 1999, but it never disappeared. Here is where it is still used.

Frequently asked questions

Who invented Morse code?

Samuel F. B. Morse and Alfred Vail developed it together in the late 1830s. Vail did much of the work on the letter codes; the international version was later refined by Friedrich Gerke.

When was Morse code invented?

Between 1836 and 1838. The first famous public message followed in 1844.

What was the first Morse code message?

"What hath God wrought", sent by Samuel Morse on May 24, 1844 from Washington to Baltimore.

Why was Morse code invented?

To send messages over the electric telegraph, which could only switch a current on and off. A code of short and long pulses was the simplest way to send letters.