The Shortest War in History Lasted 38 Minutes — and It Happened in Zanzibar

Written on 08/27/2026
Zanzibar App Team


pic. By Fred T. Jane - The Illustrated London News, Public Domain, https://commons.wikimedia.org/w/index.php?curid=99602482


What is the shortest war in history — and why did it happen on Zanzibar?

On 27 August 1896, Zanzibar fought and lost a war in the time it takes to eat breakfast. The Anglo-Zanzibar War lasted just 38 minutes — officially the shortest war in recorded history — and it played out right where Stone Town's waterfront stands today, a short walk from where dhow cruises now leave at sunset.

What sparked the war?

The trigger was a succession dispute. Zanzibar's pro-British Sultan, Hamad bin Thuwaini, died suddenly on 25 August 1896. Within hours, his cousin Khalid bin Barghash occupied the palace and declared himself Sultan without the British government's required approval under Zanzibar's 1890 protectorate treaty. The British consul, Basil Cave, gave Khalid an ultimatum: stand down by 9 a.m. on 27 August, or face bombardment. Khalid refused and barricaded himself inside the palace with roughly 2,800 defenders, mostly palace guards and armed civilians.

How did it end in under 40 minutes?

At 9:02 a.m., Royal Navy warships anchored in the harbour — including HMS Racoon, Thrush, Sparrow, St George and Philomel — opened fire on the Sultan's palace, Beit al-Hukm, and the adjoining Beit al-Ajaib (House of Wonders). The wooden palace structure caught fire almost immediately, and the Sultan's royal yacht, HHS Glasgow, was sunk in the harbour along with two smaller steam launches. Rear-Admiral Harry Rawson called a ceasefire at 9:40 a.m., once the palace's flag came down. Zanzibari losses were heavy for such a short engagement — around 500 killed or wounded — while the British side reported a single injured sailor. Khalid slipped out during the bombardment and took refuge in the German consulate, later escaping to German East Africa, on the mainland that is Tanzania today.

What happened to Zanzibar afterwards?

The British installed Hamoud bin Muhammed as the new Sultan that same day, on the condition that he abolish slavery in Zanzibar — which he did within months. Zanzibar kept its Sultanate in name for decades afterward, but real power now sat firmly with the British resident. It's a strange footnote to a war remembered today mostly for its length, even though its consequences for who really ran the island were considerable.

Can you still see where it happened?

Yes — the site sits right on Stone Town's waterfront, near Forodhani Gardens. The House of Wonders (Beit al-Ajaib), the grand clock-towered building that took direct fire that morning, partially collapsed during restoration work in 2020 and has been under reconstruction since — worth checking locally before planning a visit inside. The surrounding waterfront is the same stretch that hosts Forodhani's evening night market today. Walking it with dhows bobbing in the harbour and food stalls setting up for the evening, it's hard to picture the 38 minutes that changed who really ran the island.

Planning a Stone Town evening? Check Events for what's happening around the old town this week, and browse our guide for more of Zanzibar's history and practical tips.