The History of Morse Code
A painter, a mechanic and a Hamburg telegraphist. Between them they built the code the world still uses.
Morse code was developed in the 1830s and 1840s by Samuel Morse and Alfred Vail for the electric telegraph, and first demonstrated publicly on 24 May 1844 between Washington and Baltimore. The version used worldwide today is not theirs: Friedrich Clemens Gerke rewrote it in 1848, and his revision became the international standard in 1865.
Samuel Morse and Alfred Vail
Samuel Morse was a portrait painter by profession. The idea reportedly came to him in 1832, on the ship home from Europe, during a conversation about electromagnetism. He had the vision and, crucially, the standing to raise money and lobby Congress. What he did not have was the engineering.
That came from Alfred Vail, who joined in 1837 and built the machinery that made the system work. Vail is also credited with most of the character assignments, and the method he used explains why the code is efficient: he visited a local newspaper office and counted the letters in the printers' type cases. The more type a printer stocked of a letter, the more often it must appear. E, the most common letter in English, got a single dot.
The public demonstration came on 24 May 1844, on the line from Washington to Baltimore. The message was What hath God wrought, a line from the Book of Numbers chosen by Annie Ellsworth, the daughter of a patent commissioner.
Why the original code did not last
The first version, now called American Morse, had a flaw that only became apparent at scale. Some characters contained internal pauses of different lengths - C was sent as two elements with a gap inside it, rather than as a continuous pattern. On a short line with a skilled operator that worked. Over long distances, where signals smeared, and later over radio, where noise filled every gap, it was a constant source of error.
Friedrich Clemens Gerke, a telegraphist in Hamburg, rewrote the code in 1848 to remove those awkward characters and give every element a clean length. His version was adopted by the German-Austrian Telegraph Union in 1851 and, with small changes, by the International Telegraph Conference in Paris in 1865. That is the code on this site.
American Morse did not disappear overnight. It stayed on North American railway and landline circuits for decades, and a few operators still practice it. But it never made the jump to radio.
From ships to satellites
- 1906 - the Berlin radio conference adopts SOS as the international distress signal, in force from 1 July 1908.
- 1912 - the Titanic sends both CQD and SOS. The disaster leads directly to rules requiring ships to keep a continuous radio watch.
- Two world wars - Morse carries military traffic on every side, and code-breaking around it shapes the beginnings of modern computing.
- 1999 - the Global Maritime Distress and Safety System takes over. The commercial Morse watches end.
- 2003 - the World Radiocommunication Conference drops the requirement for a Morse test in amateur radio licensing. Numbers were expected to collapse; instead the mode became something people chose rather than endured.
Why it did not die
Every technology that replaced Morse code needs equipment on both ends. Morse needs a way to switch something on and off, and two people who know the pattern. That is a very low floor, and it is why a code designed for iron wires in the 1840s still works with a torch, a whistle, or a finger tapping on a hospital bed.
Its second life is technical rather than sentimental. A Morse signal fits into a bandwidth so narrow that a receiver can filter almost everything else away, which is why amateur operators still reach across oceans on the power of a light bulb.
Frequently asked questions
-
Who invented Morse code?
Samuel Morse and Alfred Vail, working together from 1837. Vail did the engineering and worked out most of the character assignments. The version used internationally today was revised by Friedrich Clemens Gerke in 1848.
-
When was Morse code invented?
It took shape through the 1830s and 1840s. The first public demonstration over a real line was on 24 May 1844, between Washington and Baltimore.
-
What was the first Morse code message?
What hath God wrought, sent on 24 May 1844. The line comes from the Book of Numbers and was chosen by Annie Ellsworth.
-
What is the difference between American and International Morse?
American Morse, the original, had characters containing internal pauses of varying length, which made them unreliable over long distances and unusable over radio. Gerke removed them in 1848, and that cleaner version became the international standard in 1865.
-
When did ships stop using Morse code?
Officially in 1999, when the Global Maritime Distress and Safety System replaced it. Ships now transmit digital alerts that carry their identity and position automatically.