Could monkeys really type the complete works of Shakespeare?

The infinite monkey theorem is a fun thought experiment, but does it actually apply to our finite world?

an illustration of many colorful monkeys typing on typewriters
The infinite monkey theorem says that, given enough time, monkeys could randomly replicate the works of Shakespeare. But is it really true?
(Image credit: tombie via Getty Images)

Given an infinite amount of time, an infinite number of monkeys randomly prodding keys on a typewriter could, in theory, eventually replicate the works of William Shakespeare. At least, that's what a thought experiment called the infinite monkey theorem states.

The infinite monkey theorem was first proposed by mathematician Émile Borel in 1913, and it's been a popular way to understand randomness and probability for decades. But could a monkey really type out Shakespeare?

Marilyn Perkins
Content Manager

Marilyn Perkins is the content manager at Live Science. She is a science writer and illustrator based in Los Angeles, California. She received her master’s degree in science writing from Johns Hopkins and her bachelor's degree in neuroscience from Pomona College. Her work has been featured in publications including New Scientist, the Johns Hopkins Bloomberg School of Public Health magazine and Penn Today, and she was the recipient of the 2024 National Association of Science Writers Excellence in Institutional Writing Award, short-form category.