The Shortest War in History Lasted 38 Minutes
A British naval squadron, a defiant prince, and a war that ended before breakfast was cold.
The Zanzibar Revolution lasted 38 minutes, but it was packed with enough drama to qualify as a whole season. One day, Zanzibar had a sultan the British liked, the next day the palace had a new ruler, and the British Royal Navy was already lined up in the harbor.
It gets messy fast because Zanzibar was not fully independent. Under the Heligoland-Zanzibar Treaty, Britain controlled the protectorate while letting the island keep a sultan, as long as Britain approved him. When pro-British Sultan Hamad bin Thuwaini died suddenly on August 25, 1896, everyone’s eyes went straight to his cousin Khalid bin Barghash, who moved into the palace within hours and declared himself sultan without asking permission.
Then came the ultimatum, the clock, and the gunfire at 9 a.m. sharp.
How the Shortest War in History Started
Zanzibar in 1896 was a British protectorate. It had become one in 1890 under the Heligoland-Zanzibar Treaty, which divided British and German colonial influence in East Africa and handed Zanzibar to Britain in exchange for Heligoland in the North Sea. The British set up a system where Zanzibar still had its own sultan, but only a sultan they approved.
The pro-British Sultan Hamad bin Thuwaini had run the place quietly since 1893. On August 25, 1896, he died suddenly at the age of 39. Cause of death was officially undetermined. Many suspected poisoning by his cousin, Khalid bin Barghash, who was waiting in the wings.
Within hours of Hamad's death, Khalid moved into the royal palace and declared himself the new sultan. He had not asked the British, and the British were the ones who got to decide.
Britain's response was an ultimatum. Khalid had until 9 a.m. on August 27 to vacate the palace. If he didn't, the Royal Navy ships sitting in Zanzibar's harbor would open fire. Khalid spent the intervening day calling up roughly 2,800 men, plus several cannons and a single ageing royal yacht, the HHS Glasgow. He thought he could hold. He couldn't.
magnific
That quick move by Khalid, right after Hamad bin Thuwaini’s death, is exactly what lit the fuse for the British ultimatum.
What Happened in 38 Minutes
At 9 a.m. sharp, the ultimatum expired. At 9:02, the British cruisers HMS Racoon, HMS Thrush, and HMS Sparrow opened fire on the palace. The smaller boat HMS St George and HMS Philomel joined.
Zanzibar's wooden palace, packed with Khalid's loyalists, was not built to take artillery. Within minutes, sections of it were on fire. The HHS Glasgow returned fire briefly, scored one shot, and was sunk by the British within minutes.
The Zanzibari shore battery managed a few rounds before being destroyed. Khalid's gunners had old equipment, and the gap in firepower was the gap between 1820s and 1890s naval technology, which is a long way in seventy years.
Khalid escaped through a side exit and fled to the German consulate, where he claimed asylum. By 9:40 a.m., the palace flag was down. The shelling stopped. The war was over.historic-uk.com/HistoryUK/HistoryofBritain/The-Shortest-War-in-History/" rel="noopener noreferrer" target="_blank">the Historic UK summary of the conflict, the disproportionate casualty count, around 500 Zanzibaris killed or wounded against one wounded British sailor, was mostly the result of high-explosive shells detonating inside the lightly-built palace. The structure couldn't absorb modern naval ordnance, and the men inside had nowhere to go.
This is one of those events that turn up constantly in lists of obscure historical facts because the numbers sound made up. They aren't. The Anglo-Zanzibar War is in Britannica, the British Online Archives, and the Imperial War Museum collections.
What Came After
The British installed Hamoud bin Mohammed as sultan within days. Hamoud was pliable and pro-British, which was the entire point. He ruled until 1902, and one of his early acts, under British pressure, was a decree on April 6, 1897, that abolished slavery throughout Zanzibar.
This was the bigger picture the British actually cared about. Zanzibar had been one of the largest slave markets on the African continent for centuries, with most of the trade flowing across the Indian Ocean to the Persian Gulf and the Arabian Peninsula. Britain had been pressuring local rulers to end the trade for decades. Khalid was seen as more sympathetic to the slave-trading elite. Removing him removed an obstacle.
Khalid himself spent years in exile. He was eventually captured by the British in 1916 during the East African campaign of the First World War and held as a prisoner. He died in 1927 in Mombasa, still claiming the throne of Zanzibar that he had held for two days in 1896.
Stories like this are the reason lesser-known historical episodes sometimes outsize their footprint. A 38-minute war reshaped East African political and economic life for the next half-century. The brevity didn't make the consequences smaller.
magnific
By the time Khalid had rounded up about 2,800 men, plus cannons and the ageing HHS Glasgow, the British ships were already sitting in Zanzibar’s harbor.
It’s hard not to think about the North Sentinel Island tribe that rejected every contact attempt.
At 9:02, when HMS Racoon, HMS Thrush, and HMS Sparrow opened fire on the palace, the whole plan went from bold to instantly hopeless.
The Second Shortest War in History
There is no clean consensus on what counts as the second-shortest war, because the gap between Anglo-Zanzibar and everything else is enormous.
The Six-Day War of June 1967, fought between Israel and a coalition of Egypt, Jordan, and Syria, lasted six days. By minutes-and-hours standards that is not short, but by war standards it is, and it is often cited as the second shortest. The Indo-Pakistani War of 1971 lasted 13 days and ended with the largest military surrender since the Second World War, about 93,000 Pakistani troops laying down arms.
The Serbo-Bulgarian War of 1885 lasted about 14 days. The Georgian-Armenian War of 1918 lasted 24 days. These are all minor wars by global standards, but they sit at the short end of the spectrum, and they are the closest thing the modern era has to a peer for Anglo-Zanzibar.
None of them come anywhere near 38 minutes.
And once Khalid slipped out, ran to the German consulate for asylum, and the palace flag was left in chaos, the “shortest war” was basically over before it really began.
Why the Shortest War in History Still Matters
Anglo-Zanzibar is more than a trivia answer. It is one of the clearest snapshots of late-Victorian imperial power, the moment when the gap between a major industrial empire and a small protectorate had become so wide that a war could be resolved by a coffee break. It shows how thin the line was between "diplomacy" and "shelling the palace" in 1896.
It also marks the end of any pretense of Zanzibari independence under the British protectorate. From 1896 onward, sultans served at British pleasure.
The fact that it shows up in history memes and pub-quiz answers obscures how much it actually changed. Forty-five minutes of naval bombardment reset the political map of East Africa's most strategic island.
The longest war in history took 781 years to finish. The shortest one took 38 minutes. Both of them changed everything for the people who lived through them.
Khalid wanted the crown, but the British wanted control, and the palace paid the price.
Want a real contrast in timelines, read how one war outlasted dynasties for 781 years.