Ibadan, located in present-day Oyo State in south-western Nigeria, emerged as one of the most significant urban centres in Yorubaland during the nineteenth century, following the collapse of the Oyo Empire and the resulting inter-state conflicts. Founded in 1829, Ibadan initially served as a military outpost and a refuge for displaced populations, before growing into a thriving city due to its strategic location between the forest and savannah ecological zones. Ibadan’s population expanded rapidly, with estimates suggesting between 60,000 and 100,000 residents by the mid-nineteenth century, making Ibadan one of the largest urban centres in West Africa at the time.
The rapid growth of Ibadan necessitated measures for protection, organisation and control. To achieve this, the city constructed extensive earthwork walls, which were punctuated by gates that regulated movement into and out of the town. These fortifications were not only defensive structures, but also served as tools of administration, commerce and social organisation, reflecting the complexity of pre-colonial urban governance.
EXPLORE NOW: Democratic Nigeria
Town Walls and Gates
Ibadan’s fortifications consisted of large earthen embankments and ditches, built in response to frequent warfare in Yorubaland. Historical studies indicate that the outer wall, by the mid-nineteenth century, stretched approximately sixteen kilometres in circumference, enclosing the urban settlement. Within these walls were sixteen gates, each positioned along major roads leading out of the city, which allowed controlled access while connecting the city to its hinterlands.
The gates served multiple purposes. Strategically, they controlled the flow of people and goods, enabling authorities to monitor traffic, enforce security, and collect revenue. Economically, the gates channelled traders and farmers along designated routes, ensuring orderly exchange in the town’s markets. Socially, the gates were spaces of interaction, where information was exchanged, and the urban population could maintain oversight of movement.
Some gates were particularly important due to their alignment with key trade routes connecting Ibadan to Abeokuta, Ijebu land, Oyo and Iwo. These gates facilitated access to regional markets and helped integrate Ibadan into broader commercial networks, supporting both the city’s growth and its reputation as a major trade hub.
Economic Functions of the Gates
The town gates of Ibadan played a central role in the city’s economy. They acted as collection points for tolls, which contributed to the revenue of local authorities, funding public works such as maintenance of walls, market organisation and other civic responsibilities. Traders entering the city, as well as farmers returning from their rural farms, were required to pay tolls in cowries or in kind, including agricultural produce such as yams, corn, and beans. This system ensured that urban markets had a steady supply of goods, linking rural production directly to city commerce.
The toll collection system also allowed authorities to regulate trade, ensuring that only approved goods entered the markets and providing a mechanism for monitoring and enforcing local economic policies. While the specific roles of attendants at each gate are not fully documented, historical evidence indicates that military retainers and dependants were involved in overseeing security and administrative functions, ensuring the smooth operation of toll collection and access control.
Trade and Connectivity
Ibadan’s strategic location made it a central node in the region’s trade network. The town facilitated the movement of goods between interior agricultural areas and coastal trading centres, attracting traders from Egba, Ijebu, and Iwo territories. Coastal commodities such as salt, dried fish, and imported goods entered the city, while agricultural and artisanal products from Ibadan were transported to regional markets. The gates were essential to this system, as they organised and monitored the flow of goods and people, ensuring economic efficiency and urban order.
The city’s main markets, such as Ojaoba, thrived due to this controlled access, becoming centres of both local and regional trade. Gates not only functioned as entry points but also as spaces where social, economic and administrative interactions occurred, reflecting the integrated nature of urban life in pre-colonial Ibadan.
Colonial Influence and Transformation
With the expansion of British colonial authority in south-western Nigeria in the late nineteenth century, Ibadan experienced significant administrative and economic changes. The British considered traditional toll collection at town gates to be an obstacle to free trade and colonial taxation policies. From the 1890s onwards, colonial officials gradually restructured the toll system, initially allowing chiefs to continue collection under supervision, before centralising revenue collection and abolishing many indigenous toll practices.
While the physical gates remained, their economic and administrative functions were greatly reduced under colonial reforms. Despite this, the existence of walls and gates continued to shape urban memory and influenced subsequent town planning, serving as a historical foundation for Ibadan’s development as a major metropolitan centre.
Legacy and Urban Memory
Today, little remains of Ibadan’s original earthwork walls and gates, as modern urbanisation has transformed the landscape. However, the concept and memory of these structures continue to inform historical understanding and cultural narratives. The walls and gates of Ibadan provide insight into pre-colonial urban organisation, highlighting sophisticated governance systems, trade regulation mechanisms, and social structures that existed before colonial intervention.
The study of Ibadan’s town gates is essential for appreciating the complexity of African cities, challenging perceptions of pre-colonial urban centres as rudimentary or unstructured. They exemplify the ways communities managed defence, commerce, and administration in an integrated and strategic manner.
Ibadan’s town walls and gates were foundational to its emergence as a major urban centre in nineteenth-century Yorubaland. They facilitated security, trade, and movement, provided revenue for civic administration, and connected the city to regional economic networks. Colonial reforms transformed their roles, but their historical significance remains central to understanding Ibadan’s social, economic, and political evolution.
READ MORE: Ancient & Pre-Colonial Nigeria
Author’s Note
Ibadan’s walls and gates demonstrate the ingenuity and complexity of pre-colonial urban planning in West Africa. They were not merely defensive structures, but hubs of trade, administration, and social organisation. Understanding these features helps modern readers appreciate how African cities managed growth, commerce, and governance long before colonial rule, providing a model for the integration of security, economy, and urban life.
References
- MacosConsultancy.com, The Evolution of Ibadan as the Largest City
- IOSR Journal of Humanities and Social Science, Slaves, Government and Politics in Ibadan
- Nairaland/Cledemy, Interesting Ibadan Facts.

