The D'Oliveira affair was a prolonged political and sporting controversy relating to the scheduled 1968–69 tour of South Africa by the England cricket team, who were officially representing the Marylebone Cricket Club (MCC). The point of contention was whether the England selectors would include Basil D'Oliveira, a mixed-race South African player who had represented England in Test cricket since 1966, having moved there six years earlier. With South Africa under apartheid, the potential inclusion by England of a non-white South African in their tour party became a political issue.

A Cape Coloured of Indian and Portuguese ancestry, D'Oliveira left South Africa primarily because the era's apartheid legislation seriously restricted his career prospects on racial grounds and barred him from the all-white Test team. He qualified for Worcestershire County Cricket Club through residency in 1964 and first played for England two years later. The consequences of D'Oliveira's possible inclusion in the 1968–69 MCC tour of South Africa were discussed by English and South African cricketing bodies as early as 1966. Manoeuvring by cricketing and political figures in both countries did little to bring the matter to a head. The MCC's priority was to maintain traditional links with South Africa and have the series go ahead without incident. South Africa's Prime Minister John Vorster sought to appease international opinion by publicly indicating that D'Oliveira's inclusion would be acceptable, but secretly did all he could to prevent it.

D'Oliveira was omitted from the England team for part of 1968 amid a slump in his batting form, but he marked his return in late August with a score of 158 runs in England's final Test match of the year, against Australia at The Oval. Days later, the MCC selectors omitted D'Oliveira from the team to tour South Africa; they insisted that this was based entirely on cricketing merit, but many in Britain voiced apprehension and there was a public outcry. After Tom Cartwright's withdrawal because of injury on 16 September, the MCC chose D'Oliveira as a replacement, prompting accusations from Vorster and other South African politicians that the selection was politically motivated. Attempts to find a compromise followed, but these led nowhere. The MCC announced the tour's cancellation on 24 September.

Sporting boycotts of South Africa were already under way by 1968, but the D'Oliveira controversy was the first to have a serious effect on South African cricket. The South African Cricket Board of Control announced its intention to remove racial barriers in South African cricket in 1969, and formally integrated the sport in 1976. Meanwhile, the boycott movement escalated sharply, leading to South Africa's near-complete isolation from international cricket from 1971, though the country continued to play international rugby into the 1980s, twice allowing mixed-race New Zealand rugby teams into the country during the 1970s. D'Oliveira played for England until 1972, and for Worcestershire until 1979. South Africa returned to international cricket in 1991, soon after apartheid began to be dismantled.

Background South Africa From the time that European settlers first arrived in South Africa in 1652, the country was divided on racial lines, in common with similar settlements. In contrast to other European colonies, racial distinction and segregation intensified during the early 20th century, and the various ethnic groups became more sharply defined and divided.Oborne, p. 12. Following its general election victory in 1948, the National Party, led by Daniel Malan, formalised this racism under a government policy called apartheid.Quelch, "You've got to be Carefully Taught", Location 741 Under apartheid, different races were kept apart in all aspects of life.Quelch, "You've got to be Carefully Taught", Location 800. This system was thoroughly enforced during the 1950s; any resistance from non-white races was put down and laws, supposedly to prevent the rise of communism, were passed to prevent political agitation.

From a cricketing viewpoint, the apartheid policy made little difference. Although cricket was played widely among the different racial groups in South Africa, the Test team, which represented the country in international matches, had always been all white.Oborne, pp. 17–23. Under apartheid, this became official policy under the government reasoning that black, coloured (mixed race) and Indian players were inherently inferior and not worthy of selection. Different races were forbidden from competing against each other.Oborne, pp. 114–19. South African cricket teams did not compete against India, Pakistan or the West Indies, but teams from England, Australia and New Zealand continued to visit the country. English cricketers particularly enjoyed tours to South Africa owing to the hospitality they received and the quality of living. The political writer and historian Peter Oborne commented: "Relations between the cricket establishments of the two countries were exceptionally warm. Only few visitors noticed, and even fewer cared, that there was something wrong."Oborne, pp. 14–15.

During the Marylebone Cricket Club (MCC) tour of South Africa during 1948–49, the first under apartheid, the BBC commentator John Arlott was horrified when he saw a black man assaulted for no reason. This prompted him to visit several townships where he found black people living in very poor conditions. He contrasted this unfavourably with the luxury of the homes where he was entertained by white families.Oborne, p. 16. Billy Griffith, one of the touring team, accompanied him on one visit to a township, and was similarly appalled, but did not speak out against it. Arlott later condemned apartheid, during a 1950 BBC broadcast,Quelch, "You've got to be Carefully Taught", Location 829. and refused to commentate during future tours to the country. His example was followed by the England batsman and clergyman David Sheppard, who declined to tour South Africa, refused to play the team in 1960, and spoke out publicly against the policies of the South African government despite efforts by the MCC to silence him. Otherwise, there was little protest in England against South African cricket during the 1950s.Williams, p. 54.

