The Sri Lankan cricket team toured South Africa from 9 December 2011 to 22 January 2012. The tour included three Tests and five One Day Internationals (ODIs) between Sri Lanka and South Africa.

The Test series was won by South Africa, 2–1. South Africa won the first Test in Centurion and Sri Lanka won the second in Durban, before South Africa won the third and deciding Test at Newlands, Cape Town, played from 3 to 6 January 2012. It was the first time that South Africa had won a Test series played in South Africa since 2008. AB De Villiers was the man of the series, scoring 353 runs at an average of 117.66.In the second test Sri Lanka won its first ever test match on South African soil.

South Africa won the ODI series 3–2. De Villiers, the newly appointed South African ODI captain, was again the man of the series with 329 runs at an average of 109.66.

Squads

TestsLimited overs South Africa v Sri Lanka – South Africa Squad South Africa v Sri Lanka – Sri Lanka Test Squad South Africa V Sri Lanka – South Africa ODI Squad South Africa V Sri Lanka – Sri Lanka ODI Squad Graeme Smith (c) AB de Villiers Hashim Amla Mark Boucher (wk) Dale Steyn Marchant de Lange Imran Tahir Jacques Kallis Morné Morkel Alviro Petersen Vernon Philander Ashwell Prince Jacques Rudolph Tillakaratne Dilshan (c) Angelo Mathews Dinesh Chandimal (wk) Nuwan Pradeep Dilhara Fernando Rangana Herath Mahela Jayawardene Dimuth Karunaratne Ajantha Mendis Tharanga Paranavitana Thisara Perera Thilan Samaraweera Kumar Sangakkara Kaushal Silva Lahiru Thirimanne Chanaka Welegedara Suranga Lakmal AB de Villiers (c, wk) Hashim Amla (vc) Johan Botha JP Duminy Faf du Plessis Jacques Kallis Rory Kleinveldt Albie Morkel Morné Morkel Wayne Parnell Robin Peterson Graeme Smith Dale Steyn Lonwabo Tsotsobe Tillakaratne Dilshan (c) Angelo Mathews (vc) Dinesh Chandimal Dilhara Fernando Rangana Herath Mahela Jayawardene Kosala Kulasekara Nuwan Kulasekara Lasith Malinga Ajantha Mendis Thisara Perera Dhammika Prasad Kumar Sangakkara (wk) Upul Tharanga Lahiru Thirimanne

Tour matches

First-class: South African Invitation XI vs Sri Lankans

List A: Emerging Cape Cobras v Sri Lankans

Test Series

1st Test

After winning the toss and electing to field, South Africa's opening bowlers struck early, with Dale Steyn and Vernon Philander taking the wickets of Tillakaratne Dilshan and Kumar Sangakkara respectively. Sri Lanka's other batsmen—Tharanga Paranavitana, Mahela Jayawardene, Thilan Samaraweera and Angelo Mathews—each made starts but were dismissed in their thirties. Sri Lanka lost their final six wickets for just 24 runs, being bowled out for 180 just before tea on the first day. Philander took five wickets, becoming only the fifth bowler in history to take five wickets in an innings in each of his first three Tests. Steyn took four wickets for 18 runs.

By the end of the first day, South Africa had reached 90 runs, half of Sri Lanka's first innings total, for the loss of one wicket, and captain Graeme Smith had scored a half-century. They continued to bat for the whole of the second day, sitting at 9/389 at stumps. South Africa's top scorer was AB de Villiers, who was controversially dismissed on 99 runs. Substitute fieldsman Dimuth Karunaratne claimed to have caught him at backward point, although replays showed the ball may have hit the ground before sliding into his fingers. De Villiers elected to accept Karunaratne's word and, one run short of his 13th Test century, decided against referring the dismissal for a video review.

