Rahim retained the vice-captaincy for the home Test series against India in January and February 2010. On 21 January, in the fifth day of the first Test, he scored his maiden Test century and the fastest by a Bangladeshi in Test cricket, off only 112 balls as Bangladesh delayed an Indian victory, being the last man out as India won by 113 runs. England toured Bangladesh in February and March for two Tests and three ODIs, where Bangladesh lost all two formats. In the series, Rahim was his team's second-highest run-scorer. He scored two half-centuries in the first Test, becoming the 6th Bangladesh batsman to perform the feat.