Britain and the England cricket team

From the mid-1950s, the United Nations began to express concern over apartheid, and there was a growing general awareness in Britain of its effects. In 1960 the UK Prime Minister, Harold Macmillan, criticised apartheid in his "Wind of Change" speech to the South African parliament. However, the British government was cautious; the large number of British passport holders and businesses based in South Africa made them reluctant to force the issue and provoke a confrontation. Additionally, there was support for the policy among some right-wing politicians.Quelch, "Waiting for Godot", Location 3472. When the MCC team toured South Africa in 1956–57, the players observed and were shocked by what they considered to be injustices against the black population. As many players and officials had family and friends in the country, they were disinclined to take a stand, but several condemned the situation in print at the time or later.Quelch, "The Tribe that Lost its Head", Location 4285.

Overall attitudes in Britain towards South African cricket began to change in the 1960s. At the time, race was becoming a more emotive matter in Britain and immigration from Asia and the Caribbean became an issue in general elections. Racial tensions had risen throughout the 1950s, and race riots had occurred. Tim Quelch, in his review of English cricket in the 1950s, suggests that "[England's] record on race relations had hardly been exemplary".Quelch, "The Tribe that Lost its Head", Location 4342. But Jack Williams, in his book Cricket and Race, suggests that cricket was a force for racial harmony in England given the influx of African-Caribbean and Asian overseas players and the mingling of white and African-Caribbean supporters during several Test series between England and the West Indies.Williams, pp. 53–54. Against this background, when the South African team toured England in 1960, there were some protests against apartheid.

International sport Within South Africa, there was growing realisation among opponents of apartheid that sport could play a role in pressuring the government. During the 1950s, South Africa competed freely in international competition; the governing bodies of the major international sports recognised only the official, all-white South African institutions. By the end of the decade, this began to change. Several non-white sporting organisations within South Africa united and began to influence international opinion. The resulting pressure brought about the suspension of the all-white Football Association of South Africa from FIFA—for two years from 1961, then after a brief reinstatement, again from 1964—which prevented South Africa from participating in the 1966 World Cup. South Africa was also excluded from international fencing in 1964. However, because neither fencing nor football was closely followed in white South Africa, the impact was limited. Suspension from the Olympics had a greater effect;Williams, p. 64. another campaign from within South Africa and the consequent change in international opinion resulted in South Africa being barred from the 1964 Olympics and those that followed.Oborne, pp. 119–22.

In 1966, before a tour by the New Zealand rugby team, the South African government asked New Zealand to field an all-white team (thereby excluding Māori players); the New Zealand Rugby Football Union refused and cancelled the tour.Fraser-Sampson, Chapter 5, Location 976. As rugby was very popular among white South Africans, this caused concern in that community.Williams, p. 64. The England cricket team was in New Zealand at the time, and Billy Griffith, by then the secretary of the MCC, when questioned said that the MCC would also cancel in similar circumstances.Oborne, p. 134. Despite these events in other world sports, South Africa continued to play international cricket.Quelch, "The Tribe that Lost its Head", Location 4330. Efforts to put pressure on the International Cricket Conference (ICC) failed, and even when South Africa withdrew from the Commonwealth in 1961 (theoretically forfeiting the national team's Test status), their traditional opponents continued to play official Tests against them despite opposition from India, Pakistan and the West Indies.Oborne, pp. 123–24.

Basil D'Oliveira Basil D'Oliveira was born in Cape Town in 1931 and, coming from a mixed Indian-Portuguese background, formed part of the Cape Coloured community. He demonstrated skill in cricket from an early age, but as the apartheid system classified him as non-white, he was barred from playing first-class cricket in South Africa or representing the national team.Oborne, pp. 24–26. He represented and captained a "non-white" South African team which played unofficial international matches. He was left distraught by the cancellation in 1959, at the behest of South African anti-apartheid campaigners, of a proposed visit by a West Indies team which was to compete against non-white sides. Realising that he had achieved all he could as a non-white sportsman in South Africa, he wrote to John Arlott in England to ask for help finding employment as a cricketer.