The Anglo-Zanzibar War: How History's Shortest War Was Over Before Breakfast
On an August morning in 1896, Royal Navy warships opened fire on a palace in Zanzibar. Less than three-quarters of an hour later the war was over. Here is how it happened and why it mattered.
AI-assisted, editorially reviewedHow we work
Key points
- The Anglo-Zanzibar War was fought on 27 August 1896 and is generally considered the shortest war in recorded history.
- It began after Khalid bin Barghash seized the throne without British approval.
- British warships bombarded the palace from about 09:02 until about 09:40.
- Around 500 Zanzibari defenders were killed or wounded; one British sailor was injured.
- Sources give durations of 38, 40 or 45 minutes depending on how the start and end are counted.
Some wars last a hundred years. One, famously, lasted less than an hour. On the morning of 27 August 1896, British warships shelled the sultan's palace in Zanzibar, and by mid-morning the shooting had stopped. Historic UK calls it the shortest war in history. Behind the trivia-quiz fame lies a revealing story about empire in East Africa.
Where is Zanzibar, and why did Britain care?
Zanzibar is an island a few kilometres off the coast of what is now Tanzania. In the 19th century it was a boom town: well placed for trade with India and the Middle East, rich in commercially valuable spices, and a stopping point for slave ships. Its sultanate had grown out of Omani rule, and Britain saw the advantages of keeping a friendly sultan on the throne.
How did Zanzibar come under British influence?
Under the Heligoland-Zanzibar Treaty of 1890, Britain and Germany divided their spheres of influence in East Africa, with Zanzibar falling to Britain. It became a British protectorate that same year, while the sultan nominally kept his sovereignty. Britain backed Hamad bin Thuwaini, who became sultan in 1893.
Read more
What started the war?
Hamad died suddenly in his palace on 25 August 1896. Within hours his cousin, Khalid bin Barghash, moved into the palace and declared himself sultan without British approval. Historic UK notes that it was widely believed, though never proven, that Khalid had Hamad poisoned. The chief British diplomat, Basil Cave, told Khalid to stand down; instead, Khalid gathered almost 3,000 armed men around the palace.
Was there an ultimatum?
Yes. Britain's Foreign Office authorised Cave to take whatever measures he considered necessary, as long as he was sure they would succeed. More warships arrived, including HMS St George with Rear-Admiral Harry Rawson aboard. The final ultimatum demanded that Khalid leave the palace by 9 o'clock on the morning of 27 August. An hour before it expired, he replied that he did not believe the British would open fire.
What happened when the deadline passed?
The ships opened fire at about 09:02. Within minutes most of the defenders' artillery had been destroyed and the palace's wooden structure began to collapse. The British also sank the sultan's royal yacht, the Glasgow, and two smaller boats. Khalid is said to have slipped out of the back of the palace soon after the shelling began.
So how long did the war actually last?
The shelling stopped and the sultan's flag came down at about 09:40, which gives the famous figure of 38 minutes. History Hit gives a range of 38 to 45 minutes, depending on the source. Wikipedia explains the confusion: some accounts start the clock with the order to fire at 09:00 and others with the first shots at 09:02, while the ships' own logbooks record the end at times between 09:35 and 09:45.
How many people died?
For such a short war, the toll was heavy. More than 500 of Khalid's defenders were killed or wounded, many because high-explosive shells struck the flimsy palace buildings. Wikipedia's summary notes that civilians were among the casualties. On the British side, a single petty officer was badly injured and later recovered.
What happened to Khalid?
He escaped to the German consulate, and despite British demands for his extradition, the German navy smuggled him to the mainland on 2 October 1896. British forces finally captured him in 1916 during the East African campaign of the First World War. After exile, he was allowed to return to East Africa and died in 1927.
What changed in Zanzibar afterwards?
Britain installed the pro-British Hamud as sultan, and he ruled as a figurehead for an essentially British-run government. Khalid's supporters were made to pay for the shells fired at them and for damage from looting. Several months after the war, under British pressure, Hamud abolished slavery in Zanzibar, although emancipation proved slow.
More than a trivia question
The war is usually told as a joke about Victorian efficiency. History Hit's podcast guest, historian Erik Gilbert, frames it instead as a conflict that signalled European powers beginning to carve up Africa for themselves. The bombardment was gunboat diplomacy in its purest form: a demonstration that the protectorate's sovereignty ended where British interests began.
Exact times differ between accounts. The figure of 38 minutes is the most often quoted, but 40 and 45 minutes also appear, and every version depends on when you decide the war started and stopped.
The daily briefing
The day's most important stories in your inbox, every morning.
Related

The Great Emu War: How Australia Sent Machine Guns Against Birds, and Lost

The Great Stink: How One Foul Summer Forced London to Build Its Sewers

9 Everyday Details From Pompeii That Bring a Roman Town Back to Life

