Read the story
Any ship that sailed into Alexandria's harbor faced an unusual customs search. If there were books aboard, the king wanted them.
So, at least, the physician Galen told it. Under Ptolemy II, books found on arriving ships were carried to the library and copied by official scribes. The owners got the copies. The originals stayed.
The library belonged to the Mouseion, a house of the Muses in the royal quarter beside the Great Harbor. It took shape under the early Ptolemies. Its scholars drew state salaries, paid no taxes, and ate at a common table. Euclid, who lived in Alexandria around 300 BC, is thought to have been among the first.
Galen says Ptolemy III borrowed Athens's original manuscripts of Aeschylus, Sophocles, and Euripides against a deposit of fifteen talents. He sent back copies, kept the originals, and let Athens keep the money.
The poet Callimachus compiled the Pinakes, a catalogue of authors and their works running to 120 books, often called the first library catalogue. Eratosthenes, a later head librarian, calculated the circumference of the Earth.
How many scrolls? Estimates run from 40,000 to 700,000.
Nor does anyone know exactly how it ended. In 48 BC, Julius Caesar's soldiers set ships ablaze at the docks, and the fire spread. Seneca, quoting Livy, counted 40,000 scrolls lost, but scholars think the flames took warehouses near the docks, not the library itself. Strabo visited the Mouseion around 20 BC.
The real damage came in slower blows. In 145 BC, Ptolemy VIII had already driven foreign scholars out. Roman rulers largely ignored the place. In 272 AD, Aurelian's forces wrecked the royal quarter, and mentions of the Mouseion fall silent. The famous tale of a caliph burning the books surfaces some 500 years after the Arab conquest.
Historian Roger Bagnall calls it a murder mystery with a number of suspects. The likeliest answer is the least dramatic: a library starved, not stormed.