The history of African townships south west of Johannesburg that would later form Soweto was propelled by the increasing eviction of Africans by city and state authorities. Africans had been drawn to work on the gold mines that sprang up after 1886. From the start they were accommodated in separate areas on the outskirts of Johannesburg, such as Brickfields (Newtown). In 1904 British-controlled city authorities removed African and Indian residents of Brickfields to an "evacuation camp" at Klipspruit municipal sewage farm (not Kliptown, a separate township) outside the Johannesburg municipal boundary, following a reported outbreak of plague. Two further townships were laid out to the east and the west of Johannesburg in 1918. Townships to the south west of Johannesburg followed, starting with Pimville (1934; a renamed part of Klipspruit) and Orlando (1935).
Industrialisation during World War II drew thousands of black workers to the Reef. They were also propelled by the implementation of legislation that rendered many rural Africans landless. Informal settlements developed to meet the growing lack of housing. The Sofasonke movement of James Mpanza in 1944 organised the occupation of vacant land in the area, at what became known as Masakeng (Orlando West). Partly as a result of Mpanza's actions, the city council was forced to set up emergency camps in Orlando (1944), Moroka, and Central Western Jabavu (1946)