Alan Turing helped end the Second World War. He invented the field of computer science. He imagined the first thinking machine. And in 1952, the country he saved arrested him for the simple fact of being gay. This is his real story, told straight.
★ Alan Turing at a Glance
| Born | June 23, 1912, Maida Vale, London |
| Died | June 7, 1954, Wilmslow, Cheshire (age 41) |
| Famous for | Breaking the Enigma code, founding computer science, the Turing Test |
| Arrested | 1952, charged with "gross indecency" for a relationship with a man |
| Pardoned | 2013, by Queen Elizabeth II (59 years after his death) |
| Today | His face is on the British 50 pound note |
Who Was Alan Turing?
Alan Mathison Turing was a British mathematician, logician, and cryptanalyst who is now considered the father of theoretical computer science and artificial intelligence. He was born in 1912 in London, raised in part by family friends while his parents lived in colonial India, and shipped off to boarding school at thirteen.
By the time he reached King's College, Cambridge, in 1931, his teachers had figured out something the rest of the world would take decades to catch up to. He thought differently. Where other mathematicians saw problems, he saw machines. Where they reached for proofs, he reached for processes. He was 22 when he wrote the paper that invented the modern computer.
That paper was titled On Computable Numbers, with an Application to the Entscheidungsproblem. It described a hypothetical device, now called a Turing machine, that could in principle compute anything a computer can compute. Every laptop, phone, and server humming on the planet right now is a physical version of the idea Turing wrote down in 1936.
He was also a long-distance runner who almost qualified for the 1948 Olympic marathon team. He was a chess player who never quite became a master. He was awkward at dinner parties and apparently bit his nails. And from the time he understood what the word meant, he knew he was gay. In England in the 1930s, that was a fact you carried like a live grenade.
Breaking Enigma at Bletchley Park
When Britain declared war on Germany in September 1939, Turing was already on a list. The Government Code and Cypher School had identified the best mathematical minds in the country and put them on standby. The day after war was declared, Turing reported to a country estate called Bletchley Park, about 50 miles north of London. He would spend the next six years there.
The Germans were using a cipher machine called Enigma to scramble their military communications. The British called Enigma unbreakable. The Polish had partially cracked an older version before the war and quietly handed their work to the British in 1939, but the Germans kept making the machine more complex. By 1940 the standard naval Enigma had about 158 quintillion possible settings per message. The settings changed every day at midnight.
Turing did not single-handedly break Enigma. That myth needs to die. What he did, with a team that included mathematician Gordon Welchman, was design the machine that broke it. The Bombe, as it was called, was an electromechanical monster the size of a small car that could test thousands of possible Enigma settings every hour. By 1942 the Bombes were reading German naval traffic in something close to real time.
Historians estimate that Bletchley Park's work shortened the war by two to four years and saved somewhere between 14 and 21 million lives. The decision to keep all of this secret for thirty years after the war is part of why Turing died without anyone outside a small circle understanding what he had done.
The Turing Machine and the Turing Test
If Bletchley Park made him a war hero, his theoretical work made him an immortal. Two of his ideas, taken together, basically founded modern computing.
The Turing machine, from his 1936 paper, was a thought experiment. Picture an infinite paper tape, a head that can read and write symbols on the tape, and a small rulebook that tells the head what to do next based on the symbol it sees. That is it. Turing proved that any calculation that can be carried out by a clear set of rules can be carried out by this machine. He had, in a single paper, defined what computation actually is.
His other big idea came in 1950. The paper was called Computing Machinery and Intelligence, and it opened with a question. Can machines think? Turing thought the question was poorly framed, so he proposed a test instead. Put a person in a room with two terminals. One is connected to a human, one is connected to a computer. If the person cannot reliably tell which is which after a real conversation, the machine, for all practical purposes, can think.
That test is the Turing Test, and 76 years later it is still the rough yardstick people reach for when they argue about artificial intelligence. Every time someone asks whether a chatbot is "really" thinking, they are arguing inside the frame Alan Turing built in 1950.
|
14M+ Lives historians estimate were saved by the codebreaking work Turing led at Bletchley Park. |
The 1952 Arrest
In December 1951, Turing met a 19 year old named Arnold Murray outside a cinema in Manchester. The two had a brief relationship. In January 1952, Turing's house was burgled by an associate of Murray's. Turing reported the burglary to the police. During the interview, he mentioned that he had been in a relationship with Murray.
That admission was a crime. Under Section 11 of the Criminal Law Amendment Act of 1885, any sexual act between men, in any place, public or private, was illegal in the United Kingdom. The law was sometimes called the "blackmailer's charter" because of how easily it was used to extort gay men. The same statute had been used to imprison Oscar Wilde in 1895.
Turing was charged with "gross indecency." He pleaded guilty on the advice of his lawyer, who told him a trial would be worse. At sentencing, he was given a choice. Prison or probation with chemical treatment. He chose the chemical treatment so he could keep working.
The treatment was a year of injections of synthetic estrogen, intended to chemically reduce his sex drive. It is now called chemical castration. It made him impotent, caused painful breast growth, and altered his body shape. He continued working through it. His security clearance was revoked. The British government decided that a man with a "homosexual disposition" could not be trusted around state secrets, so the war hero who had read Hitler's mail was kept out of the rooms he had built.
How Alan Turing Died
On June 8, 1954, Turing's housekeeper found him dead in bed at his home in Wilmslow. He was 41. Beside him was a half-eaten apple. The coroner ruled the death a suicide by cyanide poisoning. The standard story for decades was that he had laced the apple with cyanide and bitten into it as a quiet, deliberate exit.
Some scholars now argue the death may have been an accident. Turing had been using cyanide for electroplating experiments in a small home laboratory and was known to be careless with chemicals. His mother believed the death was accidental. The apple was never tested for cyanide. The coroner did not require it.
Either way, he died alone. Either way, the country he had given his best years to had spent the previous two punishing him for being gay. The persistent folklore that the bitten Apple Computer logo is a tribute to him is, sadly, not true. The logo's designer has said it was just easier to draw an apple with a bite than without. But the symbol stuck for a reason. The apple feels like the right shape for what was lost.
The Long Path to an Apology
Nothing happened for 55 years. The Official Secrets Act kept his war work classified until the 1970s. His personal life had been buried with him. In 2009, a British computer scientist named John Graham-Cumming started a petition demanding an official apology. It picked up 30,000 signatures.
Then Prime Minister Gordon Brown answered. In an article published in The Telegraph on September 10, 2009, Brown wrote: "On behalf of the British government, and all those who live freely thanks to Alan's work I am very proud to say: we're sorry, you deserved so much better."
That was the apology. It was not the pardon. Pardons in the UK can only be granted by the monarch, on the advice of the Justice Secretary, and the threshold is high. Campaigners spent another four years pushing for one.
On December 24, 2013, Queen Elizabeth II issued Turing a royal pardon under the Royal Prerogative of Mercy. It was only the fourth royal pardon issued in the 20th and 21st centuries. The Justice Secretary at the time, Chris Grayling, said the pardon was "a fitting tribute to an exceptional man."
Then came Turing's Law. In 2017, the UK Parliament passed an amnesty law that retroactively pardoned an estimated 65,000 men, living and dead, who had been convicted under the same anti-gay laws that destroyed Turing. About 15,000 of those men were still alive in 2017. Britain finally said, in writing, that what it had done was a crime against its own people.
|
Featured Product LGBTQ+ Pride Flag The rainbow Turing never lived to see. Six bold stripes that say what his country could not, until decades after his death. Hang it where he never could. Shop the Pride Flag → |
Why Alan Turing Is on the 50 Pound Note
In 2019, the Bank of England announced that the new polymer 50 pound note would carry Alan Turing's portrait. The announcement followed a public nomination process that included Stephen Hawking, Mary Anning, and Ada Lovelace among the finalists. Turing won.
The new note entered circulation on June 23, 2021, on what would have been his 109th birthday. The design includes a photograph of Turing from 1951, ticker tape of his 1936 paper, a technical drawing of the Bombe, and a quote from a 1949 interview. The quote reads: "This is only a foretaste of what is to come, and only the shadow of what is going to be."
It is the highest-value note in regular British circulation. Every time one changes hands, a country that hounded him to death pays him a small, late respect. He should not have needed it. He earned it anyway.
Why Alan Turing's Story Matters for Pride
Most LGBTQ+ history posts focus on the activists who shouted. Marsha P. Johnson at Stonewall. Harvey Milk on the steps of City Hall. ACT UP shutting down the FDA. Those stories matter, and they save lives. But Turing matters for a different reason.
He was quiet. He was awkward. He was not part of any movement. He did not march, he did not write manifestos, he did not even fully come out in the modern sense, because the modern sense did not yet exist. He just did the work in front of him, loved the men he loved, and got destroyed for it by the very nation he had saved.
His story is the answer to the people who ask why Pride Month still has to exist. Because the United Kingdom waited 59 years to say sorry to its single greatest scientist. Because the same laws that ended his career were still on the books in 1967. Because the 65,000 men pardoned by Turing's Law in 2017 had been living with criminal records, in some cases, for sixty years. Because progress is recent, fragile, and almost always too late for the people who needed it most.
Turing was robbed of decades of work, of personal happiness, and probably of life itself. The decent thing the rest of us can do is keep his story honest, keep the rainbow flying, and refuse to let anyone tell us that the bad old days were not that bad.
How to Honor Alan Turing Today
You do not need to be a mathematician to keep his memory alive. A few specific things that matter:
| 1 | Visit or virtually tour Bletchley Park. The estate north of London where Turing worked is now a museum and one of the best preserved World War II sites in Europe. Hut 8, where he led the naval Enigma team, is open to the public. The virtual tour at bletchleypark.org.uk is free. |
| 2 | Read his actual writing. His 1950 paper, Computing Machinery and Intelligence, is freely available online and shockingly readable for a 75-year-old computer science paper. He was a clear writer, not just a brilliant thinker. |
| 3 | Watch a real documentary, not just The Imitation Game. The 2014 film is dramatic but takes major liberties with the facts. For the real story, watch the 1992 BBC documentary The Strange Life and Death of Dr Turing or read Andrew Hodges's biography Alan Turing: The Enigma, the book the film was based on. |
| 4 | Support an LGBTQ+ rights organization. Stonewall UK was founded in 1989 to repeal Section 28, the homophobic education law passed under Margaret Thatcher. In the United States, the Human Rights Campaign and Lambda Legal continue the kind of legal fight that protects people like Turing now. Donations on June 23 (his birthday) feel right. |
| 5 | Fly a Pride flag on June 23. His birthday falls a week before the end of Pride Month and is also informally known as Alan Turing Day in tech circles. A rainbow flag in a window, on a porch, or on a desk is the simplest way to mark it. |
|
Featured Product More Pride Less Prejudice Tee A line that sums up what Turing's life was missing and what the years after his pardon finally tried to deliver. Soft cotton tee, sized for everyone. Shop the Tee → |
Common Myths About Alan Turing
MYTH 01
"Alan Turing broke the Enigma code by himself."
He did not. Bletchley Park employed about 9,000 people at its peak, including hundreds of women who ran the Bombe machines around the clock. Turing led the team that designed the breakthrough machine. Gordon Welchman improved it. The Polish Cipher Bureau gave the British a head start. The Wrens at Bletchley made it run.
MYTH 02
"The Apple Computer logo is a tribute to Turing."
It is not. The original Apple logo from 1976 was Isaac Newton sitting under an apple tree. The bitten apple was designed by Rob Janoff in 1977 and the bite was added so the apple would not be mistaken for a cherry. Janoff has confirmed the Turing connection is a coincidence. Lovely story, just not true.
MYTH 03
"He was given a choice between prison and chemical castration."
Close, but worth getting right. The choice was prison or probation. The probation had a condition attached: hormone "treatment" with synthetic estrogen. He chose probation. The hormone regimen was a year long. Calling it chemical castration is accurate. Calling it the only alternative to prison softens what it was.
MYTH 04
"The 2013 pardon undid the conviction."
Not really. A royal pardon under the Prerogative of Mercy does not erase the conviction. It is a formal act of forgiveness for the conviction. The conviction still happened. Some campaigners argued at the time that an apology was more honest, since there was nothing to forgive in the first place.
MYTH 05
"The 1885 law was repealed right after Turing died."
It was not. The Wolfenden Report in 1957 recommended decriminalizing private homosexual acts between consenting adult men. Parliament ignored it for ten years. The Sexual Offences Act of 1967 finally legalized private acts in England and Wales, but only above age 21 and only in private. Scotland did not decriminalize until 1980. Northern Ireland not until 1982. The age of consent was not equalized in the UK until 2001.
None of this is ancient history. People who lived through the law that imprisoned Turing are still alive today. That is part of what makes his story feel close.
Alan Turing FAQ
Was Alan Turing actually openly gay?
Not in the way we use that phrase today. The category of "openly gay" did not really exist in his lifetime. He was honest with close friends and with the police when they asked him directly in 1952. He never lied about it. He also never made it the center of his public identity, partly because the law made that impossible.
How did Alan Turing actually die?
The official cause of death was cyanide poisoning, ruled a suicide at the inquest. A bitten apple was beside his bed. Most historians accept the suicide finding. A minority, including his mother and the scholar Jack Copeland, argue it may have been an accident from careless lab chemistry. The apple was never tested for cyanide, so we will never know for certain.
What is the Turing Test in plain English?
A person sits at a terminal and has a conversation with two unseen partners. One is a human, one is a computer. If the person cannot reliably figure out which is which from the conversation, the computer has passed the test. Turing proposed it in 1950 as a replacement for the unanswerable question "Can machines think?"
When was Alan Turing officially pardoned?
December 24, 2013, by Queen Elizabeth II under the Royal Prerogative of Mercy. The pardon was 59 years after his death and 61 years after his original conviction. In 2017, an act known as Turing's Law extended a similar amnesty to roughly 65,000 other men who had been convicted under the same anti-gay statutes.
Is The Imitation Game an accurate movie?
It is dramatic and emotionally true in places, but it gets a lot of plot wrong. The film invents a Soviet spy subplot, condenses years of teamwork into solo Turing scenes, and softens his relationship with Joan Clarke into something close to a heterosexual romance. The book it is based on, Andrew Hodges's Alan Turing: The Enigma, is much more reliable.
When is Alan Turing Day?
There is no official national holiday for him, but his birthday on June 23 is widely observed by tech communities, LGBTQ+ groups, and computer science departments as an unofficial day of recognition. It falls in the back half of Pride Month, which makes it a natural pairing with other commemorations.
How much did Alan Turing's work shorten World War II?
The most cited estimate, from historians Harry Hinsley and Asa Briggs, is between two and four years. The lives saved figure of 14 to 21 million comes from applying the average wartime casualty rate to those years. The estimates are rough by nature, but every serious historian agrees the work was decisive.
Why is Alan Turing on the 50 pound note?
The Bank of England ran a public nomination process in 2018 to choose a scientist for the new polymer 50 pound note. Turing was selected from a shortlist that included Stephen Hawking, Mary Anning, and Ada Lovelace. The note entered circulation on June 23, 2021, on what would have been his 109th birthday.
If you want to spend more time with the people whose lives connect to Turing's, the Bayard Rustin profile covers another quiet wartime-era genius who was punished for being gay, and the Edie Windsor story is the legal counterweight to a life like Turing's, a queer person who finally got the apology in the courtroom Turing never lived to see. The rainbow flag history traces the symbol that Turing did not live to fly, and the Pride Month 2026 guide is the practical follow-on for everyone reading this in May or June. The full LGBTQ+ history overview places his arrest on the timeline alongside the other turning points.
|
Fly the flag he never could A rainbow Pride flag is a small, daily way of saying what Britain took 59 years to say. Get yours for Pride Month 2026. |