Hamar Weyne and Shangani are the reason Mogadishu matters in the history of the Indian Ocean. Before the war, before Italy, even before the Ajuran sultanate, these two neighbourhoods were a coral stone port city at the northern end of the Swahili world: narrow alleys seeking shade, multi-storey houses with inner courtyards, carved doors, and mosques that are still standing after seven hundred and fifty years.
The names say it all: Hamar Weyne means "Hamar the great", from the Somali name of the city, Xamar; Shangani comes from Swahili and means "on the sand". Here stands the Fakr ad-Din mosque, the oldest in Mogadishu and the fifth oldest in Africa, with its conical minaret; and the Arba'a Rukun, from 1268-1269, with its founder's name carved into the mihrab. A few blocks away are the ruins of the Norman-style cathedral the Italians built between 1923 and 1928 on a Sicilian model, and the old port lighthouse.
They are also the place where you can best measure what Somalia has lost. The civil war damaged or destroyed around half of the city's buildings and these neighbourhoods are among the hardest hit; collapses keep killing people and new construction spreads unchecked over the historic fabric. This guide describes what is there, what was there and what is slipping away. It does not suggest going: Somalia is at the highest alert level of every foreign ministry and the old town can only be visited with an armed escort.
Hamar Weyne and Shangani are the original core of Mogadishu, a trading city-state of the Indian Ocean that in the Middle Ages minted its own coins, exported textiles to Egypt and welcomed travellers such as Ibn Battuta, who in 1331 described it as an enormously large city. Its coral stone architecture, with narrow alleys, courtyards and carved doors, belongs to the same family as Lamu, Zanzibar and Kilwa, with Mogadishu as its northernmost point. In the second half of the 13th century, on the highest ground in the city, its two great mosques were built: the Fakr ad-Din, in Hamar Weyne, and the Arba'a Rukun, in Shangani, dated to 667 AH (1268-1269) by an inscription in the mihrab that preserves the founder's name. On top of this medieval core, from 1905 the Italian administration added a monumental centre, the port lighthouse and the 1928 cathedral. The civil war that began in 1991 devastated much of this legacy: around 50 % of Mogadishu's building stock was damaged or destroyed, and the two historic neighbourhoods are among the worst affected.
Read the full history ↓A thousand years as an Indian Ocean port in Africa's most battered city: medieval textiles, coral-stone houses, Italian art deco, the civil war's green line and a stop-start reconstruction.
Read the history of Mogadishu and Banaadir (south, with extreme caution) →No exact prices: a scale from $ (budget) to $$$$$ (luxury), with 2-3 options per category.
Origins, formation and what the sources say.
Mogadishu's old town exists for a physical reason before a political one: the monsoon. Between November and March, the northeast monsoon pushes boats from Arabia, Persia and India towards the African coast; between April and September, the southwest monsoon carries them back. For centuries that predictable, seasonal back-and-forth allowed a round-trip trade that made a chain of port cities flourish along Africa's eastern seaboard: Mogadishu, Merca, Brava, Lamu, Malindi, Mombasa, Zanzibar, Kilwa. Mogadishu is the northern end of that chain.
From early on the city was organised around two cores that still exist and that today form the most important historic ensemble in Somalia. Hamar Weyne, “Hamar the great”, after the Somali name for the city, Xamar, is the oldest part. Shangani, whose name comes from Swahili and means “on the sand”, occupies the strip closest to the sea. Between the two lay the port, the market and daily life.
The architecture of those centuries has an unmistakable signature: coral stone taken from the Indian Ocean reefs, cut into blocks and rendered, which gives the buildings their characteristic white colour and remarkable durability. On that base rose an urban fabric of narrow alleys, designed to create shade and channel the sea breeze, with multi-storey houses arranged around inner courtyards, internal staircases, terraces, lattice screens and carved wooden doors. Anyone who knows Lamu or Stone Town recognises the vocabulary immediately.
That Mogadishu was no minor trading post. It worked as a city-state with its own sultanate, minted its own coinage and developed an export textile industry whose cloth reached Egypt and the Arab world. It also controlled a good share of the regional gold trade. In the 13th century it came into the orbit of the Ajuran empire, the great Somali power that held the interior and the coast together between the 13th and 17th centuries.
In the second half of the 13th century, when the city was at its height, the two buildings that are now Somalia's most valuable heritage went up almost at the same time.
The Fakr ad-Din Mosque, Masjid Fakhr ad-Din, stands in Hamar Weyne. It is the oldest mosque in Mogadishu and is usually listed among the five oldest in Africa. Its most unusual feature is the conical minaret, a rare form in the architecture of the East African coast, where square or cylindrical minarets dominate. It is still a working mosque, not a ruin turned into a museum.
The Arba'a Rukun Mosque stands in Shangani and was built around the year 667 of the Hijra, equivalent to 1268-1269 CE. Its interest goes beyond architecture: the mihrab keeps an inscription from that same year recording the founder's name, Khusra ibn Mubarak al-Shirazi. Having the patron's name carved directly into the stone of the prayer niche is a rarity in buildings that old, and it makes the Arba'a Rukun a key document for dating and understanding medieval Mogadishu.
That nisba, al-Shirazi, “the one from Shiraz”, ties into one of the big debates in the historiography of the Swahili coast. Local chronicles of several cities credit their founding to Persian settlers from Shiraz; archaeology and linguistics over recent decades, by contrast, stress the fundamentally African character of Swahili civilisation, and read those Persian and Arab genealogies as symbolic capital that urban elites used to claim their place in the Islamic world of the Indian Ocean. The two readings coexist, and neither changes what is carved in the stone: a date, 1268-1269, and a name.
To these two add the Abdulaziz Mosque, the city's oldest survivor in terms of continuous use, which came through the entire civil war intact. Its emblematic tower, however, was demolished in May 2013 during an externally funded “restoration” project: a case specialists cite as an example of destructive intervention in good faith.
In 1331, on his way to Kilwa, the Tangier-born traveller Ibn Battuta stopped in Mogadishu. His account is the best written snapshot we have of the old town at its peak, barely two generations after the mosques of Hamar Weyne and Shangani were built.
Ibn Battuta described an enormously large city with very wealthy merchants, and recorded the protocol for receiving visitors of rank: arriving ships were boarded by local merchants who competed to host the traders, a system of hospitality that structured the whole trade. He also noted the city's textile fame: Mogadishu's cloth was exported to Egypt and the Arab world, and was known by the name of the port.
That account lets us reconstruct the logic of the old town. The narrow alleys are no accident: they are a climatic and social system. Constant shade and the channelled breeze made an equatorial stone city liveable; inner courtyards separated domestic space from business; upper floors housed the families while ground floors served as storeroom and shop; the terraces were for sleeping on hot nights. The Hamar Weyne merchant house is, in itself, a piece of commercial engineering.
The trade was not only in textiles. Ivory, ambergris, hides, frankincense and myrrh from the Somali interior, and enslaved people, left from these quays; Chinese and Persian ceramics, Indian cloth, glass beads, spices and metals came in. Archaeology on the Swahili coast has documented Song and Ming porcelain at sites all along the strip: through the monsoon route, Mogadishu was connected with the far end of Asia.
After the decline that followed the Portuguese arrival in the Indian Ocean and the centuries in the Omani and Zanzibari orbit, Mogadishu entered the 20th century as a port of the Sultanate of Zanzibar run by local governors. Italy leased and then acquired the Banaadir ports as part of the colonial carve-up, and in 1905 took formal control of the city, which became the capital of Italian Somaliland.
The impact on the old town was one of juxtaposition rather than replacement. The colonial administration did not raze Hamar Weyne or Shangani: it built next door. It laid out straight avenues and raised a monumental administrative centre with arches and arcades, the governor's palace, public buildings, the Garesa building and, early in the century, the port lighthouse. The result was a two-layer city that never fully merged: the coral maze on one side, the Italian grid on the other.
The most ambitious architectural gesture was the cathedral, built between 1923 and 1928 to a design by Antonio Vandone in Norman style, modelled on Cefalù Cathedral in Sicily. At 37 metres it was the tallest building in the capital and, when it opened, the largest Christian cathedral in Africa. Planted a short distance from the coral-stone quarter, it was also a political statement.
The Italian period was cut short by the Second World War: British troops occupied Italian Somaliland in 1941 and ran the territory until 1950, when Italy returned as administering power under a UN trusteeship, with ten years to lead the territory to independence, which came on 1 July 1960. After independence, the Garesa building became the National Museum of Somalia.
When Siad Barre's regime fell in January 1991, Mogadishu was split between armed factions by a “green line”, with artillery firing inside a densely populated city. The old town, which had survived the Portuguese, the Omanis and the Italians, did not survive that.
The heritage organisation Horn Heritage estimates that since the late 1980s the civil war damaged or destroyed around 50 % of all the buildings in the city, and notes that Hamar Weyne and Shangani are among the areas most deeply scarred by the fighting. It also warns that a systematic record of the real extent of the destruction is still missing: there is no complete inventory of what was lost and what remains.
The list of specific casualties is long and varied in its causes. The 1928 cathedral was largely destroyed by Al Shabaab in 2008, during the period when the group controlled large parts of the capital; today the outer walls and the great stone arches remain, and the rehabilitation plans announced by the diocese in 2013 have not turned into a full reconstruction. The Italian governor's palace was demolished by the military regime and replaced by the Uruba hotel, now also destroyed. The tower of the Abdulaziz Mosque fell in May 2013 in a “restoration” project funded from abroad. The colonial port lighthouse partly collapsed on 7 May 2023, killing four people. That same year, the collapse of an old house in Shangani killed four boys aged between 10 and 15.
That last fact best describes the current situation: not all the loss comes from war. Much of the heritage of Hamar Weyne, Hamar Jabjab, Shangani and Abdicaziz is lived in and at risk of structural collapse, with neither the resources nor the technical framework to intervene. Somalia has no properties inscribed on the UNESCO World Heritage List, and the ensemble lacks any effective international protection.
Since Al Shabaab lost control of the capital in August 2011, Mogadishu has been living through its longest reconstruction cycle since 1991. Part of the diaspora came back with capital, Turkey became the most visible international partner with public works and hospitals, and between 2020 and 2025 more than 6,000 new buildings went up in the city, one of the fastest rates of urbanisation in the world. The urban area's population was around 3.26 million in 2025.
For the old town, that boom is as serious a threat as the war. Specialist Somali media point out that new construction in Xamarweyne and Shangani tends to ignore existing regulations on height, style and materials, and ends up hiding centuries-old mosques and coral houses. With no historic land register, no heritage inventory and no enforcement capacity, land values do the rest: every coral-stone plot is worth more as an apartment tower than as a 19th-century merchant house.
The comparison with the rest of the Swahili coast is inevitable and painful. Lamu Old Town in Kenya and Stone Town in Zanzibar are World Heritage Sites and support entire local economies on that status, with management plans, building codes and international funding. Mogadishu, the northern end of the same civilisation, with mosques older than much of what is inscribed, has none of that.
Today, anyone walking through Hamar Weyne and Shangani, always with an operator and an armed escort, in half-day blocks, sees all three layers at once: the 13th-century alleys and mosques, the ruins of the Italian 20th century and of the civil war, and the cranes of the property boom. What is at stake is not a tourist backdrop: it is the material record of eight hundred years of Indian Ocean history, and it is being decided now, with hardly any witnesses.