Safekipedia

Enigma machine

Adapted from Wikipedia · Discoverer experience

Mechanical wheels of an Enigma encryption machine, used to scramble messages during World War II.

The Enigma machine is a special device made to hide messages in the early to mid-1900s. It was used by Nazi Germany during World War II to keep secret messages safe for the German military. People thought it was very hard to read these hidden messages.

Military Model Enigma I, in use from 1930

The Enigma machine works with parts called rotors that mix up letters. When someone types a letter on the keyboard, a different letter lights up, making it look like a secret code. Each press of a key changes the mixing, so every letter is hidden in its own special way.

Even though it seemed very safe, experts in Poland figured out how to read these messages as early as 1932. This helped the Allies learn important secrets during the war. Even when Germany changed the machine, people kept finding ways to read the messages, which helped shorten the war.

History

The Enigma machine was invented by German engineer Arthur Scherbius at the end of World War I. His company patented ideas for a cipher machine in 1918 and began selling them in 1923, at first for businesses. Later, several countries, including Nazi Germany, began using Enigma for their military and government messages before and during World War II.

A memorial in Bydgoszcz, Poland, to Marian Rejewski, the mathematician who, in 1932, first broke Enigma and, in July 1939, helped educate the French and British about Polish methods of Enigma decryption

As the war began, Germany needed secure ways to send messages across radio waves. The Enigma machine, which was small and easy to carry, helped protect these messages. Over time, allies worked hard to understand how Enigma worked. Polish experts, using information shared by a French spy, were the first to figure out some of Enigma’s secrets. They built their own machines and shared their knowledge with British and French intelligence before the war started. This early work helped British codebreakers at Bletchley Park later on, where they continued to study Enigma messages and support the war effort.

Main article: Cryptanalysis of the Enigma

Design

The Enigma machine was a clever device used to scramble messages during World War II. It looked like a keyboard with lamps underneath and used rotating disks called rotors to change each letter into a secret code. When someone pressed a key, the rotors spun and changed positions, making each letter turn into a different one in a way that was very hard to guess.

The machine worked by sending an electrical current from the keyboard through the rotors. Each rotor had wires inside that mixed up the letters, and together they made a complex code. To make it even trickier, there was a part called a plugboard that let operators swap pairs of letters before the signal went through the rotors. This made the code much harder to break. The Enigma was used by many parts of the German military to keep their messages safe.

Position of turnover notches
RotorTurnover position(s)BP mnemonic
IRRoyal
IIFFlags
IIIWWave
IVKKings
VAAbove
VI, VII and VIIIA and N

Operation

German Kenngruppenheft (a U-boat codebook with grouped key codes)

The Enigma machine was a special tool used to send secret messages during World War II. It worked by changing each letter someone typed into a different letter, making the message hard to read for anyone who didn’t have the machine set up the same way.

When someone used the Enigma, they would press keys on the keyboard. Lights would then show different letters, which another person would write down. Each time a key was pressed, the machine’s parts moved, so the next letter pressed would change to a new letter. This made the message very hard to understand unless someone had the exact same machine settings.

Models

Scherbius Enigma patent, U.S. patent 1,657,411, granted in 1928

The Enigma machine was a special tool used to send secret messages by changing ordinary letters into a secret code. It was created in the early 1920s and used by many countries for important messages. About 40,000 of these machines were made.

Early versions were used for business. Later, the German military used it for their secret messages during World War II. The machine had parts called rotors that moved to change the letters, making it very hard to read the messages without the right machine. Different models were made over time, each with small changes to improve how it worked. Some models were used by armies, while others were used by navy or air force groups.

Surviving machines

Interest in the Enigma machine grew after details about breaking its code were shared in 1973. Today, many Enigma machines can be seen in museums around the world, as well as in private collections.

The Deutsches Museum in Munich and the Deutsches Spionagemuseum in Berlin both have examples on display. Other places include the National Codes Centre at Bletchley Park, the Science Museum in London, the Australian War Memorial in Canberra, and the Computer History Museum in Mountain View, California. Visitors can often try encoding and decoding messages themselves at these locations.

Enigma machines have also been found in surprising places. In 2020, a damaged machine was discovered in the Baltic Sea near Flensburg Firth and is being restored. In 2025, an Enigma used by a famous World War II leader sold for over 480,000 euros at an auction in Paris.

Derivatives

The Enigma machine inspired many other cipher machines. After learning how Enigma worked, the British made a similar machine called the Typex. They believed it was impossible to solve. In the United States, a person named William Friedman created a machine called the M-325 that worked in a comparable way.

Other machines like the SIGABA and NEMA were different enough that they are not considered true Enigma copies. In 2002, a person in the Netherlands named Tatjana van Vark built a special machine with many parts that could handle letters, numbers, and some symbols. There were also copies made in Japan and electronic versions sold as souvenirs.

Simulators

Main article: List of Enigma machine simulators

There are many tools and programs that let people try out how the Enigma machine worked. These simulators help us understand the history of secret codes and how people tried to keep messages safe a long time ago. You can use these tools to see how difficult it was to break the codes made by the Enigma machine.

Images

Close-up of Enigma machine rotors showing how electrical contacts and the stepping mechanism work.
Diagram showing how the rotors of the Enigma machine turn and shift positions during encryption
The inner workings of the Enigma cipher machine, an important historical device used for secret communication.
A close-up of the plugboard from an Enigma machine, showing how letters were swapped for secret coding during wartime.
A historical printing device used with the Enigma machine, showing how messages could be recorded automatically.
A close-up of mechanical parts from the Enigma machine, an important historical device used for encoding messages.
A historical key sheet for the German Enigma cipher machine used during World War II, showing daily settings for rotor order, ring settings, and jumper connections.
A close-up of the rotor wheels and windows of the Enigma machine, showing how operators could set and read the rotor positions.
Historical mechanical parts of an Enigma encryption machine.

Related articles

This article is a child-friendly adaptation of the Wikipedia article on Enigma machine, available under CC BY-SA 4.0.

Images from Wikimedia Commons. Tap any image to view credits and license.