On the third morning of the match, Mark Boucher and Imran Tahir enjoyed a final-wicket partnership that took South Africa to 411 runs, a lead of 231, with Boucher finishing on 65. South Africa's bowlers proceeded where they left off after the first innings, bowling Sri Lanka out within 40 overs, for just 150. Philander took another five wickets, giving him ten for the match, and was named player of the match. South Africa won by an innings and 81 runs.

2nd Test

Sri Lanka called up 22-year-old wicketkeeper-batsman Dinesh Chandimal to make his Test debut, replacing Kaushal Silva. In-form bowler Vernon Philander withdrew from South Africa's team due to injury. In his place, 21-year-old fast bowler Marchant de Lange made his debut.

De Lange made an instant impact. After Sri Lanka won the toss and decided to bat, he took seven wickets, including those of Kumar Sangakkara, for a duck, and Thilan Samaraweera, who top-scored for Sri Lanka with 102. De Lange's figures of 7/81 were the best for any bowler in Test cricket in 2011. Chandimal also enjoyed a successful first innings of Test cricket, scoring 58 in Sri Lanka's total of 338.

In response, South Africa were dismissed within the second day for a total of 168, only narrowly avoiding being asked to follow on. Pace bowler Chanaka Welegedara took five wickets and spinner Rangana Herath took four. Hashim Amla was the only South African batsman to score a half-century, with 54. Sri Lanka pressed their advantage batting on the third day of the Test. Sangakkara, at the time the top-ranked Test batsman in the world, scored his 28th Test century, making 108, while Chandimal (54) scored his second half-century of the match. Dale Steyn took five wickets as Sri Lanka were bowled out on the fourth morning of the match for 279.

South Africa needed 450 in the fourth innings to win the match, and fell well short of the target, being bowled out on the fourth day for 241. For the first time in 149 Tests, Jacques Kallis was dismissed for a pair (a duck in each innings). Herath took Kallis' wicket and four others, finishing with five for the innings and nine for the match to claim the "player of the match" award. AB de Villiers was South Africa's top scorer with 69; Amla scored his second half-century of the match, with 51. Sri Lanka's win levelled the series 1–1. It was their first Test win in 18 months, and their first in South Africa.

3rd Test

South Africa's underperformance in the second Test caused their team selectors to drop batsman Ashwell Prince. He was replaced by Alviro Petersen, the 31-year-old Highveld Lions captain, recalled to the side to play in his tenth Test. Petersen was selected to open the batting, relegating Jacques Rudolph to occupy Prince's position at number six in South Africa's line-up. Vernon Philander returned to the team after recovering from the injury that kept him out of the second Test, replacing Marchant de Lange despite de Lange's impressive debut. Sri Lanka replaced injured bowler Dilhara Fernando with Dhammika Prasad, and dropped opener Tharanga Paranavitana for Lahiru Thirimanne.

Sri Lanka won the toss and elected to bowl, a decision called into question when South Africa ended the first day at 3/347. Prasad took the early wickets of Graeme Smith and Hashim Amla, but then followed large partnerships between Petersen and Jacques Kallis, and Kallis and AB de Villiers. On the second day of the Test, South Africa reached 4/580, declaring before the tea break. Kallis scored 224, de Villiers was not out on 160, and Petersen had scored a century upon his recall to the team, with 109. Kallis' double century was his second in Test cricket. It was Kallis' 150th Test; he became the sixth player in history and the first South African to reach the milestone.

South Africa then proceeded to bowl Sri Lanka out twice. First, they were bowled out for 239, after which South Africa enforced the follow on. Needing 341 to avoid an innings defeat and force South Africa to bat again, Sri Lanka reached 342 after a century to Thilan Samaraweera (115 not out). Needing just two runs to win, Alviro Petersen hit the winning run off a Prasad no-ball on the Test's fourth day. South Africa thus won the series 2–1, their first series win at home since 2008. It was Sri Lanka's fourth defeat out of the four Test series they had ever played in South Africa. Kallis was named the player of the match; de Villiers was the player of the series, scoring 353 runs at an average of 117.66.

Statistics

