The Spurs blew a 16-point lead in the second half but Tony Parker helped right the ship, scoring eight of his 14 points in the fourth quarter.
The win was the eighth straight overall and fourth in a row on the road for the Spurs, who are on their annual Rodeo Road Trip.
Rodney Stuckey had 23 points and eight assists for Detroit, which has lost two straight games.
Attkisson leaves CBS News, reportedly over network's 'liberal bias'
LGBT community has 'bullied the American people': Bachmann