The History of Morse Code and How It Works

Before the internet, before the telephone, before radio, there was Morse code. For nearly a century, it was the primary method of long-distance electronic communication, connecting continents through undersea cables and enabling ships at sea to call for help. Its elegant simplicity, encoding the entire alphabet with just two symbols, remains a remarkable feat of information design.

The Invention of the Telegraph

Samuel Morse was a painter, not a scientist. The idea for an electrical telegraph came to him during an 1832 ocean voyage when he learned that electrical impulses could travel instantly through wire. He spent the next several years developing a practical system, working with Alfred Vail, a skilled mechanic who contributed significantly to the technical design and the code itself.

The first successful demonstration came in 1838, and by 1844, Morse sent the first official telegraph message between Washington, D.C. and Baltimore. Within a decade, telegraph wires crisscrossed the United States and Europe, fundamentally changing commerce, journalism, and military communication. News that previously took weeks to travel could now be transmitted in minutes.

How Morse Code Encodes Information

Morse code represents each letter and digit as a unique sequence of short signals (dots) and long signals (dashes). A dash is three times the duration of a dot. The gap between elements within a character equals one dot duration. The gap between characters equals three dot durations. The gap between words equals seven dot durations.

The code was designed with efficiency in mind. The most commonly used letters in English have the shortest codes: E is a single dot, T is a single dash, A is dot-dash, I is dot-dot. Less common letters like Q (dash-dash-dot-dash) and Z (dash-dash-dot-dot) have longer sequences. This frequency-based assignment means typical English text requires fewer total signals than if codes were assigned alphabetically.

International Morse Code

The original American Morse code used by Morse and Vail included spaces within characters and had some inconsistencies. In 1865, the International Morse Code was standardized, simplifying the system so each character used only dots and dashes without internal spaces. This is the version used worldwide today and the one most people learn.

The international version also added codes for accented letters used in European languages, making it practical for multilingual communication. Numbers 0 through 9 each have five-element codes: 1 is dot-dash-dash-dash-dash, 2 is dot-dot-dash-dash-dash, progressing to 0 which is dash-dash-dash-dash-dash.

SOS and Maritime Communication

The distress signal SOS (dot-dot-dot dash-dash-dash dot-dot-dot) was adopted in 1906 as the international standard because its pattern is unmistakable and easy to send, even by untrained operators under stress. Contrary to popular belief, SOS does not stand for "Save Our Souls" or "Save Our Ship." It was chosen purely for its distinctive sound pattern.

Maritime Morse code saved countless lives. The most famous example is the Titanic disaster in 1912, where radio operators transmitted distress signals that brought rescue ships. The tragedy also led to regulations requiring ships to maintain continuous radio watch, ensuring distress calls would always be heard.

Morse Code Today

  • Amateur (ham) radio operators still use Morse code for long-distance communication. Its narrow bandwidth allows signals to get through when voice transmissions cannot
  • Aviation navigation aids (NDBs and VORs) identify themselves with Morse code signals that pilots can verify
  • Accessibility technology uses Morse code input for people with limited mobility. Two switches (dot and dash) can type any character
  • Military and emergency communication training still includes Morse code as a backup when electronic systems fail
  • Cultural references persist: many people recognize the SOS pattern even if they know nothing else about Morse code

Morse code represents one of humanity's first successful attempts to encode language digitally, reducing the complexity of alphabetic writing to two binary states. Its design principles, assigning shorter codes to more frequent symbols, anticipated information theory by over a century. If you want to see how any word or sentence looks in dots and dashes, a morse code translator converts text to Morse and back instantly — a useful way to appreciate the elegance of the system firsthand.