The 2010–11 Houston Rockets season was the 44th season of the franchise in the National Basketball Association (NBA), and the 40th based in Houston. This season was Yao Ming's last in the NBA as he played only 5 games because of recurring injuries that interrupted his career. Despite his injuries, he was selected to play in the 2011 NBA All-Star Game as a starter, but he was unable to participate. Yao would then retire during the 2011 NBA lockout after playing only nine seasons in the NBA.