Denny Hamlin earned his fifth pole position at Martinsville Speedway and 49th of his Cup Series career, tying him with NASCAR Hall of Famer Bobby Isaac for 10th all time.