History of Morse Code: From the Telegraph to the Titanic

Museum display of Second World War radio equipment, with a steel helmet, a Morse key with a red knob, headphones and Funk Rupp Morse boxes

History of Morse Code in 30 Seconds

Direct answer: Morse code was invented in the 1830s–1840s by Samuel Morse and Alfred Vail, first sent as an official message on May 24, 1844 (WHAT HATH GOD WROUGHT, Washington to Baltimore). Europe adopted the simpler International version in 1851, SOS became the world distress signal in 1908, the Titanic made the code famous in 1912, and commercial maritime Morse was retired in 1999 — yet the code still lives on in ham radio, aviation beacons, and emergency signalling today. The timeline below fills in every step.

The history of morse code begins not with a code at all, but with a problem: how could a message travel faster than a horse, a train, or a ship? For most of human history, news moved at the speed of the fastest carrier. Then, in the 1830s and 1840s, a painter turned inventor and his brilliant young partner built a system that sent messages along wires at nearly the speed of light. That system changed war, journalism, business, and rescue at sea, and its famous pattern of dots and dashes is still recognised around the world today.

This is a story of invention and tragedy. It starts in an American art studio, crosses a continent on telegraph poles, and reaches its most famous moment on a freezing April night in the North Atlantic.

Morse Code History Timeline: 1832 to 2007

YearWhat happened
1832Samuel Morse, sailing home from Europe, hears about electromagnets and sketches the idea of sending messages by electric pulses along a wire.
1837Morse demonstrates an early telegraph; in Britain, Cooke and Wheatstone demonstrate their own five-needle electric telegraph the same year.
1838Morse and Alfred Vail develop the dot-and-dash code for the telegraph.
1840Morse receives a US patent for the telegraph.
1844First official message, May 24: WHAT HATH GOD WROUGHT, Washington, D.C. to Baltimore.
1848Friedrich Clemens Gerke simplifies the code in Germany — the version that becomes International Morse Code.
1851European nations adopt the simplified code; the American version stays on US landlines.
1861The transcontinental telegraph is completed on October 24; the Pony Express shuts down two days later.
1865The International Telegraph Union is founded in Paris — the body that still standardises the code today.
1866A working transatlantic cable finally links Europe and North America.
1890sMarconi shows the same dots and dashes can travel by radio, with no wire at all.
1905Germany adopts SOS in its maritime radio regulations, effective April 1.
1906–1908The Berlin Radiotelegraph Convention adopts SOS as the world standard (signed November 3, 1906; in force July 1, 1908).
1912The Titanic sends CQD and then SOS on April 15; over 700 people are rescued.
1966A prisoner of war blinks TORTURE in Morse code on television.
1999Commercial maritime Morse is formally retired, replaced by satellite distress systems.
2007The United States drops the Morse requirement for amateur radio licences.

Two dates in that table do most of the work: 1844 is when the code proved itself, and 1999 is when its commercial job officially ended — 155 years apart. Everything between them is the story of a code that outlived the machine it was built for.

The History of Morse Code: Samuel Morse and the Telegraph

Samuel Finley Breese Morse was born in 1791 in Massachusetts, and he first became famous as a portrait painter, not an inventor. For years electricity was only a side interest. That changed on a voyage home from Europe in 1832, when a fellow passenger described recent experiments with electromagnets. Morse began to wonder whether electric pulses travelling along a wire could carry a message, and he spent the next years sketching designs in his notebooks.

Morse soon partnered with Alfred Vail, a skilled mechanic whose family financed much of the early work. Vail helped build the first working instruments, improved the sending key, and, according to many historians, played a major part in shaping the code itself. Morse had the vision; Vail had the practical skill to turn it into a machine that worked.

Their early system recorded marks on a strip of moving paper: a short key press made a dot, a longer press made a dash. Operators soon realised they could understand the clicks by ear, without waiting for the paper, and that made the system much faster.

Who Actually Invented Morse Code — Morse, Vail, or Someone Else?

Direct answer: Samuel Morse had the idea and the name, Alfred Vail built much of the working system and shaped the code itself, and neither of them invented the science underneath it — that came from Joseph Henry’s work on electromagnets. Morse code was a team invention with one famous name on it.

