Stenhouse, 35, grabbed the lead for the first time in the race with a shove from Kyle Larson in the first overtime but a wreck involving Austin Dillon and William Byron sent the race into a second two-lap overtime.
As second overtime began, Logano edged ahead of Stenhouse but a big push from Christopher Bell sent Stenhouse ahead of Logano as Travis Pastrana and Aric Almirola wrecked, which brought the caution back out.