The capital of South Africa is Pretoria, which is located in the northeastern part of the country. It is one of three capital cities in South Africa, along with Cape Town and Bloemfontein. Pretoria serves as the administrative capital, while Cape Town is the legislative capital and Bloemfontein is the judicial capital.