Martin signed for former club Milton Keynes Dons on 12 May 2010 and was new manager Karl Robinson's first signing at the club.
He joined on 1 July 2010.
On 3 May 2016, Martin was named the club's Player of the Year for the 2015–16 season.

On 20 April 2017, after nine seasons and 339 appearances for the club, Martin announced that he would be leaving MK Dons at the end of the 2016–17 season.
Martin signed for former club Milton Keynes Dons on 12 May 2010 and was new manager Karl Robinson's first signing at the club. He joined on 1 July 2010. On 3 May 2016, Martin was named the club's Player of the Year for the 2015–16 season.
On 20 April 2017, after nine seasons and 339 appearances for the club, Martin announced that he would be leaving MK Dons at the end of the 2016–17 season.
David Martin (footballer, born 1986)