HISTORY · TELEGRAPH TO TODAY

The History of Morse Code: From Telegraph to Today

Morse code was developed in the United States in the 1830s and early 1840s by Samuel Morse and Alfred Vail as a way to send language over an electric telegraph wire. It went on to become the world’s first system for instant long-distance communication, was rebuilt into an international standard in the 1850s and 1860s, carried the world’s most famous distress calls, and survived the end of commercial telegraphy to remain in active use today.

Developed
1830s–1840s, United States
Created by
Samuel Morse & Alfred Vail
First public message
May 24, 1844 — Washington, D.C. to Baltimore
Internationalized
1851–1865, based on Friedrich Gerke’s revision
Commercial maritime use ended
1997–1999, with GMDSS
Still used today
Amateur radio, aviation idents, accessibility tech

The Problem Morse Code Solved

Before the electric telegraph, a message could travel only as fast as a person, a horse, a ship, or — at best — a chain of signal towers within sight of each other. Optical semaphore networks, like the ones France built in the late 1700s, could relay a short message across a country in hours instead of days, but they needed clear weather, daylight, and a tower every few miles.

The electric telegraph removed those limits. A wire could carry a signal over almost any distance, at nearly the speed of light, in any weather, day or night. The missing piece was a practical way to turn that raw electrical pulse — on or off, present or absent — into language. That is the specific problem Morse code was built to solve: a way to represent every letter and number using nothing but the timing of an electrical click.

Samuel Morse, Alfred Vail, and the First Message

Morse code takes its name from Samuel F. B. Morse, but the system that carried his name was a collaboration — and historians still debate exactly how the credit should be split.

Samuel Morse’s Role

Samuel Morse was a portrait painter, not an engineer, when he reportedly conceived the idea for an electric telegraph during a transatlantic voyage home from Europe in 1832. Over the next several years he worked to turn that idea into hardware, and by 1837 he had built a working transmitter and receiver capable of sending a signal through about ten miles of wire. Congress funded a public demonstration line between Washington, D.C. and Baltimore with a $30,000 appropriation in 1843, and Morse spent the next year building it with two key partners: scientist Leonard Gale, who helped strengthen the electromagnetic circuitry, and Alfred Vail.

Alfred Vail’s Role

Vail’s contribution went well beyond assisting with construction. He is generally credited with refining the dot-and-dash alphabet itself — assigning the shortest sequences to the most frequently used letters in English, which is why E, the most common letter, is a single dot — and with building the telegraph key and register hardware that made sending and receiving practical. Some historians argue Vail’s role in designing the actual code was large enough that it deserves more public recognition than it usually gets; the fairest summary, and the one this article uses, is that Morse supplied the original concept and the funding relationship with Congress, while Vail turned it into a working, efficient system.

“What Hath God Wrought?”

On May 24, 1844, Morse sent the line’s first official long-distance message from the U.S. Capitol in Washington to Vail, who was waiting at the Baltimore and Ohio Railroad’s Pratt Street Station in Baltimore, roughly forty miles away. The message read, “What hath God wrought” — a phrase from the Book of Numbers (23:23) suggested to Morse by Annie Ellsworth, the young daughter of Patent Commissioner Henry L. Ellsworth. Vail sent a confirming reply, and the demonstration proved, in public, that a message could travel faster than any person or vehicle. A paper tape from the exchange, in Morse’s own handwriting, is preserved today at the Smithsonian’s National Museum of American History.

American Morse and the Development of International Morse

American Morse

The code Morse and Vail built — now called American Morse code to distinguish it from later versions — used dots, standard dashes, and, for a handful of letters like C, O, R, Y, and Z, a deliberate pause inside the letter itself. That worked well on the relatively short, overhead wires of the early U.S. telegraph network, and it could be sent slightly faster once operators learned it. It became the standard for American landline telegraphy and stayed in use there for well over a century.

Friedrich Gerke and International Morse

The internal pauses that worked fine on short American lines caused real problems as telegraphy spread across Europe and onto longer, sometimes undersea, cable routes, where signal distortion made subtle timing differences hard to read reliably. In the late 1840s, Friedrich Clemens Gerke — an engineer who had helped build one of Hamburg’s earliest telegraph lines — reworked the alphabet to remove those internal pauses and the two extra-long dashes, leaving a simpler system built from just two elements: a dot, and a dash three times as long. Sources differ on the exact year of Gerke’s revision, with some dating it to 1848 and others to 1849, but the outcome is well documented: it became the direct ancestor of the code used everywhere in the world today.

The 1851 European Standardization

