In 2006 and 2007, Kaneria played 20 Test matches for Pakistan taking 77 wickets including a five-wicket haul against West Indies at Multan in November 2006. He did not play international cricket in 2008. During the last years of his Test career, Kaneria played an important role in Pakistan's Test wins over West Indies, England and India. In December 2009, he took seven wickets 168 in the first innings of the third Test match against New Zealand at the McLean Park, Napier. Pakistan managed to draw that game. This was his fourth seven-wicket haul in an innings.