The loss dropped the Sonics to 7-0 for the first time in franchise history. The Pistons won for the fifth time in six games this season.
Rasheed Wallace finished with 15 points and seven rebounds for Detroit.
The Pistons led by 10 early in the fourth quarter, but Seattle tied it at 99-99 with 2:32 left to play.
Hamilton and Chauncey Billups both sank a pair of free throws in the closing minute to ice the victory for Detroit.
Swim Week Miami Beach 2014 [PHOTOS]