Morse Lab Open the app

The origins of Morse code

Before fiber optics, before radio, before the telephone, there was a simple, radical idea: that language could travel down a wire as nothing but timed pulses of electricity. The code built on that idea is arguably the world's first widely used digital encoding — ones and zeros avant la lettre, made of sound and silence. It has outlived the telegraph, the telegram, and commercial radiotelegraphy, and it is still spoken every day.

A painter with a grudge against distance

Samuel F. B. Morse was not an engineer but a portrait painter. In 1825, while working away from home, he learned of his wife's illness by letter — she was already buried by the time he reached her. The story is often told as the seed of his obsession with fast long-distance messaging. On an Atlantic crossing in 1832 he sketched his first ideas for an electric telegraph, and through the 1830s he developed them with Alfred Vail, whose mechanical skill and code work were essential — historians still argue about how much of the final code is Vail's.

The famous demonstration came on 24 May 1844, on the new line between Washington and Baltimore: the message "What hath God wrought" traveled forty miles in an instant, and the world's nervous system began to grow.

A code shaped by frequency

The original code had a clever economy: common letters got short signs. The single dot went to E, the single dash to T — the two most frequent letters in English. According to a well-loved account, the letter frequencies were estimated by counting the type in a printer's cases. Whatever the exact method, the principle was decades ahead of its time: it is the same idea that drives modern data compression.

The early "American Morse" was quirky, with irregular spaces inside characters. In 1848 Friedrich Clemens Gerke, a telegrapher in Hamburg, simplified it into a cleaner, more rhythmic form for the Hamburg–Cuxhaven line. Gerke's revision became the backbone of the International Morse Code, standardized in Europe in the 1860s and still in use, essentially unchanged, today — one of the longest-lived engineering standards in existence. The alphabet as it stands now is his legacy as much as Morse's.

The age of the key

For roughly a century, Morse was how the world talked at distance. Telegraph lines followed the railways across continents; undersea cables stitched the empires together; "telegraphese" — the compressed style of the telegram — changed how people wrote. With Marconi's wireless at the turn of the century, the code left the wires and went to sea.

There it wrote its most dramatic chapters. The distress call SOS — chosen purely for its unmistakable rhythm, ··· −−− ···, not for any words behind it — was standardized in the early 1900s. When the Titanic sank in 1912, it was Morse operators who called the Carpathia to the scene, and the disaster led directly to international rules requiring round-the-clock radio watch at sea. For most of the 20th century, every ship's radio room and every military signal corps ran on the code.

Retirement that never happened

Technology moved on: teleprinters, telephones, satellites. In 1999 the maritime world formally switched its distress system from Morse to satellite-based GMDSS — French coastal stations famously signed off with a farewell worthy of the era: "Calling all. This is our last cry before our eternal silence." Commercial Morse was over.

And yet the code refused to die. Radio amateurs kept it alive as CW, prized for reaching around the world on whisper-thin power — more about that in Morse code in amateur radio. Aviation still identifies radio beacons with Morse idents. And in accessibility technology, the code quietly does some of its finest work: for people who can move only one or two switches, Morse input is a full keyboard.

Not bad for a code sketched on a ship in 1832. If its rhythm has caught you, the next step is not a chart — it is learning to hear it.

Start hearing it → Open Morse Lab