Juan Pablo Montoya was trying to hold off Harvick for his first win since 2010 when the caution came out with four laps remaining. It sent the race into two laps of overtime, and most of the field gave up track position to pit for tires.
Montoya came off pit road in sixth and Harvick was seventh for the restart. But Harvick rocketed through the field to snatch away the win.
Clint Bowyer was second, Joey Logano third, and Montoya settled for fourth.
Tony Stewart restarted in fifth, but was bumped out of the way by Kurt Busch and wound up 18th.