Gerke’s version was formally adopted by the Deutsch-Österreichischer Telegraphenverein (the Austro-German Telegraph Union) in 1851, giving it official standing across a large multi-country network for the first time. It later became the basis for a fully international standard when the International Telegraph Union adopted a version of it — accounts place this step in either 1864 or 1865, depending on the source — as what’s now called International Morse Code. That is the version this website, and virtually every Morse code resource in the world, teaches today. The structural differences between it and the original American version, and why International Morse eventually won out even in the United States, are covered in full on our American vs. International Morse code comparison.

The Golden Age of Telegraphy

Railroads and Telegraph Networks

By the end of the 1840s, telegraph lines already connected towns across the eastern United States, and the network kept expanding westward largely alongside the railroads, whose rights-of-way made stringing wire far easier. The biggest leap came when Congress passed the Pacific Telegraph Act in 1860, committing federal funding to link the Atlantic and Pacific coasts. Two construction crews, working from opposite directions, met at Salt Lake City on October 24, 1861, completing the transcontinental telegraph — a link so useful that it put the earlier Pony Express out of business almost overnight, years before the transcontinental railroad itself was finished in 1869.

Telegraph Offices and Everyday Communication

For the rest of the 19th century, the telegraph office was the fastest way ordinary people, businesses, newspapers, and governments could reach someone far away. Messages were charged by the word, which is why telegrams developed their own clipped, economical style of writing. Trained telegraph operators — reading incoming Morse code by ear, directly off the clicking sounder, rather than from a printed tape — became a skilled profession in their own right, and many later carried that skill directly into the next major shift: sending Morse code without any wire at all.

The Rise of Wireless Telegraphy

Starting in the 1890s, inventors led by Guglielmo Marconi showed that the same dot-and-dash signaling could travel through the air as radio waves, with no wire needed at all. Wireless telegraphy spread quickly to ships, which could now stay in contact with shore and with each other far out at sea for the first time — a capability that would prove decisive within just a couple of decades, and that shifted Morse code from a landline technology into the foundation of early radio communication.

Morse Code at War

World War I

Militaries adopted wireless Morse rapidly once war broke out in 1914. The British Royal Flying Corps began using onboard wireless sets that same year to direct artillery fire from the air — though early spark transmitters were heavy, unreliable, and easy for the enemy to intercept. On the ground, field telephones like the British D Mark III were built with a built-in buzzer and telegraph key specifically so operators could fall back to Morse code whenever a line was too noisy for voice.

World War II

By the Second World War, Morse code was deeply embedded in military signals intelligence on every side. Britain’s No. 10 Wireless Set gave commanders like Field Marshal Montgomery secure, direct multi-channel links back to London from a mobile field headquarters, while receivers such as the CR100 were built specifically to intercept enemy voice and Morse transmissions across a wide frequency range. That interception work sat alongside the codebreaking effort against machine ciphers like Germany’s Enigma — a separate and much larger story, but one that depended on Morse-literate radio operators to capture the raw signals in the first place.

SOS and the Titanic

In 1906, an international radiotelegraph conference in Berlin agreed on a new, simple, unmistakable distress signal — three dots, three dashes, three dots — that came into force in 1908. It’s commonly known today as SOS, though it was chosen for how distinctly it sounded, not as an abbreviation for any phrase. The full story of how it was selected, and how it differed from the signals that came before it, is covered on our dedicated SOS in Morse code page.

SOS became permanently associated with maritime disaster four years later. When RMS Titanic struck an iceberg on the night of April 14, 1912, wireless operator Jack Phillips first sent the older distress call, CQD, which Marconi operators had used informally since 1904. His assistant, Harold Bride, reportedly suggested trying the newer signal as well, joking that it “may be your last chance to send it” — and for much of that night, Phillips transmitted both CQD and SOS. The tragedy, and the international attention it drew to wireless rescue coordination, helped cement SOS as the signal every ship’s radio operator would recognize instantly from then on.

The Decline of Commercial Morse

The Rise of Other Communication Technologies

Morse code’s commercial dominance didn’t end all at once. Through the early and mid-20th century, teleprinters — machines that could send and print typed text automatically using the Baudot and later ASCII codes — gradually took over routine commercial telegram traffic, since they didn’t require an operator trained to send or copy Morse by hand. On ships and in aviation, voice radio increasingly handled routine communication, leaving Morse to specialize in exactly the situations where it still had a real advantage: weak, noisy, or long-distance signals where a simple on/off tone was far more reliable than a voice transmission.

GMDSS and the End of Commercial Morse