Test Statistics Tests Runs Wickets Tests Runs Wickets Graeme Smith (c) 3 118 0 Tillakaratne Dilshan (c) 3 146 2 AB de Villiers 3 353 Angelo Mathews 3 140 1 Hashim Amla 3 139 Dinesh Chandimal 2 148 Mark Boucher (wk) 3 75 Dilhara Fernando 2 7 3 Dale Steyn 3 72 14 Rangana Herath 3 76 10 Marchant de Lange 1 9 8 Mahela Jayawardene 3 132 Imran Tahir 3 40 10 Tharanga Paranavitana 2 57 Jacques Kallis 3 255 3 Thisara Perera 3 81 5 Morné Morkel 3 9 8 Thilan Samaraweera 3 339 0 Alviro Petersen 1 110 Kumar Sangakkara (wk) 3 180 Vernon Philander 2 4 16 Kaushal Silva 1 17 Ashwell Prince 2 57 Lahiru Thirimanne 1 53 Jacques Rudolph 3 124 Chanaka Welegedara 3 50 9 Dhammika Prasad 1 25 2

ODI Series

1st ODI

The first of the five matches in the ODI series, held at Boland Park, Paarl, marked the debut of AB de Villiers as South Africa's captain in the format. De Villiers succeeded Graeme Smith after the 2011 World Cup, although Smith remained in the team as a batsman.

De Villiers won the toss, decided to bat, and his team responded by piling on 301 runs for the loss of eight wickets. His vice-captain Hashim Amla top scored with 112 off 128 balls; it was Amla's ninth ODI century, underlining his position as the International Cricket Council's top-ranked batsman in the format. Jacques Kallis (72) and de Villiers (52) each scored half-centuries before the team's progress was halted by a late run of wickets taken by Lasith Malinga. Malinga finished South Africa's innings with figures of 5/53, his fifth five-wicket haul in ODIs.

In response, Sri Lanka—who just nine months earlier had been World Cup finalists—collapsed to be all out for 43 runs off barely 20 overs. Four players made ducks, including both opening batsman, Tillakaratne Dilshan and Upul Tharanga. Sri Lanka's leading batsman, Kumar Sangakkara and Mahela Jayawardene also failed, out for four and two respectively. Kosala Kulasekara's 19 was the only Sri Lankan innings to reach double figures. Morné Morkel took four wickets and was named man of the match, Lonwabo Tsotsobe took three. South Africa's 258-run winning margin was the third highest in the history of ODI cricket. It was Sri Lanka's largest ever defeat and South Africa's largest ever win, while Sri Lanka's 43 runs was the lowest score in their history. Sri Lanka's captain Dilshan said after the match that it was the "worst game of my career", and defended the exclusion of Thilan Samaraweera, the team's top batsman in the recently concluded Test series, from the ODI squad.

2nd ODI

Following their heavy defeat in the first ODI, Sri Lanka made two changes to their team enforced due to injury. Rangana Herath replaced fellow spinner Ajantha Mendis, while pace bowler Dhammika Prasad was called up to play in the place of Dilhara Fernando. South Africa made no changes to their team.

After being sent into bat, Sri Lanka started slowly, scoring 37 runs off the first 15 overs for the loss of two wickets. Upul Tharanga and Dinesh Chandimal combined for a third wicket partnership of 84, before Tharanga was caught behind off Morné Morkel's bowling for 66. Chandimal went on to make 92 not out, and Sri Lanka completed its 50 overs on the score of 6/236. Morkel and Lonwabo Tsotsobe took two wickets each for South Africa.

South Africa started their innings comparatively quickly, reaching 0/75 after their first 15 overs. From there, starts to all their specialist batsman (none scored less than 17) ensured they reached Sri Lanka's target with eight balls to spare. Hashim Amla followed up his century in the first match of the series with a half-century (55 off 58 balls), while JP Duminy top scored and won the man of the match award, with 66 not out off 87 balls.

3rd ODI