Morse was the promoter and the visionary. He saw, on that 1832 voyage, that electric pulses could carry a message, and he spent the next decade pushing the idea through Congress and the patent office. But the Morse of the history books is not the whole story. Vail, the mechanic whose family financed the early work, built the first practical instruments, improved the sending key, and — according to many historians — did much of the work of assigning short patterns to common letters, which is what makes the code fast to use. The post above already credits Vail with shaping the code; the honest version is stronger still: without Vail, Morse had a sketch; with Vail, he had a machine.

Nor was the pair alone in the race. In Britain, William Fothergill Cooke and Charles Wheatstone demonstrated their own electric telegraph in 1837, the same year Morse demonstrated his. Their five-needle system pointed needles at letters instead of using dots and dashes, and it worked — but it needed five wires where Morse needed one, so it lost on cost and simplicity. The lesson of 1837 is that the telegraph was an idea whose time had come in several places at once; Morse and Vail won because their version was the cheapest and simplest to run, not because they were the only ones thinking about it.

That matters for anyone learning the code today. The patterns you memorise — E is one dot because it is the commonest letter — are Vail’s practical thinking as much as Morse’s invention. The code is efficient because a mechanic tuned it, not only because an inventor imagined it.

The First Message and the Telegraph Network

The turning point came on May 24, 1844, when Morse sent the first official message on a new telegraph line between Washington, D.C. and Baltimore, Maryland. The message, chosen by the daughter of a supporter, was a line from the Bible: “WHAT HATH GOD WROUGHT”. It travelled about 40 miles in an instant, and the crowd watching understood at once that distance had changed forever.

Within a few years, telegraph lines spread across the United States. News that once took days now arrived in minutes, newspapers reported distant events the same day, businesses checked prices in other cities before dealing, and railways used the telegraph to keep trains from colliding. Ordinary people sent telegrams for births, deaths, and urgent news, paying by the word, which is why telegrams became famous for their short, clipped style.

Early attempts to lay a telegraph cable across the Atlantic failed, but in 1866 a working cable finally connected Europe and North America. A message that had once taken a ship ten days to carry could now arrive in minutes.

American Morse Code and International Morse Code

An important detail is that there were two main versions. The original American Morse code, used on United States landlines, had a more complex system, including longer pauses inside some letters. It worked for trained operators, but it was harder for beginners.

In 1851, a conference in Europe adopted a simpler version, later called International Morse code, which most people know today. Each letter has a clear pattern with consistent spacing and no special internal pauses. Radio operators, ships, and armies around the world gradually adopted it as the common language of wireless communication.

How the Code Spread Beyond the Wire

By the late 1800s, inventors such as Guglielmo Marconi showed that radio waves could carry the same dots and dashes through the air, without any wire at all. This wireless telegraphy transformed life at sea: ships that had once been silent after leaving port could now call for help and receive news from shore, and merchant ships carried radio officers who listened day and night.

What the Telegraph Did to News, Business, and Distance

Direct answer: The telegraph did not just send messages faster — it changed what news, business, and even the mail were. A letter that took ten days by ship or Pony Express became a telegram that arrived in minutes, and within a generation, newspapers, markets, and railways were all organised around instant messages.

The clearest casualty was the Pony Express. It ran for only about eighteen months, from April 3, 1860 to October 26, 1861, carrying mail 1,900 miles from St. Joseph, Missouri to Sacramento, California in about ten days — fast for a horse, and already obsolete. Congress had authorised a transcontinental telegraph line in June 1860, only ten weeks after the first Pony Express ride, and when the line was completed on October 24, 1861, the riders were out of work two days later. The Pony Express once carried President Lincoln’s inaugural address across the continent; the telegraph carried the next one in minutes. A legend was born and killed by the same wire.

Newspapers changed just as fast. Before the telegraph, a newspaper reported events days late; after it, distant news arrived the same day, and news agencies formed to share the cost of telegraphed reports between papers. Businesses checked prices in other cities before dealing, as the post above notes — and that habit, checking a distant price before acting, is the direct ancestor of every live market screen today. Railways, too, ran on the wire: a single-track line could only run trains safely if stations could telegraph each other, so the telegraph became the railway’s nervous system as much as its messenger.

The price of all this was paid by the word, which is why telegrams read the way they do — short, clipped, every word counted. That constraint shaped a whole style of writing: say it in as few words as possible, because each one costs money. It is the same pressure that later shaped headlines, text messages, and posts — the telegraph invented terse communication a century before the character limit did.

