The region surrounding Johannesburg was originally inhabited by
San hunter-gatherers who used stone tools. There is evidence that they lived there up to ten centuries ago. Stone-walled ruins of Sotho–Tswana towns and villages are scattered around the parts of the former
Transvaal in which Johannesburg is situated. By the mid-18th century, the broader region was largely settled by various
Sotho–Tswana communities (one linguistic branch of Bantu-speakers), whose villages, towns, chiefdoms and kingdoms stretched from the
Bechuanaland Protectorate (what is now
Botswana) in the west, to present day
Lesotho in the south, to the present day
Pedi areas of the
Limpopo Province. More specifically, the stone-walled ruins of
Sotho–Tswana towns and villages are scattered around the parts of the former Transvaal province in which Johannesburg is situated. Many Sotho–Tswana towns and villages in the areas around Johannesburg were destroyed and their people driven away during the wars emanating from
Zululand during the late 18th and early 19th centuries (the
mfecane or difaqane wars), and as a result, an offshoot of the Zulu kingdom, the
Ndebele (often referred to as the Matabele, the name given them by the local Sotho–Tswana), set up a kingdom to the northwest of Johannesburg around modern-day Rustenburg.
Gold rush and naming of the city , on the
Witwatersrand – site of the first discovery of gold in 1886. gold mine in 1886, the oldest part of Johannesburg and where the first gold diggers initially settled. The main Witwatersrand gold reef was discovered in June 1884 on the farm Vogelstruisfontein by
Jan Gerritse Bantjes, son of
Jan Bantjes. This triggered the
Witwatersrand Gold Rush and the founding of Johannesburg in 1886. The discovery of gold rapidly attracted people to the area, making necessary a name and governmental organisation for the area. Jan, Johan and Johannes were common male names among the Dutch of that time; two men involved in surveying the area for the best location of the city, Christian Johannes Joubert and Johann Rissik, are considered the source of the name by some. Johannes Meyer, the first government official in the area is another possibility. Precise records for the choice of name were lost. Within ten years, the city of Johannesburg included 100,000 people. The first gold to be crushed on the Witwatersrand was the gold-bearing rock from the Bantjes mine crushed using the Struben brothers stamp machine. News of the discovery soon reached Kimberley and directors Cecil Rhodes and Sir Joseph Robinson rode up to investigate the rumours for themselves. They were guided to the Bantjes camp with its tents strung out over several kilometres and stayed with Bantjes for two nights. In 1884, they purchased the first pure refined gold from Bantjes for £3,000. Incidentally, Bantjes had from 1881 been operating the Kromdraai Gold Mine in the Cradle of Humankind together with his partner Johannes Stephanus Minnaar where they first discovered gold in 1881, and which also offered another kind of discovery—the early ancestors of all mankind. Some report Australian George Harrison as the first to make a claim for gold in the area that became Johannesburg, as he found gold on a farm in July 1886. He did not remain in the area. On 3 October 1886 the name Johannesburg was first used. Surveyor
Jos de Villiers surveyed Johannesburg's first neighborhood, Randjeslaagte, between 19 October and 3 November that year. Gold was earlier discovered some to the east of present-day Johannesburg in
Barberton.
Gold prospectors soon discovered the richer gold reefs of the
Witwatersrand offered by Bantjes. The original miners' camp, under the informal leadership of Col
Ignatius Ferreira, was located in the Fordsburg dip, possibly because water was available there, and because of the site's proximity to the diggings. Following the establishment of Johannesburg, the area was taken over by the Transvaal government who had it surveyed and named it Ferreira's Township, today the suburb of
Ferreirasdorp. The first settlement at Ferreira's Camp was established as a tented camp and which soon reached a population of 3,000 by 1887. The government took over the camp, surveyed it and named it Ferreira's Township. By 1896, Johannesburg was established as a city of over 100,000 inhabitants, one of the fastest growing cities ever. Mines near Johannesburg are among the deepest in the world, with some as deep as .
Rapid growth, Jameson Raid and the Second Boer War in 1895 Like many late 19th-century mining towns, Johannesburg was a rough and disorganised place, populated by white miners from all continents, African tribesmen were recruited to perform unskilled mine work, African women beer brewers cooked for and sold beer to the black migrant workers, a very large number of European prostitutes, gangsters, impoverished Afrikaners, tradesmen, and the "
AmaWasha", Zulu men who surprisingly dominated laundry work. As the value of control of the land increased, tensions developed between the
Boer–dominated Transvaal government in Pretoria and the British, culminating in the
Jameson Raid that ended in fiasco at
Doornkop in January 1896. The
Second Boer War (1899–1902) saw British forces under Field Marshal Frederick Sleigh Roberts, 1st Earl Roberts, occupy the city on 30 May 1900 after a series of battles to the south-west of its then-limits, near present-day Krugersdorp. Fighting took place at the Gatsrand Pass (near Zakariyya Park) on 27 May, north of Vanwyksrust—today's Nancefield,
Eldorado Park and Naturena—the next day, culminating in a mass infantry attack on what is now the waterworks ridge in Chiawelo and Senaoane on 29 May. During the Boer war, many African mineworkers left Johannesburg creating a labour shortage, which the mines ameliorated by bringing in labourers from China, especially southern China. After the war, they were replaced by black workers, but many Chinese stayed on, creating Johannesburg's Chinese community, which during the apartheid era, was not legally classified as "Asian", but as "Coloured". The population in 1904 was 155,642, of whom 83,363 were
whites.
Post-Union history In 1917, Johannesburg became the headquarters of the
Anglo-American Corporation founded by
Ernest Oppenheimer which ultimately became one of the world's largest corporations, dominating both gold-mining and diamond-mining in South Africa. Major building developments took place in the 1930s, after South Africa went off the gold standard. In the late 1940s and early 1950s,
Hillbrow went high-rise. In the 1950s and early 1960s, the apartheid government constructed the massive agglomeration of townships that became known as
Soweto. New freeways encouraged massive sub
urban sprawl to the north of the city. In the late 1960s and early 1970s, tower blocks (including the
Carlton Centre and the
Southern Life Centre) filled the skyline of the central business district. The system of
apartheid, a comprehensive system of racial separation was imposed upon South Africa starting in 1948. For its growth, the economy of Johannesburg depended upon hundreds of thousands of skilled white workers imported from Europe and semi- and un-skilled black workers imported from other parts of Southern Africa. Though they worked together they were forced by the government to live separately. Work was considered to be an exception to apartheid in order to keep Johannesburg functioning as South Africa's economic capital. department stores in Johannesburg in 1957 In the 1950s, the government began a policy of building townships for black families (prior to this unskilled workers were asked to work on "single status" in male-only hostels at the mines and had to commute to see their families in whatever province they originated) outside of Johannesburg to provide workers for Johannesburg. It was estimated that in 1989, the population of Soweto was equal to that of Johannesburg, if not greater. On 11 July 1963, the
South African Police raided a house in the Johannesburg suburb of
Rivonia where nine members of the banned
African National Congress (ANC) were arrested on charges of planning sabotage. Their arrest led to the famous
Rivonia Trial. At their trial, the accused freely admitted that they were guilty of what they were charged with, namely of planning to blow up the hydro-electric system of Johannesburg to shut down the gold mines, but Mandela argued to the court that the ANC had tried non-violent resistance to apartheid and failed, leaving him with no other choice. About 575 people, the majority of whom were black, were killed in the
Soweto uprising of 1976. The central area of the city underwent something of a decline in the 1980s and 1990s, due to the high crime rate and when property speculators directed large amounts of capital into suburban shopping malls, decentralised office parks, and entertainment centres.
Sandton City was opened in 1973, followed by Rosebank Mall in 1976, and
Eastgate in 1979. During the 1990s, the city faced rapid growth of crime throughout large parts of the city. Some areas of skyscrapers were abandoned, many residents left their homes, and businesses moved out. Some historical buildings in central areas were destroyed by fires that spread relentlessly.
Twenty-first century watching the
2010 FIFA World Cup with
vuvuzelas in the
township of
Soweto, a
suburb of Johannesburg. The end of apartheid saw the administrative unification of Johannesburg's apartheid-era city proper with surrounding townships and settlements into the
City of Johannesburg Metropolitan Municipality. However, the spatial legacy of apartheid has proven difficult to overcome and Johannesburg remains among the most unequal cities in the world. In 2025, Johannesburg remained the world's fifth most dangerous city by crime rate. Attempts to revive Johannesburg's
CBD, most notably in the Maboneng District, have failed to halt the rising crime rate and infrastructure deterioration in the inner city. Abandoned buildings in the city's
Hillbrow district have been increasingly captured by gangs and on 31 August 2023, at least 76 people died when a hijacked
building caught fire in Johannesburg. In March 2025, South African President Cyril Ramaphosa launched a rescue plan to address the city's "rapidly declining infrastructure". Since 1994, Johannesburg has further seen increased incidents of
xenophobic violence against migrants from other African countries. On 12 May 2008, a series of riots started in the township of
Alexandra, in the north-eastern part of Johannesburg, when locals attacked migrants from
Mozambique, Malawi and
Zimbabwe, killing two people and injuring 40 others. These riots sparked the nationwide
xenophobic attacks of 2008, which saw 60 more killings and widespread destruction of immigrant properties. The
2015 and
2019 Johannesburg riots similarly displayed outbreaks of mass violence against migrants. Modern Johannesburg has hosted a number of international summits and sport events. The
2010 FIFA World Cup final took place at
FNB Stadium, the largest stadium in Africa, while the World Cup closing ceremony on the next day saw the final public appearance of Nelson Mandela. In 2015, Johannesburg hosted the
African Union Summit, which sparked international outrage as South Africa aided the arrival and escape of
Omar al-Bashir despite an international
arrest warrant for
war crimes by the
International Criminal Court. In 2018, Johannesburg hosted the
10th BRICS Summit and in 2023 the
15th BRICS summit. The 2025
G20 Johannesburg Summit saw heads of state and government convene for the first
G20 Presidency of an African country. == Geography ==