The 2017 Quaker State 400 presented by Advance Auto Parts was a Monster Energy NASCAR Cup Series race held on July 8, 2017 at Kentucky Speedway in Sparta, Kentucky. Contested over 274 laps extended from 267 laps due to overtime, on the 1.5-mile (2.4 km) speedway, it was the 18th race of the 2017 Monster Energy NASCAR Cup Series season.