This article appears in Historical Dictionary of the British Empire.
The term 'kaffir' (sometimes spelled 'caffre') was derived from the Arabic word meaning 'unbeliever' or 'infidel' and applied as a general term to non-Muslims. When asked by the newly arrived Portuguese in the 16th century, the Islamic Arab/Swahili people in the coastal east African cities replied, perhaps dismissively, that the negroid African people in the interior were 'Kaffirs'. Kaffirs became a general term used by the Portuguese to refer to all Bantu-speaking Africans of eastern and southern Africa. This usage was picked up by the Dutch as they supplanted the Portuguese in the 17th century and brought to South Africa with the founding of Cape Town in 1652.
The nearest Bantu-speaking people, the southern Nguni-the Xhosa especially (see Xhosa)-were about 600-700 miles eastwards in the eastern part of the modem Cape Province and Transkei. By the end of the 18th century, contacts and conflict began to increase in the eastern Cape Colony between the westward migrating Xhosa and the eastward migrating white Trekboers. 'Kaffir' in the 19th century acquired a more specific meaning and referred especially to the Xhosa proper to distinguish them from other southern Nguni groups such as the Thembu, Mfengu and Mpondo. It was not meant as an insult and was capitalized; many Xhosa used the term in this way in referring to themselves. It was with this meaning referring to the Xhosa that it was used in such terms as Kaffir Wars, Kaffirland and British Kaffraria.
However, especially among the Trekboers, the term had always been used in a generalized way to refer to Bantu-speaking Africans; as racism grew, so did the pejorative connotations of the term. By the end of the 19th century, the term had similar connotations and uses as the term "nigger" had. As a result, the term became unacceptable both to the Xhosa (as well as other Africans) and to the more polite among whites. Thus, it disappeared from official and polite use. Today, only the very offensive, pejorative connotations and uses of the term remain in South Africa.