Oral accounts disagree on the details, but the majority of them have Osei Tutu I founding Kumasi in the 1680s as the capital of the Asante state. They also credit the priest Okomfo Anokye with choosing the site. He planted a kum seed at Kwaman and another at Kumawu, and whichever grew would be the capital. The name is Twi for the place under the kum tree. The town went up on the eastern slope of a ridge, above the marshes of the Nsuben.
Around 1700 the Golden Stool entered the story. Legend says Okomfo Anokye received it here, and the kingdom is dated from its introduction. A win over Denkyira in 1701 made Asante the leading state among its neighbours. The sword site is the place where that founding story is still told. The city was not untouchable: in 1718 the Aowin sacked it while the army was away, and Opoku Ware I had to drive them out.
By the early 1800s European visitors were writing home about the place. Bowdich counted 27 streets in 1817, and a later source found 50 by the 1880s. The city had 77 wards, and craftsmen of one trade tended to live together: goldsmiths, umbrella makers, coffin makers. The Great Market doubled as a parade ground and royal courthouse, which is why it never had permanent stalls. Visitors admired the broad streets shaded by banyan trees. Under Osei Bonsu, Muslims from states in what is now Ghana made a permanent home here, and the empire's first Islamic schools opened in Kumasi.
Then the British came. They burned parts of the city, including the royal residence, in 1874. A civil war of five years followed. When R. Austin Freeman arrived in 1888 he found a large clearing in the forest with the shells of old houses lying in the grass.
In 1896 the British deposed Prempeh I and exiled him, and built Kumasi Fort over the Asante one. Four years later the governor, Frederick Hodgson, demanded the Golden Stool. That set off the War of the Golden Stool, in which Yaa Asantewaa was one of the Asante leaders. The Asante besieged Hodgson in the fort until he broke out on 23 June 1900. It was the last major uprising against colonial rule, and the British had won by the new year. Kumasi was annexed in 1901 with a population down to about 3,000.
Colonial rule rebuilt the town around railways, cash crops and hospitals. In 1905 the wetlands near the centre were drained for a railway and its station. The Central Market was finished in 1925, the year Manhyia Palace went up. Prempeh I came home in 1926 after 30 years in the Seychelles, and the colonial administration gave back the king's full role in 1935. The University of Science and Technology opened in 1952.
The nickname Garden City of West Africa comes from this period. In 1945 Maxwell Fry and Jane Drew drew up the city's first development plan on Howard's garden city ideas, with green belts and parks to stop sprawl. It did not hold. By 2003 a large share of the green space had been built over for housing.
Since independence in 1957 Kumasi has been the capital of the Ashanti Region and Ghana's second city. It became a Metropolitan area in 1988. Its administrative boundaries have changed as neighbouring areas became separate authorities, so the 2021 census figure of 443,981 covers only the metropolitan assembly and not the whole built-up area.