Marian Rejewski
- From mathematics to cryptology
- Breaking Enigma
- War, evacuation, and exile
- Return to Poland and recognition
Marian Rejewski helped solve one of the most important cryptographic problems of the Second World War before most of the world knew his name. Using mathematical reasoning, he reconstructed the wiring of Germany’s military Enigma machine and helped build methods that let Polish codebreakers read encrypted messages. In 1939, as war approached, he and his colleagues shared their work with Britain and France, giving Allied codebreaking a crucial head start.
From mathematics to cryptology
Rejewski was born on August 16, 1905, in Bromberg, then part of the German Empire and now the Polish city of Bydgoszcz. He studied mathematics at the University of Poznań, where he joined a secret cryptology course organized with the Polish Cipher Bureau. Fellow students included Henryk Zygalski and Jerzy Różycki, who would become his close collaborators.
After completing his studies, Rejewski worked at the university and then moved to Warsaw. In September 1932, he began working full-time at the Cipher Bureau, the Polish General Staff’s organization for military codebreaking. He was assigned to the German section and given access to intercepted messages, limited information from French intelligence, and a commercial Enigma machine. The German military version differed from the commercial model, but Rejewski used mathematics to infer its internal connections.
Breaking Enigma
By the end of 1932, Rejewski had reconstructed the wiring of the German military Enigma and helped decipher the first messages. His achievement was not a matter of guessing words by hand. He applied permutation theory and statistical patterns to the machine’s changing rotor settings, turning a seemingly impossible code into a problem that could be attacked systematically.
Working with Zygalski and Różycki, he developed tools to keep pace as German procedures changed. These included the cyclometer, the Polish cryptologic bomb, and Zygalski’s perforated sheets. The machines and methods were devised by a team, with Rejewski’s reconstruction forming a foundation for their work. In the years before the war, the team repeatedly adapted its approach as German security measures became more complex.
On July 25, 1939, with Germany’s threat to Poland growing, the Cipher Bureau hosted British and French representatives at Pyry, outside Warsaw. The Poles explained how they had attacked Enigma and shared replicas, technical information, and examples of their equipment. The meeting transformed the Allies’ understanding of what was possible and gave them the Polish methods to build upon.
War, evacuation, and exile
After Germany invaded Poland in September 1939, Rejewski and other Cipher Bureau staff evacuated through Romania and reached France. There, at the French-Polish intelligence center known as PC Bruno, Rejewski and his colleagues resumed work on German ciphers. When France fell in 1940, they escaped to Vichy-controlled southern France and continued operating under the Cadix cover name.
The danger grew as German forces occupied the region. In 1942, Różycki died when a ship carrying him and other Polish personnel sank in the Mediterranean. Rejewski and Zygalski later crossed the Pyrenees into Spain while trying to reach Britain. They were detained and spent months in Spanish prisons before making their way to Britain in 1943. Rejewski served with the Polish armed forces there and continued cryptologic work for the Allied cause.
Return to Poland and recognition
In 1946, Rejewski returned to Poland to reunite with his wife and children. He found work in business and industry rather than returning to academic mathematics. Because his wartime work remained secret, he lived for years without public recognition. He prepared an account of his Cipher Bureau service in the late 1960s, and his contribution became more widely known as the history of Allied codebreaking emerged.
Rejewski died in Warsaw on February 13, 1980. His achievement is now recognized as the first successful reconstruction of the German military Enigma machine. The British and American codebreaking effort at Bletchley Park later expanded far beyond what the Polish team had been able to do, but it began from a foundation built in Warsaw. Rejewski’s story is also a reminder that the Allied intelligence effort was international, and that Polish mathematicians played a decisive role before the war even began.





