Miller made his debut for Sunderland in a 2–1 win over Derby County on 9 September 2006 at Pride Park Stadium, and scored his first goal in the following game against former team Leeds on 13 September in a 3–0 win, shooting across the goalkeeper from 14 yards. On 6 January 2007, he was sent off by referee Iain Williamson in the 37th minute of an FA Cup third round match against Preston, after receiving his second yellow card for a foul on David Nugent; Sunderland went on to lose the match 1–0. Sunderland ended the season as league champions, returning to the Premier League.