History
The History of Morse Code
Morse code was created by Samuel Morse and Alfred Vail between 1837 and 1844 for the electric telegraph. The first long-distance message, "What hath God wrought", was sent from Washington to Baltimore on May 24, 1844. A revised International Morse Code was adopted in Europe in 1865 and became the world standard.
WHAT HATH GOD WROUGHT in Morse code
.-- .... .- - / .... .- - .... / --. --- -.. / .-- .-. --- ..- --. .... -
On this page (show)(hide)
Morse code was the first technology to let people send messages across a continent in minutes instead of days. Its story is tied to the electric telegraph — and to a painter who became an inventor.
Who invented Morse code?
Morse code is credited to Samuel F. B. Morse, with crucial contributions from Alfred Vail and the scientist Joseph Henry. Morse was a successful portrait painter who became fascinated by electromagnetism in the 1830s. The often-repeated story is that he turned to the problem of fast communication after a letter about his wife's illness reached him too late.
Morse had the concept, but Vail, his partner, did much of the practical engineering — and is widely believed to have shaped the code itself, including the clever idea of giving the most common letters the shortest codes. That's why E is a single dot and T a single dash, while rarer letters like Q (--.-) are longer. It makes everyday messages faster to send.
"What hath God wrought"
After years of development and a struggle for funding, Congress backed an experimental telegraph line between Washington, D.C., and Baltimore. On May 24, 1844, Morse sent the first official long-distance message down that line: "What hath God wrought."
It worked. News, business, and government could suddenly move at the speed of electricity. Telegraph lines spread rapidly across the United States and Europe, and undersea cables eventually linked continents.
From American Morse to the world standard
The original code — now called American Morse — had some awkward features, including pauses inside certain letters. A cleaner version developed by Friedrich Clemens Gerke in Germany removed those quirks and became the basis for International Morse Code, adopted internationally in 1865. That's the version still used today and the one behind this site's translator. The differences are covered in International Morse Code explained.
The age of radio
Morse code's second life came with wireless radio around 1900. Ships could now signal over open water, which made a standard distress call essential — leading to the adoption of SOS. For decades, Morse was the backbone of maritime and military communication, and knowing it was a requirement for radio operators and amateur licensees alike.
Morse code today
Voice, satellite, and digital modes have replaced Morse for most official uses, and it's no longer required for amateur radio licenses in most countries. Yet it persists — valued by ham radio operators because a simple on/off tone cuts through interference that would garble speech, and kept alive by enthusiasts who enjoy the skill. A system sketched out in the 1830s is still, remarkably, in daily use.
Curious how your own name looks in the code Morse and Vail designed? Try the translator.
Frequently asked questions
Who invented Morse code?
Samuel F. B. Morse, a painter turned inventor, together with machinist Alfred Vail, who is credited with much of the practical dot-and-dash alphabet.
When was Morse code first used?
The first public long-distance telegraph message was sent on May 24, 1844, between Washington, D.C., and Baltimore.
When did Morse code stop being used officially?
Maritime distress use of Morse officially ended in 1999 when the GMDSS satellite system took over, but amateur radio and aviation beacons still use it.
Next step
Hear the first telegraph message, WHAT HATH GOD WROUGHT, played at the slow speed early operators would have used.
Open in the Morse code translator →