On February 18, 2010, McGrady was dealt to the Knicks as part of a three-team trade involving Houston, New York, and Sacramento.
Two days later, he made his team debut, scoring 26 points in an overtime loss against the Thunder.
He would finish the season with averages of 9.4 points, 3.9 rebounds, and 3.7 assists in 26.1 minutes per game.
In 2010–11, he signed with the Detroit Pistons and averaged just 8 points per game, and in 2011–12, he signed with the Atlanta Hawks, averaging a career-low 5.3 points per game.

On October 9, 2012, McGrady signed a one-year deal with the Qingdao DoubleStar Eagles of the Chinese Basketball Association.
Qingdao finished the season in last place, with McGrady averaging 25 points, 7.2 rebounds, 5.1 assists, and 1.6 steals per game.
Shortly after the conclusion of the CBA campaign, he signed with the San Antonio Spurs in time for him to qualify for their playoff roster.
In 2015, McGrady's jersey number 1 was retired by Qingdao.
The Spurs eventually advanced to the 2013 NBA Finals, losing in seven games to the Miami Heat, which provided McGrady with the opportunity to play his first career postseason minutes outside of the first round.

On August 26, 2013, McGrady announced his retirement from the NBA on ESPN's First Take.
On February 18, 2010, McGrady was dealt to the Knicks as part of a three-team trade involving Houston, New York, and Sacramento. Two days later, he made his team debut, scoring 26 points in an overtime loss against the Thunder. He would finish the season with averages of 9.4 points, 3.9 rebounds, and 3.7 assists in 26.1 minutes per game. In 2010–11, he signed with the Detroit Pistons and averaged just 8 points per game, and in 2011–12, he signed with the Atlanta Hawks, averaging a career-low 5.3 points per game.
On October 9, 2012, McGrady signed a one-year deal with the Qingdao DoubleStar Eagles of the Chinese Basketball Association. Qingdao finished the season in last place, with McGrady averaging 25 points, 7.2 rebounds, 5.1 assists, and 1.6 steals per game. Shortly after the conclusion of the CBA campaign, he signed with the San Antonio Spurs in time for him to qualify for their playoff roster. In 2015, McGrady's jersey number 1 was retired by Qingdao. The Spurs eventually advanced to the 2013 NBA Finals, losing in seven games to the Miami Heat, which provided McGrady with the opportunity to play his first career postseason minutes outside of the first round.
On August 26, 2013, McGrady announced his retirement from the NBA on ESPN's First Take.
Tracy McGrady