Denny Hamlin led the way on the restart to the second overtime and quickly put some distance between himself and Elliott.
After taking the white flag, Elliott tried furiously to get alongside Hamlin by Hamlin edged him by 0.128 seconds to win Sunday’s Hollywood 400.
The win is Hamlin’s fifth of the 2019 season and 36th of his career and second at Kansas.
Kyle Busch finished third, Kurt Busch was fourth and William Byron completed the top-five.
Rounding out the top-10 were Martin Truex Jr., Erik Jones, Clint Bowyer, Kevin Harvick and Jimmie Johnson.
Three drivers advance to the semifinal round of the NASCAR Cup Series playoffs through wins – Hamlin, Kyle Larson and Ryan Blaney.
Joining them in the Round of 8 are Truex, Harvick, Kyle Busch, Joey Logano and Elliott, who edged Brad Keselowski by three points for the final spot.