AB de Villiers vs James Anderson (Test): 210 runs off 427 balls, out 3 times (SR 49.18, dot% 75.90, 28×4, 0×6).
| Balls | 427 |
| Runs | 210 |
| Dismissals | 3 |
| Strike rate | 49.18 |
| Dot % | 75.90 |
| Boundary % | 6.60 |
| Fours | 28 |
| Sixes | 0 |
| 2005 | 21 | 6 | 0 | 28.57 |
| 2008 | 211 | 113 | 0 | 53.55 |
| 2009 | 58 | 36 | 0 | 62.06 |
| 2010 | 38 | 19 | 1 | 50.0 |
| 2012 | 65 | 19 | 1 | 29.23 |
| 2016 | 34 | 17 | 1 | 50.0 |
| Headingley, Leeds | 128 | 63 | 0 | 49.21 |
| Lord's, London | 73 | 21 | 1 | 28.76 |
| The Wanderers Stadium, Johannesburg | 50 | 13 | 0 | 26.0 |
| Kennington Oval, London | 48 | 42 | 0 | 87.5 |
| Newlands, Cape Town | 41 | 29 | 1 | 70.73 |
| Kingsmead, Durban | 30 | 16 | 0 | 53.33 |
| SuperSport Park, Centurion | 30 | 20 | 1 | 66.66 |
| Edgbaston, Birmingham | 27 | 6 | 0 | 22.22 |
AB de Villiers has scored 210 runs off 427 balls against James Anderson in Test cricket (strike rate 49.18, average 70).
James Anderson has dismissed AB de Villiers 3 time(s) in Test cricket (caught ×2, lbw ×1).
AB de Villiers has hit 0 six(es) and 28 four(s) off James Anderson in Test cricket.
In 2010-2016: 55 runs off 137 balls, 3 dismissal(s), strike rate 40.15.