On July 6, 2017, Nowitzki re-signed with the Mavericks on a two-year, $10 million contract (with a team option on the second year). On February 5, 2018, in a 104–101 loss to the Los Angeles Clippers, Nowitzki became the sixth player in NBA history to reach 50,000 career minutes. On February 28, 2018, in a 111–110 overtime loss to the Oklahoma City Thunder, Nowitzki reached 31,000 career points. On March 17, 2018, in a 114–106 loss to the Brooklyn Nets, Nowitzki played in his 1,463rd game, moving past Kevin Garnett into fifth place in the NBA career list. He had season-ending ankle surgery on April 5 after appearing in 77 of the first 78 games. The Mavericks finished the season with a 24–58 record and missed the NBA Playoffs.