The Titanic and the Night Morse Code Became Famous

No event made Morse code more famous than the sinking of the RMS Titanic on April 15, 1912. The great ocean liner struck an iceberg in the North Atlantic on its maiden voyage from Southampton to New York, and as water flooded its compartments, its radio officers, Jack Phillips and Harold Bride, began sending distress calls.

At first they sent CQD, the older distress signal used by the Marconi company, which meant, in effect, “come quickly, danger”. Then, as the situation grew worse, they also sent the newer international distress signal, SOS, three dots, three dashes, and three dots. Ships nearby heard the calls. The RMS Carpathia, about 58 miles away, turned around and steamed through ice fields to the scene, rescuing more than 700 survivors from lifeboats in the cold dawn.

The disaster also exposed serious problems. Another ship, the Californian, was much closer, but its only radio officer had gone to bed, so the calls went unheard. After the inquiry, new rules required ships to keep a radio watch around the clock, and SOS became universally recognised as the distress call.

The same patterns live on in the free online Morse code translator.

How SOS Became the World’s Distress Signal — and What the Letters Don’t Mean

Direct answer: SOS was not chosen because its letters stand for anything. It was chosen because ... --- ... is unmistakable: three dots, three dashes, three dots, run together with no gaps between the letters. Germany adopted it in 1905, the world adopted it in 1908, and the Titanic made it famous in 1912.

The paper trail is unusually tidy for a piece of history. Germany was first: its maritime radio regulations, effective April 1, 1905, made the three-dot/three-dash/three-dot sequence the national distress signal. The next year, delegates from the world’s maritime nations met in Berlin, and the International Radiotelegraph Convention they signed on November 3, 1906 adopted Germany’s signal as the international standard — in force from July 1, 1908. The convention’s text did not even mention the letters S, O, and S: it printed the pattern of dots and dashes and ordered ships in distress to repeat it at brief intervals.

That is why “Save Our Souls” and “Save Our Ship” are folk explanations, not history — they were invented afterwards, because people wanted the letters to mean something. The real reason is rhythm: the pattern cannot be confused with any letter, it is easy to send under stress, and it is easy to recognise through static. The first published mention of SOS as a distress call followed the January 23, 1909 collision between the steamships Republic and Florida off the American coast. Three years later the Titanic’s operators sent it too — after first sending the older CQD, as the post above describes — and after 1912 no sailor on Earth needed the signal explained.

The convention also explains something the Titanic story leaves open: why a ship as close as the Californian heard nothing. In 1912 there was still no rule that every ship keep a radio watch at all hours, and no single distress signal every operator recognised. The 1908 standard fixed the signal; the Titanic inquiry fixed the watch. Both fixes trace back to the same Berlin document.

Morse Code in Wartime

Morse code proved its value again and again in war. In the American Civil War, both sides used the telegraph to move orders far faster than messengers on horseback. In the First World War, soldiers used field telegraphs, signal lamps, and radio sets to send Morse code from trenches, often under fire.

The Second World War brought Morse code to its greatest scale. Operators in tanks, aircraft, ships, and resistance groups used it daily, and spies behind enemy lines tapped messages to London on small portable radios. Because it needs very simple equipment and little power, it worked when voice radio failed or when speaking aloud would have given a position away.

Morse Code With No Machine at All: Blinks, Taps, and Light

Direct answer: Morse code needs no telegraph, no radio, and no electricity — only something that can be on or off. That is why it has been sent by blinking eyes, tapping on walls, and flashing lights, in places where no machine could ever be used.

The most famous example happened on television. On May 2, 1966, US Navy pilot Jeremiah Denton — shot down over North Vietnam on July 18, 1965 and held prisoner for seven and a half years — was put in front of a Japanese television reporter for a propaganda interview. His captors wanted him to say he was treated well. He said the words they wanted, and while he spoke he blinked his eyes in Morse code, spelling out T-O-R-T-U-R-E: - --- .-. - ..- .-. .. US naval intelligence decoded the blinks from the broadcast, and it became the first clear confirmation that American prisoners were being tortured. Denton was awarded the Navy Cross for it in 1974 and released in February 1973. He had no key, no wire, no radio — only his eyelids and a code his captors did not think to watch for.

