When Bangladesh toured England a few months later, he made his Test debut in the second Test, replacing the injured Tim Bresnan. After only scoring 5 runs in England's innings and an expensive first bowling spell, he took 3 wickets in 3 overs in his second spell as Bangladesh failed to reach the follow-on target. Pakistan toured England in July and Shahzad was included in England's 12-man squad for the first Test. A week before the match, he twisted his ankle whilst playing for Yorkshire. As he was still experiencing discomfort the day before the Test, England chose to play Tim Bresnan instead of Shahzad.