Strange but True · Published October 5, 2026

August 27, 1896: The Anglo-Zanzibar War, the Shortest War on Record

By TodayInHistory.wtf Editorial Desk. Reviewed by TodayInHistory.wtf Editorial Standards.

At 9 a.m. on August 27, 1896, British warships in the harbor at Zanzibar opened fire on the sultan's palace. Well under an hour later, the firing stopped, the palace was in ruins, and the man who had claimed the throne two days earlier was hiding in the German consulate.

The Anglo-Zanzibar War is usually called the shortest war in recorded history. On that much, the sources agree. Where they part company, sometimes by several minutes, is on how long it actually lasted, and they do not line up on the casualty figures either.

A protectorate in name

By 1896 Zanzibar was a sultanate in form and a British protectorate in practice. Britannica explains that "By 1890 Britain had convinced the sultanate to cede its mainland territories to Germany while allowing the island itself to become a protectorate of the British Empire. Britain agreed to preserve the sultanate as an institution, but it stressed that the power of the sultan was nominal."

Britain's priorities there, according to Britannica, were "the abolition of slavery and the restoration of the island's strong mercantile economy." The slavery policy in particular angered Zanzibar's merchants, because slavery "had become integral to their way of life as spice plantations surged in value throughout the 19th century."

A death and a seizure

It started with a death. The Historical Association puts it plainly: "The immediate cause of the war was the death of the Sultan of Zanzibar, Hamad bin Thuwaini on the 25 August. His nephew, Khalid bin Bargash, seized power, but he was regarded by the British as far too independent. They preferred Hamud bin Muhammed."

Under the protectorate, though, that choice was not Khalid's to make. History Today describes how "The consul reminded him that all new appointments were subject to approval from the British under the terms of a protection treaty. Instead of demurely backing down, Khalid bin Barghash barricaded himself in the palace with around 2,800 defenders."

Britannica gives a similar figure, saying Khalid "surrounded the palace with nearly 3,000 of the sultan's personal soldiers and supporters." It also points out that this was his second attempt. He had occupied the palace once before, after an earlier sultan died in 1893, and "British authorities were able to convince Khālid to stand down."

The ultimatum

This time the British showed up with ships. History Today describes "three cruisers, two gunboats, 150 marines and sailors and 900 Zanzibari soldiers" gathered in the harbor. Britannica says "Five powerful Royal Navy vessels were also in the harbor," and that Basil Cave assembled "a force of 400 Zanzibari loyalists and a contingent of British marines; some sources estimate up to 900 Zanzibari combatants."

Khalid was not entirely unarmed. History Today lists his artillery as "a handful of Maxim guns, a Gatling gun, a 17th-century bronze cannon and two 12-pounder field guns." He also had a navy of sorts: the armed royal yacht Glasgow.

According to Britannica, "Rear Admiral Harry Rawson of HMS St. George sent an ultimatum to Khālid, instructing him and his troops to exit the palace grounds and surrender their arms by 9:00 am on August 27 or succumb to British firepower. Khālid refused, believing that the British would not follow through with their threat."

History Today adds a last exchange that morning: "a message came at 8am on 27 August from the palace asking for a parley. The British refused unless the terms of the ultimatum were agreed to. Khalid replied that he did not believe the British would open fire."

The bombardment

He was wrong. In Britannica's words: "True to his word, at 9:00 am Rawson ordered HMS Racoon, Thrush, and Sparrow to open fire on the palace, which was quickly engulfed in flames."

The Glasgow fired back, though not for long. "Although the Glasgow fired on the St. George in retaliation, Rawson handily dispatched the yacht," Britannica says. History Today notes that the yacht "was sunk and its crew rescued. Its masts could be seen above the harbour waterline for the next 18 years."

History Today puts the end of the firing at 9:40: "Firing ceased at 9.40 and Khalid surrendered."

How long was it, exactly?

This is where the sources disagree, and the details of that disagreement matter.

Every source agrees it was under an hour. The famous "38 minutes" is one reasonable answer, but it is not the only one.

The casualties

The figures here are lopsided in every account, but the sources do not describe them the same way.

"Casualties" and "killed or wounded" include the injured. The Historical Association's figure counts only deaths. We cannot tell from these sources which is right, so the safest summary is that around 500 of Khalid's side were killed or wounded, against one injured British serviceman.

The aftermath

Britannica says "In the confusion, he sought refuge in the German consulate." The Historical Association adds that he "was quickly and in secret shipped out of the country."

Britain's preferred candidate was on the throne by the end of the day. "By that same afternoon, Ḥamud ibn Moḥammed had been named sultan of Zanzibar," Britannica reports. He "promptly agreed to all British terms regarding his position and accepted without question the British demands concerning the abolition of slavery."

Khalid went on to live in exile. According to Britannica's scholars' edition of the same article, "The Germans permitted Khālid to live in exile on the mainland in Dar es Salaam, where he remained until he was arrested by the British during World War I. Khālid died in Mombasa in 1927."

Why it is remembered

The Anglo-Zanzibar War mostly survives as a piece of trivia, and its length is the punchline. The Historical Association offers a less comfortable reading, calling it "just another successful example of Britain getting its way and making sure the 'informal empire' worked in Britain's interests rather than, in this case, the interests of the Zanzibar ruler."

Both things are true. It was very short, yes. It also killed or wounded hundreds of people over who would sit on a throne that Britain had already declared to be mostly ceremonial.

What the record supports

Sources