South Africa is banned from the Olympic Games due to the country's racist policies.

Apartheid (, especially South African English: , Afrikaans: [apartit]; transl."separateness", lit. "aparthood") was a system of institutionalised racial oppression that existed in South Africa and South West Africa (now Namibia) from 1948 until the early 1990s. This system denied non-white South Africans civil rights, such as the right to vote. Apartheid was characterized by an authoritarian political culture based on baasskap (boss-hood or boss-ship), which ensured that South Africa was dominated politically, socially, and economically by the nation's minority white population. According to this system of social stratification, white citizens had the highest status, followed by Indians and Coloureds, then black Africans. The economic legacy and social effects of apartheid continue to the present day.Broadly speaking, apartheid was delineated into petty apartheid, which entailed the segregation of public facilities and social events, and grand apartheid, which dictated housing and employment opportunities by race. The first apartheid law was the Prohibition of Mixed Marriages Act, 1949, followed closely by the Immorality Amendment Act of 1950, which made it illegal for most South African citizens to marry or pursue sexual relationships across racial lines. The Population Registration Act, 1950 classified all South Africans into one of four racial groups based on appearance, known ancestry, socioeconomic status, and cultural lifestyle: "Black", "White", "Coloured", and "Indian", the last two of which included several sub-classifications. Places of residence were determined by racial classification. Between 1960 and 1983, 3.5 million black Africans were removed from their homes and forced into segregated neighbourhoods as a result of apartheid legislation, in some of the largest mass evictions in modern history. Most of these targeted removals were intended to restrict the black population to ten designated "tribal homelands", also known as bantustans, four of which became nominally independent states. The government announced that relocated persons would lose their South African citizenship as they were absorbed into the bantustans.Apartheid sparked significant international and domestic opposition, resulting in some of the most influential global social movements of the 20th century. It was the target of frequent condemnation in the United Nations and brought about an extensive arms and trade embargoes on South Africa. During the 1970s and 1980s, internal resistance to apartheid became increasingly militant, prompting brutal crackdowns by the National Party government and protracted sectarian violence that left thousands dead or in detention. Some reforms of the apartheid system were undertaken, including allowing for Indian and Coloured political representation in parliament, but these measures failed to appease most activist groups.Between 1987 and 1993, the National Party entered into bilateral negotiations with the African National Congress (ANC), the leading anti-apartheid political movement, for ending segregation and introducing majority rule. In 1990, prominent ANC figures such as Nelson Mandela were released from prison. Apartheid legislation was repealed on 17 June 1991, leading to multiracial elections in April 1994.

South Africa, officially the Republic of South Africa (RSA), is the southernmost country in Africa. With over 60 million people, the country is the world's 23rd-most populous nation and covers an area of 1,221,037 square kilometres (471,445 square miles). South Africa has three capital cities, with the executive, judicial and legislative branches of government based in Pretoria, Bloemfontein and Cape Town respectively. The largest city is Johannesburg. About 80% of South Africans are Indigenous South Africans. The remaining population consists of Africa's largest communities of European (White South Africans), Asian (Indian South Africans and Chinese South Africans), and Multiracial (Coloured South Africans) ancestry.

South Africa is bounded to the south by 2,798 kilometres (1,739 mi) of coastline that stretch along the South Atlantic and Indian Oceans; to the north by the neighbouring countries of Namibia, Botswana, and Zimbabwe; and to the east and northeast by Mozambique and Eswatini and it surrounds the enclaved country of Lesotho. It is the southernmost country on the mainland of the Old World, and the most populous country located entirely south of the equator. South Africa is a biodiversity hotspot, with a diversity of unique biomes and plant and animal life.

South Africa is a multiethnic society encompassing a wide variety of cultures, languages, and religions. Its pluralistic makeup is reflected in the constitution's recognition of 11 official languages, the fourth-highest number in the world. According to the 2011 census, the two most spoken first languages are Zulu (22.7%) and Xhosa (16.0%). The two next ones are of European origin: Afrikaans (13.5%) developed from Dutch and serves as the first language of most Coloured and White South Africans; English (9.6%) reflects the legacy of British colonialism, and is commonly used in public and commercial life. The country is one of the few in Africa never to have had a coup d'état, and regular elections have been held for almost a century. However, the vast majority of black South Africans were not enfranchised until 1994.

During the 20th century, the black majority sought to claim more rights from the dominant white minority, which played a large role in the country's recent history and politics. The National Party imposed apartheid in 1948, institutionalising previous racial segregation. After a long and sometimes violent struggle by the African National Congress (ANC) and other anti-apartheid activists both inside and outside the country, the repeal of discriminatory laws began in the mid-1980s. Since 1994, all ethnic and linguistic groups have held political representation in the country's liberal democracy, which comprises a parliamentary republic and nine provinces. South Africa is often referred to as the "rainbow nation" to describe the country's multicultural diversity, especially in the wake of apartheid.South Africa is an upper-middle power in international affairs; it maintains significant regional influence and is a member of both the Commonwealth of Nations and G20. It is a developing country, ranking 114th on the Human Development Index. It has been classified by the World Bank as a newly industrialised country, with the second-largest economy in Africa, and the 33rd-largest in the world. South Africa also has the most UNESCO World Heritage Sites in Africa. Since the end of apartheid, government accountability and quality of life have substantially improved in South Africa. However, crime, poverty and inequality remain widespread, with about a quarter of the population unemployed and living on less than US$1.25 a day as of 2008.