 On 5 November 2016, Duminy scored his fifth Test century during the first Test against Australia at Perth, in a partnership of 250 runs with Dean Elgar, at the time the second highest partnership for South Africa against Australia.In October 2017, Faf du Plessis suffered an injury during the third ODI against Bangladesh and ruled him out of the T20I series.Duminy replaced him as T20I captain for that series

In April 2019, he was named in South Africa's squad for the 2019 Cricket World Cup.