Prisoners in the same war tapped the code through cell walls, one tap for a dot and a longer scrape or double-tap pattern for a dash, passing whole conversations between cells their guards believed were silent. Sailors and soldiers have flashed it with torches and signal lamps, and hikers and sailors still learn it as a flashlight signal: three short flashes, three long, three short, and anyone who knows the code understands it at a glance. The post above describes Morse surviving in aviation beacons and assistive switches; the same principle is at work there — a beacon is only a light switching on and off, and a switch is only a finger pressing and releasing. The medium changes; the code does not.

That is the deepest reason the code outlived the telegraph. A code made of on and off can ride on anything that can be switched — a key, a light, an eyelid, a fingertip. When every other part of the system fails, the code itself is the last thing left working.

Survival into the Radio Age and Beyond

After the Second World War, telephones, teletype machines, and later voice radio and satellite links replaced Morse code for most everyday use. Commercial ships stopped requiring Morse code operators, and in 1999 the international maritime distress system formally retired it in favour of satellite based systems.

Yet Morse code never quite disappeared. Amateur radio operators, known as hams, kept it alive as a hobby and emergency skill, because a simple Morse signal can travel further on low power than a voice signal. It is still used in aviation, where beacons identify themselves in Morse code, and in accessibility technology, where people with limited movement can communicate using a single switch.

The history of morse code is therefore not a story of a dead invention. It is the story of a simple idea, two sounds and the pauses between them, that carried the first instant messages, crossed oceans, called for rescue on the darkest night at sea, served in two world wars, and still survives wherever a simple, reliable signal is needed.

History of Morse Code FAQs

When was Morse code invented?

Morse code was invented in the 1830s and developed into a working system by 1838, when Samuel Morse and Alfred Vail settled the dot-and-dash patterns. The first official message was sent on May 24, 1844.

Who invented Morse code — Samuel Morse or Alfred Vail?

Both, plus the science underneath them. Morse had the idea and drove it through Congress and the patent office; Vail built the working instruments and shaped the code itself; Joseph Henry’s work on electromagnets made the telegraph possible at all.

What was the first Morse code message?

WHAT HATH GOD WROUGHT, sent by Samuel Morse on May 24, 1844, from Washington, D.C. to Baltimore, Maryland — about 40 miles, in an instant. The line is from the Bible and was chosen by the daughter of one of Morse’s supporters.

When did SOS become the distress signal?

Germany adopted it in regulations effective April 1, 1905. It became the world standard under the International Radiotelegraph Convention signed in Berlin on November 3, 1906, in force from July 1, 1908. SOS is not an abbreviation — the letters were never the point; the pattern ... --- ... was.

Did the Titanic send SOS or CQD?

Both. The Titanic’s radio officers first sent CQD, the older Marconi-company distress call, and then also sent the newer SOS as the situation grew worse. The Carpathia heard the calls and rescued more than 700 survivors.

When did Morse code stop being used at sea?

Commercial maritime Morse was formally retired in 1999, when the Global Maritime Distress and Safety System (GMDSS) replaced it with satellite alerting. Amateur radio operators and aviation beacons still use the code today.

Why did American Morse code disappear?

The original American code used pauses inside some letters, which worked on landlines but failed on radio, where pauses are hard to hear through static. The simpler International code, adopted in Europe in 1851, had consistent spacing and no internal pauses, so radio operators, ships, and armies adopted it worldwide. American landline use faded out in the 1960s.

How can I try Morse code myself?

Type any message into the free Morse code translator on our homepage and hear it played back, practise listening on the audio translator page, send your first signals on the key trainer page, and test yourself in the Morse code quiz.

What Should I Practise Next?

Now that you know the history, hear the code for yourself: type SOS into the free Morse code translator and listen to ... --- ..., practise listening on the audio translator page, send your first signals on the key trainer page, and test yourself in the Morse code quiz. To learn the code properly, read How to Learn Morse Code, and to see where the code still lives today, read Is Morse Code Still Useful?.

Sources and Further Reading

The history on this page is drawn from the record: Samuel Morse co-developed the code in the 1830s and sent the first official message in 1844, as told in his biography on Wikipedia, the full story of the code – its inventors, its spread, and its uses – is covered in the Morse code overview on Wikipedia, and the code as it stands today is defined in ITU Recommendation M.1677.

Similar Posts