Skip to content

History and stories

The beer barrel letters that cost a queen her head

In 1586, a captive queen thought she had found a safe way to send coded letters. The people she trusted to carry them worked for the other side.

1 min readStory

The short version

Mary, Queen of Scots trusted a secret mail route and a cipher. Her enemies built the route and read every letter.

The story

Mary, Queen of Scots had been held prisoner in England for years. Her supporters, led by a young man named Anthony Babington, wanted to free her and put her on the throne in place of Queen Elizabeth I.

Mary was cut off from outside letters. Then a new route appeared: messages could travel in a watertight box hidden inside the beer barrels delivered to the house where she was held. Her letters were written in cipher, so even if someone found them, they would make no sense.

The route was a trap. It had been set up by Francis Walsingham, Elizabeth’s spymaster, using a double agent named Gilbert Gifford. Every letter was taken out, copied and decoded by Walsingham’s codebreaker, Thomas Phelippes, then resealed and sent on as if nothing had happened.

In July 1586, Mary wrote back to Babington approving the plan, including the killing of Elizabeth. Phelippes decoded it. Walsingham even had a forged postscript added, asking for the names of the conspirators. The plotters were arrested, and Mary was tried and executed in February 1587.

Why it mattered

It is one of the clearest early examples of what is now called a man-in-the-middle attack. The letters were read, copied and even altered on the way, and neither side noticed. The cipher was broken too, but the deeper weakness was the delivery route, because the enemy controlled it.

The lesson today

Mary trusted the cipher and never questioned the delivery route. Today’s version is an email that looks like it comes through the usual channel, or a login page that sits between you and the real site. Strong encryption does not help if someone else controls the path the message travels.

All case files

Talk to us about your technology

Tell us what you run today and what is getting in the way. We will get back to you about how we can help.

Customize cookies

Choose which cookies this site may use. You can change this at any time from Cookie settings at the bottom of every page.