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.
Penelope Cruz named 2013's 'Best Body' by Fitness magazine
Video of Victoria’s Secret models trying to 'twerk' hits Instagram