History of Morse Code
The history of Morse code begins with Samuel F. B. Morse and Alfred Vail, who developed the electric telegraph in the 1830s. The code they used to send messages over the wire was refined over the following years into the version now called American Morse, which was developed in the mid-1840s.
Early telegraph work
In the history of Morse code, Morse developed an electric telegraph between 1832 and 1835. The telegraph could send signals over wire, but it needed a code that turned letters into signals that could be sent quickly and read reliably.
Alfred Vail and the code
Morse was soon joined by Alfred Vail, an enthusiastic young collaborator whose skills and resources helped the project grow. Vail is credited with helping develop the code.
The first public demonstration (1838)
In January 1838, Morse and Vail made the first public demonstration of the electric telegraph at the Speedwell Ironworks in Morristown, New Jersey.
From American Morse to International Morse
The original code is now called American Morse. Over time, International Morse (ITU-R M.1677-1) replaced it for most uses. In 1848, Friedrich Clemens Gerke created a simpler German standard that removed long internal gaps and two long dashes. See our American Morse code page for the differences.
Morse code today
The history of Morse code is still felt today: Morse code is still used in amateur (ham) radio, aviation navigation beacons, and as a distress signal (SOS). It is also used in assistive technology for people with limited movement.
Before the telegraph: why a code was needed
An electric telegraph sends electrical pulses along a wire, and the receiving end must turn those pulses back into letters. The pulses can only be switched on and off, so every letter has to be represented as a pattern of short and long signals. Early telegraph systems needed a reliable code that operators could send quickly and read by ear or from a moving mark on paper.
Samuel Morse and the idea of an electric telegraph
Samuel F. B. Morse was a painter before he worked on the telegraph. While returning from Europe in 1832, he met Charles Thomas Jackson of Boston, who knew about electromagnetism. Morse then worked on the idea of sending messages by electricity, and he needed a practical way to encode language for that purpose.
Alfred Vail joins the project
Morse was soon joined by Alfred Vail, an enthusiastic young collaborator whose skills and resources helped the project grow. Together they tested the telegraph and refined the code. The first public demonstration of the electric telegraph took place in January 1838 at the Speedwell Ironworks in Morristown, New Jersey.
From the first code to American Morse
The code that Morse and Vail used was refined over the following years. By the mid-1840s, the version that is now called American Morse had been developed for the telegraph. It was used on American telegraph lines for decades, especially on railroads.
International Morse and the 1906 agreement
In 1848, Friedrich Clemens Gerke created a simpler German standard that removed long internal gaps and two long dashes. Over time, a simpler code became the international standard. The International Telegraph Convention in Berlin in 1906 adopted SOS as the international distress signal, which is why SOS is still recognized today.
The history of Morse code today
Morse code is still used in amateur (ham) radio, aviation navigation beacons, and as a distress signal. It is also used in assistive technology for people with limited movement. To learn the code yourself, start with the Morse code alphabet and then practice with the Morse code practice tools.

The history of Morse code is closely tied to the history of the telegraph and the international standards that followed. For the official standard that defines the timing used today, see the International Telecommunication Union recommendation ITU-R M.1677-1.
Frequently Asked Questions
Who invented Morse code?
The history of Morse code starts with Samuel Morse and Alfred Vail, who developed the code in the 1830s and 1840s as part of the electric telegraph.
When was the telegraph first demonstrated publicly?
In January 1838, at the Speedwell Ironworks in Morristown, New Jersey.
Is Morse code still used?
Yes, the history of Morse code continues in ham radio, aviation beacons, and SOS signals.
Related: SOS in Morse code, Morse code alphabet, how Morse code works.