The final phase-out of Morse code as a mandatory maritime safety system is often summarized as a single date, but it actually involves at least two distinct milestones that are frequently — and incorrectly — collapsed into one.

Why you’ll see both 1997 and 1999 cited

On January 31, 1997, the French Navy’s coastal radio service sent its own final Morse code transmission, reportedly signing off with the line, “Calling all. This is our last cry before our eternal silence.” That marked the end of one national maritime Morse service, ahead of the wider international deadline. The global cutoff came two years later: under the International Maritime Organization’s Global Maritime Distress and Safety System (GMDSS), the last mandatory Morse listening watch aboard GMDSS-equipped vessels — required on the 500 kHz and 2182 kHz distress frequencies — ended on February 1, 1999, when SOLAS ships were required to have satellite- and digital-based distress equipment fully in place instead. The two dates aren’t in conflict; one is a specific national service ending early, the other is the internationally mandated deadline that applied to commercial shipping as a whole.

GMDSS had been building toward that deadline for years: the International Maritime Organization amended the Safety of Life at Sea (SOLAS) convention in 1988 to require GMDSS equipment, with phase-in requirements — including satellite emergency beacons from August 1993 — leading up to the final February 1999 cutover for all remaining vessels.

Where Morse Code Survives Today

Losing its mandatory commercial role didn’t end Morse code — it just narrowed its use to the places where its core advantage, getting a signal through under bad conditions with the simplest possible equipment, still matters.

Amateur radio

Morse code, known in this context as CW, remains one of the most actively used modes in ham radio, especially for long-distance and weak-signal contacts. The U.S. Federal Communications Commission dropped its Morse code testing requirement for amateur radio licenses in 2007, but the mode itself never stopped being popular. Our Morse Code for Ham Radio guide covers how CW operators use it today.

Aviation

Ground-based navigation beacons — VOR, NDB, and ILS localizers — have identified themselves with a short Morse code call sign since well before modern digital avionics existed, and still do, as a simple backup a pilot can verify with nothing more than a working receiver. See Morse Code for Aviation for how that identification actually works.

Accessibility

Because it can be produced with a single repeatable action — one switch, one blink, one breath — Morse code has become a genuine assistive communication method for people with severe motor disabilities, including through Android’s built-in Morse keyboard.

Emergency signaling & education

SOS by flashlight or whistle remains a recognized distress signal, and Morse code is still taught as a hobby, a puzzle, and a piece of history in its own right. Our Where Is Morse Code Still Used Today guide covers this full modern picture.

Frequently Asked Questions

Who invented Morse code?

Samuel Morse and Alfred Vail developed it together in the United States in the 1830s and early 1840s. Morse conceived the electric telegraph and secured funding for it; Vail is generally credited with refining the actual dot-and-dash alphabet and building the key equipment that made it practical.

When was Morse code invented?

Development happened gradually between roughly 1832 and 1844. The system was proven publicly on May 24, 1844, when Morse sent the message “What hath God wrought” over a telegraph line between Washington, D.C. and Baltimore.

What was the first message sent in Morse code?

The first official long-distance message was “What hath God wrought,” a biblical phrase suggested by Annie Ellsworth, sent by Samuel Morse from the U.S. Capitol to Alfred Vail in Baltimore on May 24, 1844.

What is the difference between American Morse and International Morse?

American Morse, the original version, used internal pauses within a few letters to keep certain sequences shorter. International Morse, developed by Friedrich Gerke in the late 1840s, removed those pauses in favor of just two timing elements — dots and dashes — which held up far better on long-distance and undersea telegraph lines. See our full American vs. International Morse comparison for the details.

Why did Morse code become internationally standardized?

As telegraph networks crossed national borders and moved onto undersea cables, the original American code’s internal pauses became unreliable to read. A simplified, uniform version — adopted by the Austro-German Telegraph Union in 1851 and later by the International Telegraph Union — let operators in different countries, using different equipment, read each other’s signals without ambiguity.

When did commercial Morse code decline?

There’s no single date — teleprinters and voice radio gradually took over routine commercial telegraphy through the mid-20th century. The clearest formal end came with the Global Maritime Distress and Safety System (GMDSS): France’s national maritime Morse service signed off in January 1997, and the international mandatory Morse watch for commercial ships ended on February 1, 1999.

Is Morse code still used today?

Yes. It remains active in amateur radio (as CW), in aviation navigation beacon identifiers, in assistive technology for people with motor disabilities, and in emergency signaling and education, even though no government or industry requires anyone to know it anymore.

Explore More

Sources