Skip to main content

Swahili City-states in AP World History: Modern

The Swahili city-states were independent trading cities along the East African coast, such as Kilwa, Mombasa, Zanzibar, and Sofala, that grew wealthy by linking the African interior to Indian Ocean trade. They never formed one empire. Each city ruled itself, and their shared Swahili culture grew out of Bantu-speaking coastal communities trading and intermarrying with Arab and Persian merchants, with ruling elites adopting Islam. Swahili itself is a Bantu language that took in many Arabic words through that contact.

This definition is part of Fiveable's AP World History: Modern review, which also has guided practice questions.

Verified for the 2027 AP World History: Modern exam•Last updated November 2026•Fiveable Content Team

Bantu coastal towns meet the monsoon winds

The cities started as Bantu-speaking farming and fishing communities on the coast of what's now Kenya, Tanzania, and Mozambique. Their location put them at the western edge of the Indian Ocean, where seasonal monsoon winds let ships sail predictably to and from Arabia, Persia, and India.

That timing mattered for trade. Merchants could sail in on one monsoon and leave on the next, so many stayed for months, married locally, and settled. The name Swahili comes from an Arabic word for "coasts," which tells you how outsiders saw these towns: as the shore where Indian Ocean trade met Africa.

How Islam and the Swahili language spread through merchants

Islam reached the coast with Muslim traders. No army brought it. Ruling families and merchant elites converted, built stone mosques, and used Islam to connect with trading partners across the Indian Ocean. Many people outside the elite kept African religious practices alongside or instead of Islam.

The language shows the same blend. Swahili is a Bantu language at its core, with many Arabic loanwords added through centuries of contact. This is the exact process Topic 2.5: Cultural Consequences of Connectivity (Unit 2: Networks of Exchange) asks you to explain, since growing contact along trade routes spread religion, language, and architecture. Islam spreading into sub-Saharan Africa is one of that topic's illustrative examples, and the Swahili coast is a clean case of it.

Kilwa, Great Zimbabwe gold, and a new kind of African state

Between 1200 and 1450 the cities hit their peak. Kilwa grew especially rich by controlling the gold trade through Sofala, a southern port that received gold from the interior, including the region tied to Great Zimbabwe. Exports included gold, ivory, and enslaved people. Imports included Indian cotton textiles, glass beads, and Chinese porcelain.

These cities belong in Unit 1, Topic 1.5: State Building in Africa, which asks how African states showed continuity, innovation, and diversity while expanding their reach. The Swahili coast is a strong example of diversity, since a string of competing merchant-run city-states looks very different from a centralized kingdom. Pairing it with Great Zimbabwe, one of the topic's illustrative examples, shows how inland and coastal states depended on each other through the same gold trade.

For Topic 1.7: Comparisons from 1200-1450, the Swahili cities make a useful contrast with the Song Dynasty. The Song legitimized power through Confucianism and an imperial bureaucracy. Swahili rulers drew authority from trade wealth and from Islam's ties to the wider Muslim world.

Reading Ibn Battuta's visit to Kilwa as a source

Ibn Battuta, the Moroccan traveler, visited Kilwa in 1331 and described it as one of the most beautiful and well-built towns he had seen. He noted that its sultan was a devout Muslim. That account matters because Topic 2.5 emphasizes that more travelers within Afro-Eurasia were writing about their journeys, and Ibn Battuta is one of its illustrative examples.

On the exam, the Swahili coast fits these tasks:

  • Multiple choice: a stimulus like a traveler's account, a trade-route map, or a description of Kilwa's mosques, with questions about how Indian Ocean trade shaped the cities or how Islam spread there.
  • Short-answer question 2 (Primary source): a passage like Ibn Battuta's, where you explain what it shows about cultural exchange. Strong answers name the mechanism (merchants and elite conversion) instead of only saying that trade happened.
  • Question 2 (Long essay) or Question 1 (Document-based): outside evidence for prompts on state building or the cultural effects of trade from 1200 to 1450.

When sourcing a traveler's account, think about point of view. Ibn Battuta was a Muslim scholar who tended to praise places where Islam was practiced in ways he approved of, which shapes what he notices.

Why the Swahili coast isn't just another Mali

The usual mix-up is treating the Swahili cities like Mali or Ghana. Both regions grew rich from trade, and in both, Islam spread through merchant contact and was strongest among elites.

The differences are what the exam rewards. Mali sat on trans-Saharan caravan routes and was a large centralized empire under powerful rulers like Mansa Musa. The Swahili cities sat on Indian Ocean sea routes and stayed politically divided, with each city independent. On the coast, contact with Muslim merchants helped shape a distinct Swahili culture and identity, and the Bantu language Swahili absorbed many Arabic words. If a question asks how the two regions' experiences with Islam or trade differed, route (desert vs. ocean) and political structure (empire vs. city-states) are the answer.

After the 1200-1450 period, the Portuguese arrived on the coast. Vasco da Gama reached it in 1498, and the Portuguese attacked Kilwa and Mombasa in 1505 to take over the trade. That later story belongs to Unit 4, so treat 1200-1450 as the window for these topics.

Where this sits in AP® World

Keep studying AP® World Unit 1