
Zanzibar's fascinating history β Omani sultans, the spice empire, the slave trade, the shortest war ever, revolution, and the sites where this history lives today.
Zanzibar's history is one of the most extraordinary of any island on earth β a story of monsoon trade winds, Omani sultans, the world's worst slave trade, a spice empire, the shortest war in recorded history, and a revolution that overthrew a centuries-old monarchy in a single day. Understanding this history transforms your visit from a beach holiday into something deeper. Every carved door in Stone Town, every crumbling palace, and every spice farm tells a chapter of this story.
Early Settlement (1stβ10th Century)
The earliest inhabitants of Zanzibar were Bantu-speaking peoples who migrated from the African mainland around the 1st millennium AD. They were farmers and fishermen who established small settlements along the coast. Archaeological evidence at sites like Unguja Ukuu (on Zanzibar's southeast coast) shows trade connections with the Persian Gulf, India, and China dating back to at least the 6th century.
By the 8thβ10th century, Zanzibar was part of the Swahili coast trading network β a chain of city-states stretching from Mogadishu to Mozambique. These coastal communities traded ivory, gold, and enslaved people from the interior for cloth, pottery, glass beads, and metalwork from the Arabian Peninsula and India. The Swahili language itself emerged from this cultural exchange β a Bantu language with heavy Arabic and Persian vocabulary.
Persian Shirazi Influence (10thβ15th Century)
Legend holds that Shirazi merchants from Persia (modern Iran) arrived in the 10th century and intermarried with local Bantu populations, creating a mixed Afro-Persian ruling class. While the historical accuracy of the "Shirazi migration" is debated by scholars, the Persian influence is undeniable: in architecture, in cuisine (the biryani and pilau that are now Zanzibar staples), in the Islamic faith that took root, and in the DNA of Zanzibar's population.
During this period, Zanzibar was not yet the dominant power in the region β that role belonged to Kilwa Kisiwani, a city-state further south that controlled the gold trade from Great Zimbabwe. But Zanzibar's natural harbour and central position on the coast made it an increasingly important stop for monsoon-driven trade.
Portuguese Era (1498β1698)
Vasco da Gama's arrival on the East African coast in 1498 changed everything. The Portuguese, seeking to control the lucrative Indian Ocean spice trade, systematically conquered the Swahili coast city-states. Zanzibar fell under Portuguese control by 1503. They built Fort Jesus in Mombasa (1593) and maintained a presence on Zanzibar, though their control was often contested.
The Portuguese period was characterised by extraction rather than development. They imposed taxes on trade, disrupted existing commercial networks, and introduced Christianity (with limited success on the Muslim coast). Their architectural legacy in Zanzibar is minimal β unlike in Mombasa, where Fort Jesus still stands. After nearly 200 years, the Portuguese were expelled from Zanzibar by Omani Arabs in 1698.
Omani Arab Rule (1698β1890)
The Sultanate of Oman had been a maritime power in the Indian Ocean for centuries, and the expulsion of the Portuguese from East Africa brought Zanzibar firmly into the Omani sphere. The pivotal moment came in 1832, when Sultan Seyyid Said moved his entire court from Muscat to Stone Town β making Zanzibar the capital of the Omani Empire.
The Spice Empire
Sultan Said transformed Zanzibar into the world's largest clove producer, ordering plantations established across Unguja and Pemba Island. Within decades, Zanzibar supplied over 90% of the world's cloves. The spice wealth financed the construction of Stone Town's grand merchant houses, the Sultan's palaces, and a thriving cosmopolitan city. Visit a spice farm today to see the living legacy.
The Slave Trade
The darkest chapter in Zanzibar's history is inseparable from its most prosperous. The same trade winds that carried spices to the world also carried enslaved people. Zanzibar was the centre of the East African slave trade from the 17th to 19th centuries. At its peak in the mid-1800s, an estimated 50,000 enslaved people passed through Zanzibar's markets annually.
Enslaved men, women, and children were captured from the interior of the African continent β from as far as present-day Congo, Malawi, and Mozambique β and marched to the coast in coffles (chained groups). Many died on the journey. Those who survived were brought to Zanzibar, held in underground chambers, and sold at public auction. They were sent to clove plantations on Zanzibar and Pemba, to Oman and the Persian Gulf, and to plantations across the Indian Ocean world.
The slave market operated openly in Stone Town until 1873, when Sultan Barghash was pressured by the British to close it. The Anglican Cathedral (Christ Church) was deliberately built on the site of the former market β its altar stands on the exact spot of the whipping post where enslaved people were beaten to demonstrate their "resilience" to potential buyers. The underground chambers where people were held can still be visited β a sobering, essential experience.
British Protectorate (1890β1963)
Britain declared Zanzibar a protectorate in 1890, maintaining the Sultan as a figurehead while exercising real control. The British period saw the abolition of slavery (formally in 1897, though it persisted underground for years), the construction of roads and basic infrastructure, and the introduction of modern education.
The Shortest War in History
When Sultan Hamad bin Thuwaini died on 25 August 1896, his nephew Khalid bin Barghash seized the palace without British approval. The British issued an ultimatum: stand down by 9:00 AM on 27 August. Khalid refused. At 9:02 AM, five British warships opened fire on the palace. By 9:40 AM β 38 minutes later β it was over. The Anglo-Zanzibar War remains the shortest recorded war in history. Khalid fled to the German consulate and eventually to Dar es Salaam.
Independence and Revolution (1963β1964)
Zanzibar gained independence from Britain on 10 December 1963 as a constitutional monarchy under Sultan Jamshid bin Abdullah. The independence was short-lived. On 12 January 1964 β barely a month later β a violent revolution overthrew the Sultan.
The revolution was led by John Okello, a Ugandan-born activist, and supported by the Afro-Shirazi Party representing the African majority. The Arab and Indian merchant class who had dominated Zanzibar's economy for centuries were targeted. An estimated 5,000-20,000 people were killed (numbers are disputed), and thousands more fled. The Sultan escaped by yacht to exile in Britain, where his family still lives.
The revolution remains a sensitive topic in Zanzibar. It's celebrated annually on 12 January as Zanzibar Revolution Day, but the violence and ethnic dimensions make it uncomfortable history. You won't see much about it in museums β the Peace Memorial Museum touches on it lightly, and locals will discuss it if asked, but it's not commemorated the way the slave trade is.
Union with Tanganyika (1964βPresent)
On 26 April 1964, Zanzibar merged with mainland Tanganyika to form the United Republic of Tanzania. The merger was driven by Cold War politics β both the Soviet Union and China had shown interest in revolutionary Zanzibar, and the union was partly a move to anchor the islands within a pro-Western framework.
Zanzibar today is semi-autonomous: it has its own president, legislature, and government for internal affairs (education, health, land, trade), while defence, foreign policy, and immigration are handled by the union government in Dodoma. The same visa covers both mainland Tanzania and Zanzibar. Zanzibaris have a distinct identity β the culture, food, religion (95%+ Muslim vs mainland Christianity/Islam mix), and architecture are noticeably different from the mainland.
Historical Sites to Visit
Slave Market Memorial & Anglican Cathedral
The most important historical site in Zanzibar. The underground slave chambers, the memorial sculpture, and the cathedral built on the former market site. Entry: $8, includes a guide. Plan 45-60 minutes. Emotionally heavy but essential.
Old Fort (Ngome Kongwe)
Built by Omani Arabs in 1699 on the site of a Portuguese chapel, the Old Fort is Stone Town's most recognisable landmark. Today it hosts cultural events, a small amphitheatre, craft vendors, and a cafΓ©. Free entry. Worth 30 minutes.
Palace Museum (Beit el-Sahel)
The Sultan's former palace, now a museum documenting the royal family's life and the sultanate era. Furniture, clothing, photographs, and ceremonial objects from the 19th and early 20th centuries. Entry: $3-$5. Plan 45 minutes.
House of Wonders (Beit el-Ajaib)
Once the largest building in East Africa and the first in Zanzibar to have electricity and an elevator (hence the "wonder"). Badly damaged by a partial collapse in 2020, it's currently under restoration funded by the Aga Khan Trust for Culture. You can view the exterior and restoration progress. When complete, it will be a world-class museum.
Livingstone's House
The building where Dr David Livingstone stayed before his final expedition into the African interior in 1866. A small plaque marks the spot on the upper floor. Now houses the Zanzibar Tourism Commission offices. Quick visit β 10 minutes.
Maruhubi Palace Ruins
The ruins of Sultan Barghash's harem palace, built in 1882 and destroyed by fire in 1899. The Persian-style bathhouses and carved columns are still visible among the tropical vegetation. 3 km north of Stone Town. Entry: $3. Atmospheric and uncrowded.
Freddie Mercury's Birthplace
Farrokh Bulsara β later known as Freddie Mercury of Queen β was born in Stone Town on 5 September 1946 to Parsi Indian parents. The building on Kenyatta Road is now marked with a small plaque. A small museum/shop nearby sells Queen memorabilia. Mercury left Zanzibar at age 17 and never returned, but his birthplace is one of Stone Town's most photographed spots.
Frequently Asked Questions
Was Zanzibar part of Oman?
Yes β from 1698 to 1856, Zanzibar was governed by the Sultanate of Oman, and from 1832 to 1856, it served as the Omani Empire's capital. After Sultan Said's death in 1856, the empire split into the Sultanate of Zanzibar and the Sultanate of Muscat and Oman. Zanzibar became a British protectorate in 1890.
What happened in the Zanzibar Revolution?
On 12 January 1964, the African-majority Afro-Shirazi Party overthrew the Arab Sultan and the ruling class in a violent revolution. An estimated 5,000-20,000 people were killed, thousands fled, and the centuries-old Arab-Indian mercantile elite was displaced. The revolution led directly to the union with Tanganyika to form Tanzania.
Is Zanzibar part of Tanzania?
Yes β since 26 April 1964. Zanzibar is a semi-autonomous region with its own president and government for local affairs, but foreign policy, defence, and immigration are managed by the union government. The same visa covers both mainland Tanzania and Zanzibar.
Who was Freddie Mercury?
Born Farrokh Bulsara in Stone Town on 5 September 1946, he became the legendary lead singer of Queen. His parents were Parsi Indians from British-ruled India who had settled in Zanzibar. He attended school in India from age 8 and moved to England at age 17. He never returned to Zanzibar.
What was the slave trade in Zanzibar?
Zanzibar was the centre of the East African slave trade from the 17th to 19th centuries. At its peak, 50,000 enslaved people passed through Zanzibar's markets annually. They were captured from the African interior and sold to work on Zanzibar's clove plantations, in Oman and the Persian Gulf, and across the Indian Ocean. The slave market was closed in 1873 under British pressure.
What is the shortest war in history?
The Anglo-Zanzibar War on 27 August 1896 lasted 38 minutes. It was fought between the British Empire and the Sultan of Zanzibar over a disputed succession. Five British warships bombarded the Sultan's palace; the Sultan surrendered and fled. It remains the shortest recorded war.
Should I visit the slave chambers?
Yes β if you can handle the emotional weight. The underground chambers where enslaved people were held before auction are preserved as a memorial. Guided tours provide essential context about the scale and horror of the trade. It's one of the most important historical sites in East Africa and fundamental to understanding Zanzibar.
What language do they speak in Zanzibar?
Swahili (Kiswahili) β it's the first language for nearly all Zanzibaris. English is widely spoken in tourist areas. Some older residents speak Arabic (reflecting the Omani heritage). Hindi and Gujarati are spoken by the remaining Indian community. Swahili itself emerged as a trade language on this coast β a Bantu language with extensive Arabic, Persian, and Portuguese vocabulary.
When is the best time to visit historical sites?
Year-round β historical sites are indoors or sheltered. However, Stone Town walking tours are more comfortable in the dry season (June-October) when it's less humid. Early morning is best for photography (soft light, fewer people in the alleys).
Are there any good books about Zanzibar's history?
"Zanzibar: City, Island, and Coast" by Richard Burton (1872) is the classic colonial-era account. For the slave trade, "The Last Slave Market" by Alastair Hazell. For the revolution, "Memoirs of an Arabian Princess" by Princess Emily Ruete (a Sultan's daughter who eloped with a German merchant) gives a fascinating insider view of 19th-century court life. "Zanzibar" by Giles Foden is an excellent modern history.