In September 2007, Mahendra Singh Dhoni was named as the new captain of the ODI and T20I teams, after Dravid stepped down from the post. Soon after taking up the captaincy, Dhoni led the team to the inaugural World Twenty20 title. Anil Kumble was appointed Test captain in November 2007, but retired from international cricket in November 2008 after captaining in 14 Tests. Dhoni succeeded him as the Test captain, making him the captain in all formats. Under the captaincy of Dhoni, the Indian team held the number one position in the Test rankings for 21 months (from November 2009 to August 2011), and set a national record for most back-to-back ODI wins (nine straight wins). Dhoni also led the team to victory in 2011 Cricket World Cup and 2013 ICC Champions Trophy. Thus, Dhoni became the first captain in history to win all three major ICC trophies, namely- ICC Cricket World Cup in 2011, ICC World Twenty20 in 2007 and ICC Champions Trophy in 2013. He is widely regarded as India's best ever captain. However, the team performed poorly in away Tests from 2011 to 2014 and Dhoni retired from Test cricket in December 2014, with Virat Kohli being named as the new Test captain. Dhoni resigned as captain of the ODI and T20 teams in January 2017 and Kohli succeeded him at the position.
If a fielder is injured or becomes ill during a match, a substitute is allowed to field instead of him, but the substitute cannot bowl or act as a captain. The substitute leaves the field when the injured player is fit to return. The Laws of Cricket were updated in 2017 to allow substitutes to act as wicket-keepers, a situation that first occurred when Mumbai Indians' wicket-keeper Ishan Kishan was injured in a match on 18 April 2018.
At the end of the 2004 season, India suffered from lack of form and fitness from its older players. A defeat in a following home Test series against Australia was followed by an ODI home series defeat against Pakistan followed by a Test series levelled 1–1. Greg Chappell took over from John Wright as the coach of the Indian cricket team following the series, and his methods proved to be controversial during the beginning of his tenure. The tension resulted in a fallout between Chappell and Ganguly, resulting in Rahul Dravid being made captain. This triggered a revival in the team's fortunes, following the emergence of players like Mahendra Singh Dhoni, Suresh Raina, and the coming of age of players like Irfan Pathan and Yuvraj Singh. A thumping home series victory over Sri Lanka in 2005 and a drawn series with South Africa put India at second place in the ICC ODI rankings. Dravid, Tendulkar and Virender Sehwag were selected to play for the ICC World XI in the 2005 "SuperTest" against Australia. A convincing ODI series win in Pakistan in early 2006, following a loss in the Test series, gave India the world record of 17 successive ODI victories while batting second. Towards the middle of 2006, however, a 4–1 series loss in the West Indies gave rise to a slump in India's ODI form, while they achieved a 1–0 victory in the Test series that followed, giving them their first Test series victory in the Caribbean since 1971. India's ODI form slumped further with a disappointing performance in the 2006 Champions Trophy and a drubbing in the ODI series in South Africa. This was followed yet again by an initial good performance in the Tests, giving India its first Test match win in South Africa, although they went on to lose the series 2–1. This Test series was marked by Ganguly's comeback to the Indian team.